Taxonomy example searches

๐Ÿ“˜

Calling Taxonomy GraphQL API

The Taxonomy GraphQL API can be called using a POST call to the URL https://api.candid.org/taxonomy/graphql/. Requests must be authenticated via HTTP Header by passing the subscription key within Subscription-Key. The search query can be created by using the built-in query generator on the Taxonomy API docs page.

Search by PCS term name

Return PCS codes that exactly match the searched name (e.g. "children and youth") within a given facet (e.g. population). This search includes the parent of the code, as well as up to three possible levels of child codes.

query {
  termsByName(pcsNames:[{facet: POPULATION, name: "children and youth"}]) {
    meta {
        code
        message
        resultsCount
        took
    }
    data {
      ...term
      parents{
        ...term
      }
      children{
        ...term
        children{
            ...term
            children{
                ...term
            }
        }
      }
    }
  }
}

fragment term on Term {
  code
  name
  description
  facet
  depth
  hasChildren
}

{
    "data": {
        "termsByName": {
            "meta": {
                "code": 200,
                "message": "Success",
                "resultsCount": 1,
                "took": 643
            },
            "data": [
                {
                    "code": "PA010000",
                    "name": "Children and youth",
                    "description": "Young people from birth to 18 years of age.",
                    "facet": "POPULATION",
                    "depth": 1,
                    "hasChildren": true,
                    "parents": [
                        {
                            "code": "PA000000",
                            "name": "Age groups",
                            "description": "People categorized by age. The age ranges provided are the ones considered by Foundation Center to be fairly common and sensible ranges associated with each term, but other organizations associate quite different ranges with some of the terms.",
                            "facet": "POPULATION",
                            "depth": 0,
                            "hasChildren": true
                        }
                    ],
                    "children": [
                        {
                            "code": "PA010400",
                            "name": "Adolescents",
                            "description": "Young people from 13 to 18 years of age.",
                            "facet": "POPULATION",
                            "depth": 2,
                            "hasChildren": false,
                            "children": []
                        },
                        {
                            "code": "PA010200",
                            "name": "Children",
                            "description": "Young people from 3 to 9 years of age.",
                            "facet": "POPULATION",
                            "depth": 2,
                            "hasChildren": false,
                            "children": []
                        },
                        {
                            "code": "PA010100",
                            "name": "Infants and toddlers",
                            "description": "Young people from birth to 2 years of age.",
                            "facet": "POPULATION",
                            "depth": 2,
                            "hasChildren": false,
                            "children": []
                        },
                        {
                            "code": "PA010300",
                            "name": "Preteens",
                            "description": "Young people from 10 to 12 years of age.",
                            "facet": "POPULATION",
                            "depth": 2,
                            "hasChildren": false,
                            "children": []
                        }
                    ]
                }
            ]
        }
    }
}

Search by PCS code

Return PCS codes based on the alphanumeric code (e.g. "SE000000") within a given facet (e.g. subject). This search includes the parent of the code, as well as up to three possible levels of child codes.

query {
  termsByCode (pcsCodes:[{code:"SE000000", facet: SUBJECT}]) {
    meta {
        code
        message
        resultsCount
        took
    }
    data {
      ...term
      parents{
        ...term
      }
      children{
        ...term
        children{
            ...term
            children{
                ...term
            }
        }
      }
    }
  }
}

fragment term on Term {
  code
  name
  description
  facet
  depth
  hasChildren
}
{
    "data": {
        "termsByCode": {
            "meta": {
                "code": 200,
                "message": "Success",
                "resultsCount": 1,
                "took": 859
            },
            "data": [
                {
                    "code": "SE000000",
                    "name": "Health",
                    "description": "Promotion and protection of the physical and mental well-being of people through medical care and treatment; assessment and amelioration of social, environmental, and biomedical factors affecting that well-being; research into various diseases and in various disciplines; and education and prevention activities that increase people's own efforts at protecting public health.",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true,
                    "parents": [],
                    "children": [
                        {
                            "code": "SE150000",
                            "name": "Diseases and conditions",
                            "description": "Service, education and research related to a particular disease, condition or disability, or group of diseases, conditions or disabilities. Also included are support agencies and programs active in the prevention or treatment of diseases and disorders.",
                            "facet": "SUBJECT",
                            "depth": 1,
                            "hasChildren": true,
                            "children": [
                                {
                                    "code": "SE150200",
                                    "name": "Brain and nervous system disorders",
                                    "description": "Programs of service, education and research on prevention or treatment of diseases or conditions, including brain injuries, that affect the brain. For organizations representing neurologists or others in the neurosciences, use Neurology.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE150202",
                                            "name": "ALS",
                                            "description": "Amyotrophic lateral sclerosis (ALS), often referred to as Lou Gehrig's disease, is a progressive neurodegenerative disease that affects nerve cells in the brain and the spinal cord. Motor neurons reach from the brain to the spinal cord and from the spinal cord to the muscles throughout the body.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE150201",
                                            "name": "Alzheimer's Disease and other forms of dementia",
                                            "description": "Programs of service, education and research on prevention or treatment of Alzheimer's disease or other forms of dementia.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE150203",
                                            "name": "Autism",
                                            "description": "Programs of service, education and research on prevention or treatment of autism, a developmental disability, usually evident by age three, which affects a child's ability to communicate, understand language, play and relate to others.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE150204",
                                            "name": "Cerebral palsy",
                                            "description": "Programs of service, education and research on prevention or treatment of cerebral palsy, a central nervous system impairment that is characterized by an inability to fully control motor function.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE150205",
                                            "name": "Epilepsy",
                                            "description": "Programs of service, education and research on prevention or treatment of epilepsy, a recurrent paroxysmal disorder of cerebral function that is characterized by sudden brief interruptions in or complete loss of consciousness, motor activity and/or sensory phenomena.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE150209",
                                            "name": "Meningitis",
                                            "description": "Programs of service, education and research on prevention and treatment of Meningitis, a potentially fatal inflammation of the protective membranes covering the brain and spinal cord.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE150206",
                                            "name": "Multiple sclerosis",
                                            "description": "Programs of service, education and research on prevention or treatment of multiple sclerosis and other related conditions affecting the central nervous system.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE150208",
                                            "name": "Parkinson's disease",
                                            "description": "Programs of service, education and research on prevention or treatment of Parkinson's Disease, a chronic progressive nervous disease chiefly of later life that is marked by tremor and weakness of resting muscles.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE150207",
                                            "name": "Spinal cord injuries and diseases",
                                            "description": "Programs of service, education and research on prevention or treatment of diseases or disorders affecting the spinal cord and its associated nerves.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE151500",
                                    "name": "Cancers",
                                    "description": "Programs of service, education and research on prevention or treatment of cancer. Use this term to indicate a wide variety of forms of cancer, or forms of cancer other than leukemia. The associated medical specialty is medical oncology, a subspecialty of internal medicine.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE151501",
                                            "name": "Breast cancer",
                                            "description": "Prevention or treatment of cancer of the breast.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE151506",
                                            "name": "Colorectal cancer",
                                            "description": "A digestive system cancer that starts in the colon or the rectum. Colon cancer and rectal cancer have many features in common. Symptoms may include blood in the stool, changes in bowel movements, weight loss, and chronic fatigue. Most colorectal cancers develop due to aging and/or lifestyle factors, with a much smaller number of cases due to inherited genetic disorders. Diagnosis may be obtained through colonoscopy or sigmoidoscopy. Use For: Colon cancer; Rectal cancer; Bowel cancer; Intestinal cancer. For Anal cancer, use Cancer.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE151502",
                                            "name": "Leukemia",
                                            "description": "Programs of service, education and research on prevention or treatment of leukemia, a form of cancer that affects the white blood cells.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE151505",
                                            "name": "Lung cancer",
                                            "description": "Lung cancer is a malignant lung tumor characterized by uncontrolled cell growth in tissues of the lung. Left untreated, the growth will spread beyond the lung by process of metastasis into nearby tissue or other parts of the body. Use For: Pulmonary carcinoma; Carcinoma of the lung; Lung carcinoma; Small-cell lung carcinoma; Non-small-cell lung carcinoma; Lung carcinoid tumors; Bronchogenic carcinoma.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE151503",
                                            "name": "Pancreatic cancer",
                                            "description": "Prevention or treatment of cancer of the pancreas.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE151504",
                                            "name": "Prostate cancer",
                                            "description": "Prevention or treatment of cancer of the prostate (specific to males).",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE150300",
                                    "name": "Digestive system diseases",
                                    "description": "Programs of service, education and research on prevention or treatment of diseases and conditions such as abdominal pain, ulcers, diarrhea, cancer or jaundice that affect the digestive system including the stomach, bowels, liver, gallbladder and related organs. The related medical specialty is gastroenterology, a subspecialty of internal medicine.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE150301",
                                            "name": "Celiac disease",
                                            "description": "Prevention or treatment of Celiac disease, an autoimmune disorder of the small intestine in genetically predisposed people, which is caused by a reaction to gliadin (a gluten protein found in wheat and grains).",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE150302",
                                            "name": "Crohn's disease and colitis",
                                            "description": "Prevention or treatment of Crohn's disease, a type of chronic inflammatory bowel disease that may affect any part of the gastrointestinal tract from mouth to anus. Crohn's disease also cause complications such as anemia, skin rashes, arthritis and fatigue. Treatments include modifying lifestyle, medications and surgery. Colitis is an inflammation of the colon that can be chronic or acute.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE150303",
                                            "name": "Irritable bowel syndrome",
                                            "description": "Prevention or treatment of Irritable Bowel Syndrome (IBS), a functional gastrointestinal (GI) disorder. IBS is a symptom based diagnosis characterized by chronic abdominal pain, discomfort, bloating and changes of bowel habits. Treatments to relieve symptoms include dietary adjustments, medication and psychological interventions.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE150304",
                                            "name": "Liver diseases",
                                            "description": "Programs of service, education and research on prevention or treatment of diseases or conditions that affect the liver.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE150400",
                                    "name": "Ear, nose and throat diseases",
                                    "description": "Programs of service, education and research on prevention or treatment of diseases or conditions that affect the head and neck including the ears, the respiratory and upper alimentary systems, the face, the jaws and related structures. The related medical specialty is otolaryngology.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE150600",
                                    "name": "Endocrine, nutritional and metabolic diseases",
                                    "description": "Prevention or treatment of disorders of the endocrine system, metabolic disorders (such as diabetes) and nutritional disorders.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE150601",
                                            "name": "Diabetes",
                                            "description": "Programs of service, education and research on prevention or treatment of diabetes, a disorder in which the pancreas produces too little insulin, with the result that the body is unable to adequately metabolize sugar.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE150602",
                                            "name": "Malnutrition",
                                            "description": "Prevention or treatment of conditions caused by a lack of essential nutrition due to disease, or dietary deprivation or over-abundance. Malnutrition is of special importance in pregnant women, children and the elderly.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE150500",
                                    "name": "Eye diseases",
                                    "description": "Programs of service, education and research on prevention or treatment of blindness and diseases or other conditions that affect the eyes. The associated medical specialty is ophthalmology. For social service organizations whose purpose is to promote the independence of blind/vision impaired people, use Special population support, and Population Group, People with vision impairments. See also Vision care.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE151400",
                                    "name": "Genetic conditions and birth defects",
                                    "description": "Programs of service, education and research on prevention or treatment of any of a number of illnesses or conditions that are hereditary and passed from parent to offspring. Use this term to indicate a wide variety of genetic disorders or on genetic disorders not broken out at a lower level.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE151401",
                                            "name": "Cystic fibrosis",
                                            "description": "Programs of service, education and research on prevention or treatment of cystic fibrosis, a hereditary disease that affects the pancreas, respiratory system, and sweat glands.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE151402",
                                            "name": "Down syndrome",
                                            "description": "Programs of service, education and research on prevention or treatment of Down Syndrome, a hereditary condition that results in mental retardation.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE151403",
                                            "name": "Hemophilia",
                                            "description": "Programs of service, education and research on prevention or treatment of hemophilia, a hereditary blood disease that is characterized by greatly prolonged coagulation time.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE150700",
                                    "name": "Heart and circulatory system diseases",
                                    "description": "Programs of service, education and research on prevention or treatment of diseases or conditions, including stroke, that affect the heart, lungs and blood vessels. The related medical specialty is cardiovascular medicine, a subspecialty of internal medicine.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE150800",
                                    "name": "Immune system diseases",
                                    "description": "Prevention or treatment of diseases of the immune system that cause abnormally low or high activity of the immune system.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE150801",
                                            "name": "HIV/AIDS",
                                            "description": "Programs of service, education and research on prevention or treatment of AIDS, a disease that impairs the functioning of the body's immune system, leaving affected individuals vulnerable to illnesses that would not otherwise occur. See Also: People with HIV/AIDS (Population Group).",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE151000",
                                    "name": "Infectious and parasitic diseases",
                                    "description": "Programs of service, education and research on prevention or treatment of diseases and disorders that are vector- or food-borne or transmitted from person to person; or that are caused by organisms like protozoa, worms, lice, fleas, ticks or other parasites that live within, upon or at the expense of the affected individual. See also Communicable disease control.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE151001",
                                            "name": "Cholera",
                                            "description": "Prevention or treatment of Cholera, an infection of the small intestine caused by bacterium Vibrio cholerae that is primarily transmitted via contaminated drinking water. Prevention of Cholera epidemics can include the administration of oral vaccines to create herd immunity within a population.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE151004",
                                            "name": "Ebola",
                                            "description": "Prevention, research and treatment of an infectious and generally fatal disease marked by fever and severe internal bleeding, spread through contact with infected body fluids by a filovirus (Ebola virus). Typically occurs in West Africa, and tropical regions of Sub-Saharan Africa.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE151002",
                                            "name": "Malaria",
                                            "description": "Prevention or treatment of Malaria, a mosquito-borne infectious disease that is prevalent in the tropical and subtropical regions. Malaria is caused by parasitic protozoans that travel through the blood to the liver, where they reproduce and can cause symptoms such as headaches and fever, sometimes leading to coma and death.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE151003",
                                            "name": "Tuberculosis",
                                            "description": "Prevention and treatment of Tuberculosis (TB), a common and often lethal infectious disease that typically attacks the lungs (but can also be extra-pulmonary). Tuberculosis is caused by various strains of mycobacteria and is treated using antibiotics.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE150900",
                                    "name": "Kidney diseases",
                                    "description": "Programs of service, education and research on prevention or treatment of diseases or conditions that affect the kidneys. The related medical specialty is nephrology, a subspecialty of internal medicine.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE151100",
                                    "name": "Mental and behavioral disorders",
                                    "description": "Preventive, diagnostic and treatment activities that focus on a particular mental health disorder. Use this term for programs that focus on disorders not broken out at a lower level or which deal with a multiplicity of disorders. Includes: Attention deficit/hyperactivity disorder (though this may be considered a neurological impairment and belong with a disability listing); Avoidant disorder of childhood/adolescence; Conduct disorders; Conversion disorder; Depersonalization disorder; Elective mutism; Identity disorder; Intermittent explosive disorder; Kleptomania; Multiple personalities; Obsessive-compulsive disorders; Oppositional disorder; Overanxious disorder; Panic disorders; Paranoid disorders; Personality disorders (there are many); Phobias; Psychogenic amnesia; Psychogenic fugue; Psychogenic pain disorder; Pyromania; Separation anxiety disorder; Sexual disorders (exhibitionism, fetishism, pedophilia, sexual/psychosexual dysfunction, sexual masochism, sexual sadism, voyeurism and zoophilia); and Somatization disorder.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE151101",
                                            "name": "Alcoholism",
                                            "description": "Programs of service, education and research on prevention or treatment of alcoholism, a chronic, progressively disabling and potentially fatal disease that is characterized by increased tolerance, physical dependence and pathological organ changes which are a result of alcohol consumption. Use this for Fetal alcohol syndrome; see also Substance abuse prevention and treatment.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE151102",
                                            "name": "Depression",
                                            "description": "Preventive, diagnostic and treatment activities that focus on individuals who have mental health disorders involving depression including bipolar disorder (manic-depression), cyclothymic disorder, major depression, postpartum depression, and seasonal affective disorder syndrome (SADS).",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE151103",
                                            "name": "Learning disorders",
                                            "description": "Activities of voluntary health organizations, support agencies and programs to prevent or treat learning disabilities, disorders of one or more of the basic psychological processes which are involved in understanding or using spoken or written language. These disorders may manifest themselves in an impaired ability to listen, think, read, write, spell or perform mathematical calculations.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE151104",
                                            "name": "Stress",
                                            "description": "Preventive, diagnostic and treatment activities that focus on individuals who have stress-related disorders such as post-traumatic stress syndrome.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE150100",
                                    "name": "Musculoskeletal diseases",
                                    "description": "Programs of service, education and research on prevention or treatment of diseases or conditions that affect the nerves, muscles or bones. Use this term for projects that focus on a wide variety of nerve, muscle and bone diseases or those not broken out at a lower level. The related medical specialty is orthopedic surgery. For organizations representing orthopedic surgeons, use Orthopedics.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE150101",
                                            "name": "Arthritis",
                                            "description": "Programs of service, education and research on prevention or treatment of arthritis (including osteoarthritis and rheumatoid arthritis), an inflammatory condition affecting the joints. The related medical specialty is rheumatology, a subspecialty of internal medicine, though rheumatology is broader and covers more conditions than arthritis.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE150102",
                                            "name": "Muscular dystrophy",
                                            "description": "Programs of service, education and research on prevention or treatment of muscular dystrophy, a familial disease that is characterized by absence of muscular development, first affecting the lower extremities. See also Genetic conditions and birth defects.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE151200",
                                    "name": "Respiratory system diseases",
                                    "description": "Programs of service, education and research on prevention or treatment of diseases or conditions that affect the lungs. The related medical specialty is pulmonary disease specialists.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE151201",
                                            "name": "Asthma",
                                            "description": "Programs of service, education and research on prevention or treatment of asthma, a disorder of the bronchial system that is characterized by labored breathing and wheezing.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE151202",
                                            "name": "Chronic obstructive pulmonary disease",
                                            "description": "Prevention or treatment of a lung disease that is defined by persistently inadequate airflow, which is due to the breakdown of lung tissue and dysfunction of the small airways.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE151203",
                                            "name": "Pneumoconiosis",
                                            "description": "Prevention or treatment of Pneumoconiosis, a restrictive lung disease that is an occupational disease caused by the inhalation of dust in the workplace. Pneumoconiosis leads to chronic shortness of breath. Pneumoconiosis can be given various names according to the type of dust that workers have inhaled. It is most common in miners and other workers exposed to particulates in the air due to their occupation.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE151300",
                                    "name": "Skin conditions",
                                    "description": "Programs of service, education and research on prevention or treatment of diseases or conditions that affect the skin. The related medical specialty is dermatology.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                }
                            ]
                        },
                        {
                            "code": "SE020000",
                            "name": "Health care access",
                            "description": "The ready availability of affordable, quality health and medical care, especially for those in remote areas (rural areas, Indian/Native American reservations, underserved urban areas and other locations without adequate health care services), those with language barriers (culturally sensitive health care) and those who cannot afford to pay for adequate care. Use For: Health care parity; Right to health care; Patient access; Health care expansion; Culturally-sensitive health care.",
                            "facet": "SUBJECT",
                            "depth": 1,
                            "hasChildren": false,
                            "children": []
                        },
                        {
                            "code": "SE030000",
                            "name": "Health care administration and financing",
                            "description": "The administration and management of health and medical care through insurance, other financing activities, technical assistance, services to patients and their families, and the study and practice of ethical behavior in medical care and research.",
                            "facet": "SUBJECT",
                            "depth": 1,
                            "hasChildren": true,
                            "children": [
                                {
                                    "code": "SE030100",
                                    "name": "Bioethics",
                                    "description": "Programs that promote the study or teaching of ethical issues involved in the practice of medicine or research including right-to-die issues, end-of-life decision-making, access to lifesaving procedures for people who are terminally ill, transplant ethics, implications of recent developments in genetic testing and genetic manipulation in humans, cloning and utilization of animals for research purposes. For efforts to influence public opinion or public policy on medical issues related to the civil liberties of individuals, it may be more appropriate to use Individual liberties; Right to die; Reproductive rights; Right to life; or Patients' rights.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE030200",
                                    "name": "Electronic health records",
                                    "description": "Health records in a digital format and/or a digital information system for storing, sharing and retrieving digital health records. Includes system creation and maintenance, as well as issues related to personal privacy and system security. Electronic health records can be used for research purposes as  source of anonymous data.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE030300",
                                    "name": "Health care financing",
                                    "description": "Activities that address the financing of health care other than health insurance or managed care, and efforts to contain the cost of health care.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE030400",
                                    "name": "Health care management",
                                    "description": "The leadership, management and administration of public and private health care systems, hospitals, hospital networks, and clinics. This includes the physical functioning and administration of institutions and networks, as well issues related to shaping public policy and best practices within institutions and networks.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE030500",
                                    "name": "Health insurance",
                                    "description": "Policies and programs which indemnify or reimburse policy holders for all or a portion of the cost of hospital or medical care or for lost income arising from an illness or injury. Includes dental insurance, hazardous occupations benefits, indemnity health plans, Medicare insurance supplements, long-term care insurance, and private disability insurance.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE030600",
                                    "name": "Managed care",
                                    "description": "A health care system or approach in which patients agree to visit only certain doctors and hospitals, and in which the cost of treatment is monitored and influenced by a managing company, i.e. a healthcare plan or system that seeks to control medical costs by contracting with a network of providers, requiring preauthorization for visits to specialists, and other strategies. Use For: HMOs (Health Maintenance Organizations), PPOs (Preferred Provider Organizations), ACOs (Accountable Care Organizations), MCOs (Managed Care Organizations), MSAs (Medical Savings Accounts), PSOs (Point of Service Organizations), PFFS (Private Fee for Service), and other forms of networked health care.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE031000",
                                    "name": "Medical counseling",
                                    "description": "Therapeutic counseling in support of patients undergoing treatment for diseases and patients experiencing illness, eases distress and provides spiritual and emotional support in coping with side effects, including insomnia, fatigue and pain, while helping patient to understand personal reactions to treatment.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE030800",
                                    "name": "Patient social services",
                                    "description": "Programs that provide social and recreational activities for people who are recovering from surgery or a serious illness to help them gain confidence and readjust to living and/or working in the community. Also included are programs that provide supportive services for children who are ill and for their families which enable family members to remain with a child who is hospitalized or which attempt to make a gravely or terminally ill child's final days, weeks and months more pleasant. Includes Make-a-Wish groups and patient/family housing programs such as Ronald McDonald House.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE030700",
                                    "name": "Patient-centered care",
                                    "description": "Health care services that assist patients and their families to navigate the health care system and allow them to take charge of their care and how it is to be administered. Included are assistance to develop written goals and objectives that relate to a recommended therapeutic regimen, medical procedures and self-care. Also included are medical social work services for patients and families during hospitalization and discharge which offer consultation and coordination of available services for the patient's continuing care at home or in a short- or long-term care facility.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE030900",
                                    "name": "Patients' rights",
                                    "description": "Work for passage and enforcement of laws and other social measures that protect and promote the rights and interests of patients of the health and medical care system.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                }
                            ]
                        },
                        {
                            "code": "SE010000",
                            "name": "Health care quality",
                            "description": "Health care quality is receiving the best possible care for an illness or condition including the avoidance of errors/mistakes, patient safety, respectful treatment by health care professionals and clear answers to questions about treatment. Use For: HCQ, Health care improvement. See Also: Patient-Centered care",
                            "facet": "SUBJECT",
                            "depth": 1,
                            "hasChildren": false,
                            "children": []
                        },
                        {
                            "code": "SE100000",
                            "name": "Holistic medicine",
                            "description": "A medical specialty and health care strategy that works to integrate the physical, mental, emotional, social and spiritual aspects of health, and focuses on education and responsibility for personal efforts to achieve balance and well-being. The term Alternative medicine is often used by the general public and some healthcare practitioners to refer to medical techniques which are not known or accepted by the majority of conventional or allopathic medical practitioners. Such techniques include non-invasive, non-pharmaceutical techniques such as Medical herbalism, Acupuncture, Homeopathy, Reiki, and many others. Alternative medicine can also refer to any experimental drug or non-drug technique that is not currently accepted by conventional medical practitioners. Most practitioners prefer the term Complementary medicine, which implies that these modalities should not be an alternative to, but rather an enhancement of conventional medicine. Other examples of alternative health care include: Acupressure; Biofeedback; Chiropractic; Herbal medicine; Iridology; Osteopathy; Reflexology; Spiritual healing (e.g., Christian Science practitioners); and Vitamin therapy.",
                            "facet": "SUBJECT",
                            "depth": 1,
                            "hasChildren": false,
                            "children": []
                        },
                        {
                            "code": "SE040000",
                            "name": "In-patient medical care",
                            "description": "The prevention and treatment of mental and physical disorders and disease by medical professionals and the facilities and organizations that provide access to prevention and treatment of these diseases and disorders.",
                            "facet": "SUBJECT",
                            "depth": 1,
                            "hasChildren": true,
                            "children": [
                                {
                                    "code": "SE040100",
                                    "name": "Burn care",
                                    "description": "Special facilities or services for people who have received second- and third-degree burns to exterior services of the body or to the respiratory tract that were caused by fire or excessive heat, flash explosions, hot steam or water, chemicals, electricity or radioactive substances or heat. Burn centers utilize a variety of equipment, including sterilized rooms which have specially purified air to prevent infection, special beds and mattresses, heat shields rather than blankets and hyperbaric oxygen chambers which use concentrated oxygen to speed healing and prevent infection.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE040200",
                                    "name": "Community health care",
                                    "description": "The provision of health care services through a variety of programs and facilities in the same community or region, often by management corporations and other entities that own and manage at least one, but typically multiple, hospitals or medical facilities.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE040300",
                                    "name": "Convalescent care",
                                    "description": "Nursing and personal care provided over an extended period of time (usually more than thirty days) for people who require a level of care less than that provided in an acute facility, and/or for chronically or disabled individuals. Includes intermediate care facilities, skilled nursing facilities and subacute care nursing facilities. Includes care for patients recovering from illness or medical procedures who have been discharged from hospital but need additional assistance or supervision before returning home. For residential nursing care for the elderly, use Nursing homes.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE040400",
                                    "name": "Hospital care",
                                    "description": "Health care services and facilities that are licensed to operate twenty-four hours per day and offer diagnostic and treatment services as well as emergency and critical care services for people who have any of a variety of illnesses or injuries which require immediate, short-term intervention.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE040404",
                                            "name": "Children's hospital care",
                                            "description": "Care provided in hospitals that provide  treatment specifically for children and that specialize in the prevention and treatment of childhood diseases and disorders.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE040401",
                                            "name": "Emergency care",
                                            "description": "Care provided in hospital emergency rooms, hospitals equipped for trauma care (those with trained trauma surgeons and anesthesiologists who are available on call twenty-four hours per day) and designated trauma centers which are equipped with licensed helicopter pads and trained trauma surgeons and anesthesiologists who are available in-house twenty-four hours per day. They deal with urgent, life threatening accidents and illness, both physical and mental. They are the first point of entry for medical emergencies and provide acute care, as well as performing triage and directing non-emergency medical patients to the appropriate medical department of the hospital.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE040402",
                                            "name": "Intensive care",
                                            "description": "Programs that make available lifesaving techniques and equipment to seriously ill patients who are gathered in special units or distinct parts of health care facilities and are under continuous observation by trained medical staff. Included are general intensive care units and specialized units such as cardiac intensive care and neonatal intensive care.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE040403",
                                            "name": "Specialty hospital care",
                                            "description": "Health care services or facilities like orthopedic hospitals or cancer treatment that provide diagnostic and treatment services on an inpatient basis for people who have specified medical conditions.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "code": "SE140000",
                            "name": "Medical specialties",
                            "description": "Projects that include or represent physicians who have special training and expertise in one clinical area of practice which focuses on a specific age group (e.g., geriatrics, pediatrics), an organ system of the body (e.g., internal medicine, obstetrics/gynecology) or complex scientific techniques developed to diagnose or treat certain types of disorders (e.g., nuclear medicine, radiology). Use this term for projects that represent a wide variety of medical disciplines or those that are not broken out at a lower level. These may include: Aerospace medicine;  Family practice (care for entire family unit); Nuclear medicine (therapeutic utilization of nuclear materials); Occupational medicine (occupational disease and injury); and Rheumatology (joints, muscles, bones and tendons).",
                            "facet": "SUBJECT",
                            "depth": 1,
                            "hasChildren": true,
                            "children": [
                                {
                                    "code": "SE140100",
                                    "name": "Biomedicine",
                                    "description": "A medical specialty that deal with the intersection of human medicine with fundamental biosciences and biotechnologies such as biochemistry, chemistry, biology, histology, genetics, embryology, anatomy, physiology, pathology, biomedical engineering, molecular medicine, zoology, botanics and microbiology. Work in this area can be used to improve the treatment and care options available to physicians.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE140200",
                                    "name": "Cardiology",
                                    "description": "A medical specialty that deals with the heart and its diseases.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE140300",
                                    "name": "Dermatology",
                                    "description": "A medical specialty that deals with the skin and its diseases,",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE140400",
                                    "name": "Diagnostic imaging",
                                    "description": "A medical specialty that deals with the therapeutic utilization of radiant energy and its modifiers in the study and management of disease. Practitioners use x-rays, MRIs, CAT scans, PET scans, and other methods of analysis and imaging of substances in vitro and in vivo for diagnosis and the administration of substances for the treatment of disease, especially malignant tumors.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE140500",
                                    "name": "Gastroenterology",
                                    "description": "A medical specialty that deals with the digestive system and its disorders. It is a subspecialty of internal medicine and includes the subspecialty of hepatology that deals specifically with the liver, pancreas and biliary tree.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE140600",
                                    "name": "Genetics",
                                    "description": "A discipline of biology that deals with the science of genes and heredity, Medical Genetics seeks to understand how genetic variation is related to health and disease, including the use of genetic markers as a diagnostic tool for the prevention and treatment of disease. Genome mapping is the creation of a genetic map that assigns DNA fragments to chromosomes, as well as identifying genetic elements that are responsible for or association with a specific disease.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE140700",
                                    "name": "Geriatrics",
                                    "description": "A medical specialty which provides preventive, diagnostic and treatment services for elderly individuals who have diseases or conditions that are associated with the aging process, and engages in the study of this process. Special assistance may include recognizing altered presentations of illnesses, dealing with multisystem organ involvement, handling special drug interactions, utilizing resources such as nursing homes and community social services, and assisting with ethical issues in the care of people who are elderly.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE140800",
                                    "name": "Hematology",
                                    "description": "A medical specialty that deals with the blood and blood-forming organs.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE140900",
                                    "name": "Immunology",
                                    "description": "A medical specialty that provides comprehensive preventive, diagnostic and treatment services for individuals who have diseases and conditions that arise as a result of malfunctioning immune systems. Immunology is a subspecialty of internal medicine.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE141000",
                                    "name": "Internal medicine",
                                    "description": "A medical specialty which provides comprehensive care for common and complex multisystem illnesses which affect the internal organs in ambulatory care as well as hospital settings. The American Board of Internal Medicine lists these subspecialties: cardiology, endocrinology, gastroenterology, hematology, infectious disease, medical oncology, nephrology, pulmonology, rheumatology, adolescent medicine, clinical cardiac electrophysiology, critical care medicine, geriatric medicine, interventional cardiology, hospital medicine, sleep medicine, sports medicine, transplant hepatology (also allergy and immunology). The American College of Osteopathic Internists also includes nuclear medicine as a subspecialty.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE141100",
                                    "name": "Neurology",
                                    "description": "A medical specialty which provides comprehensive medical management including preventive, diagnostic and treatment services for individuals who have diseases or injuries that affect the central, peripheral or autonomic nervous systems including the brain, cranial nerves, spinal cord, spinal nerves and other related structures. See also Brain and nervous system disorders.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE141200",
                                    "name": "Obstetrics and gynecology",
                                    "description": "Medical specialties that deal with childbirth and the diseases and routine physical care of the reproductive system of women.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE141300",
                                    "name": "Oncology",
                                    "description": "A medical specialty focused on the study, diagnosis and treatment of cancerous tumors. Oncology is a subspecialty of internal medicine",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE141400",
                                    "name": "Ophthalmology",
                                    "description": "A medical specialty that deals with the anatomy, physiology and diseases of the eye.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE141500",
                                    "name": "Orthopedics",
                                    "description": "A medical specialty dealing with the preservation, investigation and restoration of the form and function of the extremities, spine and associated structures by medical, surgical and physical means. Conditions treated by these orthopedic surgeons include congenital deformities, trauma, infections, tumors and metabolic disturbances of the musculoskeletal system including those that affect the spine, hands, feet, knees, hips, shoulders and elbows. Orthopedic surgery is a subspecialty of surgery.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE141600",
                                    "name": "Pathology",
                                    "description": "A medical specialty which studies changes in the structure and function of tissue and organs as a result of illness. Pathologists examine tissue removed during surgical procedures for evidence of disease and conduct postmortem examinations of cadavers to determine the cause of death.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE141700",
                                    "name": "Pediatrics",
                                    "description": "A medical specialty dealing with the biological, social and environmental factors that have an influence on a developing child and expertise in diagnosing and treating acute and chronic diseases that are common to individuals in this age range. Includes the following subspecialties: Adolescent medicine; Neonatal/perinatal medicine; Pediatric allergy; Pediatric cardiology; Pediatric endocrinology; Pediatric gastroenterology; Pediatric hematology/oncology; Pediatric immunological disorders; Pediatric infectious disease; Pediatric nephrology; Pediatric pulmonary disease; and Pediatric neurology.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE141800",
                                    "name": "Pharmacology",
                                    "description": "A medical specialty that deals with the science of drugs.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE141900",
                                    "name": "Psychiatry",
                                    "description": "A medical specialty associated with the study, diagnosis, treatment and prevention of mental disorders and physical abnormalities and injuries to the brain. This includes various affective, behavioral, cognitive and perceptual abnormalities. Psychiatry employs both pharmaceutical and behavioral and talk therapies to treat patients. Psychiatry overlaps with neurology/neuroscience, psychology, cognitive science and biochemistry.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE142000",
                                    "name": "Stem cell therapy",
                                    "description": "Projects in an intervention strategy using undifferentiated cells with the potential to develop specialized cells to treat disease or injury. Includes embryonic, fetal, adult and other types of stem cell treatments and therapeutics.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE142100",
                                    "name": "Surgery",
                                    "description": "A medical specialty which diagnoses conditions which require surgical intervention and provide preoperative, operative and postoperative care for surgical patients. The general surgeon has expertise in problems relating to the head, neck, breast, abdomen, extremities and the gastrointestinal, vascular and endocrine systems. Subspecialties include: Cardiothoracic surgery; Pediatric cardiothoracic surgery; Colon/rectal surgery; Neurosurgery; Orthopedic surgery (see Orthopedics); Pediatric orthopedics; Pediatric surgery; Plastic/reconstructive surgery; Trauma surgery; Urology and subspecialties: Gynecologic urology; and Pediatric urology; and Vascular surgery.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE142102",
                                            "name": "Organ transplantation",
                                            "description": "The use of surgery to transplant organs obtained from a living or deceased donor to a patient to restore normal or near-normal physical function.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE142101",
                                            "name": "Reconstructive surgery",
                                            "description": "The use of surgery to restore form or function of the body. Reconstructive surgery can be performed by surgeons in a wide variety of medical specialties and subspecialties, including general surgery, plastic surgery, otolaryngology, gynecology, pediatrics and podiatry.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE142200",
                                    "name": "Urology",
                                    "description": "A medical specialty that deals with the male and female urinary tract and the male reproductive organs.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                }
                            ]
                        },
                        {
                            "code": "SE110000",
                            "name": "Medical support services",
                            "description": "Design and provision of equipment, services or other forms of support which are supplemental to the treatment or rehabilitation of people who have illnesses, injuries or disabilities; or which are instrumental in the prevention of illnesses, injuries or disabilities prior to their occurrence. Use this term for organizations that provide a wide range of health supportive services or which offer services not broken out at a lower level. Included are organizations that provide medical equipment/supplies (e.g., incontinence supplies, medical dressing, apnea monitors, blood pressure monitors, heart monitors, ostomy supplies, respiratory aids, sickroom equipment and therapy beds).",
                            "facet": "SUBJECT",
                            "depth": 1,
                            "hasChildren": true,
                            "children": [
                                {
                                    "code": "SE110100",
                                    "name": "Blood banks",
                                    "description": "Acquisition, processing, typing, transport and storage of whole blood and blood products including red blood cells, white blood cells, platelets and plasma constituents for use by people who need transfusions; and pre-transfusion compatibility tests to ensure that blood transfusions, when necessary, are as safe as possible.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE110200",
                                    "name": "Emergency medical services",
                                    "description": "Activities outside of intensive care units and hospital emergency rooms that provide emergency care for people who have acute, life-threatening injuries or severe illnesses. And rapid transportation to health care facilities for accident victims and acutely ill or injured individuals who need immediate medical intervention both on the scene and en route. Included are EMTs (emergency medical technicians); mobile trauma units; paramedic services, ambulances, air ambulances and mercy flights by volunteer pilots who transport human organs and tissues for transplants; plasma or whole blood; mothers' milk; anatomical specimens for medical research; medical personnel, equipment and supplies; and, in instances of medical and financial need, individual patients who require services from health care facilities that they would be unable to access without assistance.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE110300",
                                    "name": "Home medical equipment",
                                    "description": "The provision of new or used medical equipment for long or short-term use by a patient at home.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE110400",
                                    "name": "Organ and tissue banks",
                                    "description": "Services and facilities that accept donated hearts, kidneys, livers, skin and other organs and tissue for use in transplant operations. Included are ear banks and eye banks.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE110500",
                                    "name": "Pharmacies",
                                    "description": "The practice of preparing, preserving, compounding and dispensing drugs in accordance with prescriptions prepared by licensed physicians. Also included are suppliers of medication such as insulin that has been prescribed as a part of an individual's treatment for an illness or injury when the individual is unable to purchase the medication for him- or herself.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE110600",
                                    "name": "Prosthetics",
                                    "description": "Artificial devices that replace a missing body part that has been lost through trauma, disease or a congenital condition. Modern prosthetics can range from a simple non-mechanical cosmetic replacement of a lost body part to a permanently attached artificial body part or a neural prosthetic, which is a fully functional robotic body part that is controlled via biosensors.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                }
                            ]
                        },
                        {
                            "code": "SE120000",
                            "name": "Mental health care",
                            "description": "Preventive, diagnostic and treatment services in a variety of community and hospital-based settings to help people to achieve, maintain and enhance a state of emotional well-being, personal empowerment and the skills to cope with everyday demands without excessive stress; to prevent or deal with the consequences of addiction; and to address emergencies or crises having to do with mental trauma or severe mental distress. Treatment may include emotional support, introspection and problem-solving assistance utilizing a variety of modalities and approaches, and medication, as needed, for individuals who range from the severely chronically mentally ill to those who are experiencing difficult life transitions or who are having problems in coping with daily living. Use this term for types of mental health care not specifically broken out at lower levels or for multiple types of care within the same program or facility. See also Art and music therapy. Examples include: Different types of therapies (dance, hypnotherapy, music, orthomolecular, play, poetry, recreation); Psychiatric occupational therapy; Psychiatric rehabilitation; Programs that feature a particular counseling approach (gestalt, Jungian); Supportive services for institutionalized individuals, e.g., pet visitation programs; Psychiatric day treatment; Mental health drop-in centers; Home-based psychiatric care; Community mental health education; Early intervention programs; Mental health evaluation; Psychiatric case management; Psychiatric central intake/assessment; Psychopharmacology/medication monitoring; and Therapist referrals. Also included are efforts to promote social conditions that enhance the potential in the community for good mental health and to improve methods and facilities for treating mental illness.",
                            "facet": "SUBJECT",
                            "depth": 1,
                            "hasChildren": true,
                            "children": [
                                {
                                    "code": "SE120500",
                                    "name": "Addiction services",
                                    "description": "Preventive, diagnostic and inpatient, outpatient and residential treatment services as well as transitional support for people who have a physical and/or psychological dependency on one or a combination of addictive substances including alcohol and/or drugs; or whose use of these substances has impaired their physical or mental health or their personal, social or occupational functioning. And counseling, medical treatment, and other supportive services for individuals who have a psychological dependency involving a particular pattern of behavior, e.g., eating, gambling, spending money, sexual compulsions and workaholic behavior. Use this term for providers of both substance abuse prevention and treatment services or those that offer other specified substance abuse services; and for addictive disorders not broken out at a lower level or for combinations of types of addictive disorders. Included may be: Primary recovery homes; Relapse prevention programs; Sober living centers; Supportive recovery homes. Very often used with Population Group, Substance abusers.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE120501",
                                            "name": "Eating disorders",
                                            "description": "Multidisciplinary programs, often offered on an inpatient basis with post-discharge outpatient therapy, that provide comprehensive diagnostic and treatment services for individuals who have anorexia nervosa, bulimarexia, bulimia or a related eating disorder. Treatment is individualized and involves a combination of techniques including individual psychotherapy, mutual support groups, medication, nutritional counseling, behavior modification and group or family therapy.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE120502",
                                            "name": "Smoking",
                                            "description": "Programs that utilize one or a variety of techniques including aversion therapy, hypnosis, acupuncture, acupressure, and individual and/or group therapy or mutual support groups to help people who wish to control their dependence on nicotine and give up cigarettes, cigars, pipe tobacco, chewing tobacco, snuff or other substances containing nicotine. Also included are smoking education/prevention programs that provide a variety of services including presentations in schools and agencies and to family groups regarding the dangers of smoking or utilizing other substances containing nicotine in an effort to prevent people from starting.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE120503",
                                            "name": "Substance abuse prevention",
                                            "description": "Any of a variety of services including individual, group and/or family counseling; knowledge and skill-enhancing activities; and structured groups which focus on family dynamics, problem-solving, self-esteem and other similar issues, for people of all ages who are at risk for substance abuse. Substance abuse education programs usually also offer presentations in schools and agencies and to family groups regarding the dangers of drug and/or alcohol abuse.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE120504",
                                            "name": "Substance abuse treatment",
                                            "description": "Any of a variety of treatment services for individuals who have a physical and/or psychological dependency on one or a combination of addictive substances including alcohol and/or drugs. Included may be: Central intake/assessment services; Detoxification services (inpatient, outpatient); Drug testing; Inpatient drug/alcohol abuse treatment; Antabuse programs; Drug/alcohol abuse counseling; Drug/alcohol abuse drop-in services; Drug/alcohol day treatment; Perinatal drug treatment; Residential drug/alcohol treatment; Drug/alcohol abuse crisis intervention; Substance abuse hotlines; and Substance abuse intervention programs.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE120200",
                                    "name": "Community mental health care",
                                    "description": "Community-based outpatient mental health care, often operated on contract with the city or county, that offer individual, group, conjoint and family counseling, therapy groups, medication and other mental health services for community residents, especially those who are indigent, who have acute or chronic mental or emotional disturbances or who may be experiencing difficulty resolving personal or interpersonal conflicts or making personal adjustments to stressful life situations such as separation, divorce, widowhood, loss of a child, poor health, unemployment, family violence, delinquency or substance abuse. For family service agencies that provide counseling, see also Family counseling.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE120600",
                                    "name": "Crisis intervention",
                                    "description": "Immediate assistance for people who are in acute emotional distress; who are a danger to themselves or to others; or who are hysterical, frightened or otherwise unable to cope with a problem that requires immediate action. The objective of crisis intervention is to defuse the critical nature of the situation, ensure the person's safety, and return the individual to a state of equilibrium in which he or she is capable of identifying and seeking solutions to the problem. Use this term for crisis intervention services or hotlines not broken out at a lower level or for organizations that offer multiple types of crisis intervention/hotline services. Included may be the following: Crisis houses; In-person crisis intervention; Involuntary psychiatric intervention; Psychiatric emergency rooms; and Mental health hotlines. For child abuse hotlines, use Child abuse. For battering hotlines, use Domestic violence. For substance abuse hotlines, use Substance abuse treatment. For suicide prevention hotlines, use Suicide crisis intervention.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE120602",
                                            "name": "Sexual assault victim services",
                                            "description": "Programs that provide telephone crisis intervention services or crisis, short-term and/or ongoing in-person counseling for people who are coping with the emotional trauma that is the result of sexual assault by an individual other than a spouse or other family member, and/or for their significant others. Hotline services may include steps to ensure the individual's safety; short-term emotional support; information regarding the person's rights and alternatives; and referrals and/or accompaniment to resources for medical, legal and emotional needs, advocacy and other related services. Counseling services may focus on adult or child sexual assault survivors and may be available through a variety of modalities including individual, conjoint, family and group therapy sessions for the survivor and/or significant others. Also included are other services related to sexual assault: support groups; counseling services for sexual assault survivors (individual and group); medical treatment for sexual assault; and rape evidence collection kits.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE120601",
                                            "name": "Suicide crisis intervention",
                                            "description": "Telephone crisis intervention services and/or counseling for individuals who are having suicidal feelings or for their significant others with the objective of exploring alternatives to self-harm or self-destruction. Suicide prevention workers establish and maintain contact with the individual while identifying and clarifying the focal problem, evaluate the suicidal potential, assess the individual's strengths and resources, and mobilize available resources including paramedic or police intervention and emergency psychiatric care as needed.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE120700",
                                    "name": "Mental health counseling",
                                    "description": "Treatment services which may include emotional support, problem-solving assistance, information and guidance through a variety of counseling modalities for individuals who are having difficulty in coping with a traumatic experience or a personal relationship or in making the adjustments that are required by their particular stage in life. Therapeutic sessions may be structured according to a variety of counseling modalities which may include individual, group, family or conjoint counseling, helpline counseling, peer counseling or therapeutic self-help materials Use this term for counseling that focuses on specific problems not broken out at a lower level or for counseling that focuses on multiple specific problems. Included may be individual or group counseling in the following areas: Adolescent/youth counseling; Anger management; Child guidance; Cult membership counseling; Gender identity counseling; Geriatric counseling; Health problems counseling; Holocaust counseling; Post-abortion counseling; Psychiatric disorder counseling; Sexual offender counseling; Sexual orientation counseling; Sexuality counseling; Terminal illness counseling; and Veteran reintegration counseling. For family service agencies that provide counseling, see Family counseling.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE120702",
                                            "name": "Bereavement counseling",
                                            "description": "Providing emotional support, problem-solving assistance, information and guidance for people who have recently lost a loved one. Included are counseling programs for widows and widowers, children who have lost a parent, parents who have lost a child and people who are in other similar situations. Includes mutual support groups that deal with bereavement.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE120701",
                                            "name": "Support groups",
                                            "description": "Support groups are a group of people with common experiences or concerns who provide each other with encouragement, comfort, and advice. Support groups are often patient-initiated and peer-led; and may take place outside of a formal \"counseling\" session led by a mental health professional. Support groups include a wide range of people and topics from alcohol/drug-related issues (Alcoholics Anonymous, Al-Anon, Narcotics Anonymous, etc.), to LGBT issues (Gay/same sex parenting, children of LGBT parents), to weight issues (Weight Watchers, Overeaters Anonymous, etc.), to survivors of abuse, to a range of relationship issues, etc. Use For: 12-step group; Encounter group; Support system; Self-help group.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE120100",
                                    "name": "Psychiatric care",
                                    "description": "Programs, often hospital-based, that provide diagnostic and treatment services for individuals who have acute or chronic mental or emotional disturbances, who require hospitalization on a voluntary or involuntary basis for maximum benefit, and who might be a threat to themselves, to their families or to others if left in the community or placed in a less restrictive treatment setting. The objective of inpatient mental health programs is to stabilize and return the individual to the community for ongoing treatment as quickly as possible, and to facilitate the transition by preparing the individual's family to cope with the limitations imposed by the illness and by arranging for other supportive services as required. Included are psychiatric hospitals and state hospitals for people who are mentally disordered.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE120300",
                                    "name": "Residential mental health care",
                                    "description": "Therapeutic living environments in community-based facilities for individuals (adults or children) who have emotional and/or behavioral problems and who require a structured, supervised treatment program which may include individual, group, family and other treatment modalities as appropriate. Services are geared to the specific needs of individual residents and their eventual return to the community when their personal and social adjustment and development permit. For group homes and residential facilities primarily providing custodial care for older adults, people with disabilities, or others, see also Residential and custodial care. For group homes for offenders, delinquent youth and others having contact with the criminal justice system, see also Prison alternatives.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE120400",
                                    "name": "Transitional mental health services",
                                    "description": "Transitional residential treatment programs that continue the treatment and rehabilitation process begun in a crisis residential program. They also serve others who are referred directly from the hospital or other community resources. The purpose of transitional residential programs is to provide an opportunity for rehabilitation and socialization which prepares clients for independent living in the community.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                }
                            ]
                        },
                        {
                            "code": "SE060000",
                            "name": "Nursing care",
                            "description": "Providers of nursing care on an inpatient or home-care basis for people who need continuous care but are not in an acute phase of their illness. Use this code for organizations that provide nursing services that are not broken out at a more specific level, e.g., Candy Stripers or Chronic Care.",
                            "facet": "SUBJECT",
                            "depth": 1,
                            "hasChildren": true,
                            "children": [
                                {
                                    "code": "SE060100",
                                    "name": "Home health care",
                                    "description": "Visiting nurse associations and other similar services that provide skilled nursing care and related health services for recently discharged hospital patients, and elderly or disabled individuals who may otherwise require care in an institution.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE060200",
                                    "name": "Hospice care",
                                    "description": "Providers of a full range of palliative and supportive services for terminally ill people who are in the final stages of their illnesses and for their families. Services may include medical care, pain and symptom management, home nurse visitation, case management, counseling, and bereavement services for the patient and members of the family. Hospice care may also be provided in the individual's own home.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE060300",
                                    "name": "Palliative care",
                                    "description": "Medical care or treatment that concentrates on reducing the severity of disease symptoms, rather than striving to halt, delay, or reverse progression of the disease itself or provide a cure. The goal is to prevent and relieve suffering and to improve quality of life for people facing serious, complex illness. Non-hospice palliative care is not dependent on prognosis and is offered in conjunction with curative and all other appropriate forms of medical treatment. It should not be confused with hospice care which delivers palliative care to those at the end of life.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                }
                            ]
                        },
                        {
                            "code": "SE050000",
                            "name": "Out-patient medical care",
                            "description": "Care provided in health centers, clinics, and other facilities that provide walk-in, walk-out diagnostic and treatment services of a specialized nature for people whose care does not require confinement or a hospital stay. Includes special care, such as:  Antivenin supplies; Artificial organs; Chemotherapy/radiation therapy; Clinical trials; Coma management; Diagnostic services including Diagnostic radiology/imaging (majors being CAT scans, chest x-rays, GI series, MRI, ultrasound); Blood tests; Bone density tests (for osteoporosis); Heart catheterization monitoring; and Pediatric evaluation. Dialysis centers; Hyperbaric chambers; Outpatient surgery; Pacemakers; Pain management; Second opinions; Sex change operations; Tattoo removal; and Weight management (other than eating disorders).",
                            "facet": "SUBJECT",
                            "depth": 1,
                            "hasChildren": true,
                            "children": [
                                {
                                    "code": "SE050200",
                                    "name": "Dental care",
                                    "description": "Care of the teeth and associated structures in the oral cavity Including the prevention, diagnosis and treatment of diseases of the teeth and gums. Included may be: Dental hygiene services; Dental prosthodontics including dentures; Dental restoration; Emergency dental care; Mobile dental care; Oral/maxillofacial surgery; Orthodontics; Pediatric dentistry; and Periodontics.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE050500",
                                    "name": "E-health",
                                    "description": "The use of telecommunication technologies and the Internet to provide healthcare services at a distance. It is commonly used to provide both emergency and non-emergency mental and physical healthcare to remote communities that have little or no direct access to healthcare services.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE050100",
                                    "name": "Health care clinics",
                                    "description": "Outpatient facilities, known also as free clinics and community health centers, that have been established by the community and which provide basic medical care including physical examinations, immunizations, family planning, nutrition assistance and diagnosis and treatment of common ailments. Services are often provided on an ability-to-pay basis when they target low-income and indigent residents of the community. Include mobile health clinics.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE050300",
                                    "name": "Hearing care",
                                    "description": "Support and assistance for people who were born with or have developed hearing disorders due to accident, prolonged exposure to loud noise, illness or aging. This can include testing hearing to diagnose problems, providing hearing aids to improve hearing, and programs to increase awareness of environmental dangers to hearing.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE050800",
                                    "name": "Preventive care",
                                    "description": "Measures taken for disease prevention, with attention to environmental issues, genetic predisposition, lifestyle choices, and other factors, and relying on anticipatory actions categorized as primary, secondary and tertiary prevention. May include check-ups to screen for diseases, to identify risk factors for disease, to enhance awareness of and promote health and wellness, and to update immunizations and boosters.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE050600",
                                    "name": "School-based health care",
                                    "description": "Health care provided on primary and secondary school campuses, generally a combination of primary and mental health care, substance abuse counseling, case management, dental health, nutrition programs, and health education and promotion, staffed by interdisciplinary health care providers including nurse practitioners, physician assistants, social workers, substance abuse counselors and mental health professionals. The emphasis is usually on prevention and early intervention; providing reproductive health care may be provided, but sometimes with certain restrictions or permissions required.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE050700",
                                    "name": "Urgent care",
                                    "description": "Urgent care is most often provided on a walk-in basis 7 days a week, with flexible access outside normal business hours, focused on the delivery of ambulatory care in a dedicated medical facility outside of a traditional emergency room with a licensed physician operating as medical director. This type of care is most often used to treat injuries or illnesses requiring immediate care, but not serious enough to require an ER visit, and distinguished from similar ambulatory healthcare centers such as emergency departments and convenient care clinics by scope of conditions treated, cost of treatment, daily hours that care is provided, and the available facilities on-site, including diagnostic equipment.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE050400",
                                    "name": "Vision care",
                                    "description": "Assistance to people whose vision is defective by measuring the visual refractive power of their eyes and prescribing eyeglasses or contact lenses which give them normal vision or correct their vision to the greatest extent possible. Also included are programs that offer visual acuity and/or color tests for the purpose of identifying individuals who are color-blind or have an impaired ability to see, and vision screening programs.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                }
                            ]
                        },
                        {
                            "code": "SE130000",
                            "name": "Public health",
                            "description": "Programs whose primary purpose is to inform the public of existing or potential health and safety hazards and measures for furthering the early detection, treatment or rehabilitation of people who have an illness, injury or disability; or which provide anticipatory information or guidance to help people deal with or understand specific medical procedures, being hospitalized or other necessary interfaces with the health care system. Also included are public health programs that improve the health of the community through comprehensive efforts to prevent, control, and eradicate communicable disease; eliminate environmental health hazards; and recognize, prevent and control occupational health hazards and illnesses. Use this term for organizations that provide a wide range of public health or health education services or which offer public health or health education services not broken out at a lower level. Included are the following: Disease/disability information (usually printed materials); Health fairs; Health screening programs for older adults, school children and other targeted groups (blood pressure, hearing, etc.); Hygiene programs; Immunization programs (including travel shots); Medically oriented books and playthings; and Wellness programs (for the community and the workplace). See also first aid training, and poison control.",
                            "facet": "SUBJECT",
                            "depth": 1,
                            "hasChildren": true,
                            "children": [
                                {
                                    "code": "SE130100",
                                    "name": "Communicable disease control",
                                    "description": "Protection of public health through comprehensive efforts to prevent, control and eradicate vaccine-preventable diseases, vector and food-borne diseases, diseases that are transmitted from person to person, and diseases that are spread by direct or indirect contact. Activities include routine surveillance of communicable disease activity, assessment of the community immunization level through school records and immunization studies, investigation of epidemic outbreaks and appropriate measures such as isolation to prevent disease transmission. Most common health efforts are those which seek to prevent and control food poisoning, rabies and tuberculosis; and vaccine and immunization efforts. See also Sexually transmitted disease (STD) control.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE130200",
                                    "name": "Environmental health",
                                    "description": "Addressing aspects of the natural or built environment - physical, chemical, and biological factors external to a person - affecting human health and disease-prevention. See also Clean water supply, Hygiene, and Sanitation.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE130300",
                                    "name": "Epidemiology",
                                    "description": "Investigation of the causes, characteristics and impact of the occurrence in a community or region of a group of illnesses of a similar nature whose numbers are clearly in excess of normal expectation and are derived from a common source.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE130400",
                                    "name": "Occupational health",
                                    "description": "Enforcement of the laws which establish job safety and health standards in the workplace in order to eliminate or minimize the incidence of employment-related personal illness, injury or death of workers. Included are work hazards citation appeals, work hazards consultation and work hazards enforcement.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE130600",
                                    "name": "Physical fitness",
                                    "description": "The development and preservation of physical abilities and physical condition necessary for good or improved health. See Also: Sports training.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE130601",
                                            "name": "Exercise",
                                            "description": "Exercise is an activity requiring physical effort, carried out especially to sustain or improve health and fitness. It is usually planned, structured, and repetitive for the purpose of increasing strength, agility, coordination, balance, flexibility, cardiovascular capacity, and other physical traits; along with restorative periods of rest. It includes indoor-related activity such as a gym workout or exercise at another facility or use of exercise equipment in your own home. It also includes outdoor-related physical activity such as walking, running, cycling, sports activities (baseball, softball, basketball, football, etc.), and other activities. See Also: Sports training. Use For: Aerobic exercise; Aerobics; Physical activity; Physical education; Gym memberships; Personal trainers; Workouts.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE130602",
                                            "name": "Nutrition",
                                            "description": "Efforts to provide information concerning the basic principles of healthful eating, food handling, food preparation and shopping skills. Included is information about the basic food groups, vitamin and mineral requirements, and the relationship of nutrition to the preservation of good health and the prevention of illness. Also included are provision of nutrition assessment and prescription services.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE130603",
                                            "name": "Obesity",
                                            "description": "The condition of being overweight to an extent that physical health is adversely affected and the likelihood of developing certain chronic conditions is increased (specific definitions and criteria vary). Included are activities to prevent obesity (especially in children), to address and reduce obesity and its effects in individuals, and to educate people about the risks associated with obesity and how to avoid the condition. Use For: Weight loss.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE130500",
                                    "name": "Sexually transmitted disease control",
                                    "description": "Screening, diagnostic and treatment services for individuals who have contracted gonorrhea, syphilis, genital herpes or other diseases that are spread by sexual contact; or that control the occurrence of sexually transmitted diseases by monitoring the incidence of the disease in the general population, investigating individual outbreaks, and identifying and screening recent contacts of people who are infected to stop the spread of the disease.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE130700",
                                    "name": "Water access, sanitation and hygiene",
                                    "description": "The provision of adequate water, sanitation and hygiene services. Examples include promoting the use of toilets and/or latrines, proper waste disposal (human, household and commercial waste), control of rodents and other disease carriers, promoting hand washing, providing potable, healthy or safe water, especially in developing areas of the world, waste water treatment and management, construction of sewer systems, upgrading and/or fixing existing water or sanitation facilities, and other WASH-related issues.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE130701",
                                            "name": "Clean water supply",
                                            "description": "Efforts to promote health by providing  households and communities access to clean and safe water for consumption and productive uses in pursuit of a livelihood; includes filtration systems, point-of-use treatment, pumping systems, well-digging, aqueducts, safe storage, rain-collection systems, and chemical treatments. For large scale water supply systems or infrastructure, see Water utilities. See also Water pollution, and Water resources.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE130703",
                                            "name": "Hygiene",
                                            "description": "Encouragement of individual, household, and community practices associated with cleanliness for the purpose of  preserving health; including hand-washing, respiratory hygiene, food hygiene, medical hygiene, etc. This is one element of WASH (Water, Sanitation, and Hygiene) programs and will often be used in a 'clean water' context.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE130702",
                                            "name": "Sanitation",
                                            "description": "Health promotion through the prevention of human contact with waste materials; includes disposal services for human waste and wastewater, and latrine, sewer, and septic systems or projects. For large scale sewage or water treatment systems or infrastructure, see Sewage utilities.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "code": "SE080000",
                            "name": "Rehabilitation",
                            "description": "Combinations of treatment and education services which are designed to restore maximum functioning, a sense of well-being, and a personally satisfying level of independence for individuals who have temporary or permanent disabilities. Included are organizations that provide primary health care and rehabilitative therapy for individuals suffering from physical or mental impairments due to injury, genetic defect, or disease. Services may include physical and occupational therapy services and inpatient and outpatient facilities that provide multidisciplinary restorative services. Use this term for organizations that provide a wide range of rehabilitative services or which offer services not broken out at a lower level. Included may be: Amputee rehabilitation; Cardiac rehabilitation; Hand rehabilitation; Occupational therapy; Pulmonary rehabilitation; and Stroke/head injury rehabilitation. Use this term for Easter Seal Society.",
                            "facet": "SUBJECT",
                            "depth": 1,
                            "hasChildren": true,
                            "children": [
                                {
                                    "code": "SE080100",
                                    "name": "Animal therapy",
                                    "description": "Interaction with companion and service animals, including domesticated pets, farm animals and dolphins, as a form of therapy and treatment, in nursing homes, prisons, mental health facilities and other institutional, as well as private contexts. The goal is to improve a patient's physical, social, emotional and cognitive functioning. Use For: therapeutic riding, hippotherapy, pet partner, pet therapy. See Also: Human-animal interactions",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE080200",
                                    "name": "Art and music therapy",
                                    "description": "Services to enable individuals who have mental, emotional or social problems to achieve self-expression and emotional release by communicating their emotions and conflict graphically through painting, drawing, sculpting and other art forms. Art therapy is used both as a diagnostic tool and a treatment technique.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE080300",
                                    "name": "Physical therapy",
                                    "description": "Utilization of the therapeutic properties of exercise, heat, cold, electricity, ultraviolet, water and massage to improve circulation, strengthen muscles, reduce pain and restore mobility to people who have been disabled by stroke, arthritis, back or spinal cord injuries or other debilitating conditions. Includes cryotherapy, electrical stimulation, hydrotherapy and massage.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE080400",
                                    "name": "Play therapy",
                                    "description": "A form of counseling or psychotherapy usually used with children under the age of eleven. Play therapy uses play as a medium of expression and means to communicate feelings and experiences that a child is unable to express verbally due to age or trauma. Play therapy is used to diagnose, prevent and resolve psychological challenges.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE080500",
                                    "name": "Speech and hearing rehabilitation",
                                    "description": "Comprehensive diagnostic and treatment services for individuals who have speech and/or language problems; neurological disorders or diseases; or disorders of the middle, inner or outer ear, larynx, tongue, mouth, or other structures whose coordination and appropriate functioning are necessary for speech and/or hearing. Included may be: Audiological evaluations; Auditory training; Cued speech instruction; Finger spelling instruction; Oral communication instruction; Sign language instruction; Speech reading instruction; Total communication instruction; Verbal-tonal instruction; Visual English instruction; Language therapy; Speech and language evaluations; and Speech therapy.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                }
                            ]
                        },
                        {
                            "code": "SE070000",
                            "name": "Reproductive health care",
                            "description": "Providers of medical, educational and counseling services which relate to the conception, delivery and care of offspring. Use this term for providers of a wide range of reproductive health services or which offer reproductive health services not broken out at a lower level. For prevention of adolescent pregnancy, use Pregnancy prevention (youth). For maternity homes for unwed mothers, or advice and guidance programs that focus on adolescent parents, see Adolescent parenting.",
                            "facet": "SUBJECT",
                            "depth": 1,
                            "hasChildren": true,
                            "children": [
                                {
                                    "code": "SE070200",
                                    "name": "Abortion",
                                    "description": "Provision of pregnancy termination services for women who have decided not to follow through with their pregnancies.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE070300",
                                    "name": "Childbirth",
                                    "description": "Specialist providers of comprehensive preventive, diagnostic and treatment services for women during pregnancy, childbirth and the period immediately following childbirth. Includes services for women who are ready to give birth, alternative birthing centers, care provided by doulas and midwives, hospital delivery rooms, and programs that support methods of child delivery which emphasizes a gentle and peaceful environment.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE070100",
                                    "name": "Family planning",
                                    "description": "Providers of assistance to people who want to control the size of their families and the spacing of their children, usually through some form of birth control. Planned Parenthood is an example of this type of activity. Included may be contraceptive devices and oral steroid pills and natural family planning methods which rely on awareness of the woman's fertility cycle in order to avoid pregnancy.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                },
                                {
                                    "code": "SE070400",
                                    "name": "Maternal and perinatal health",
                                    "description": "Health care for expectant, nursing, and new mothers from the time of verified pregnancy through birth and the first few years of the child's life to ensure their own physical well-being and the healthy development and birth of their child. Includes programs dealing with postpartum conditions, as depression; early infant care education; and breast feeding assistance.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE070402",
                                            "name": "Infant care",
                                            "description": "Providers of health screening and immunization services for infants and toddlers to ensure their physical well-being and healthy development.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE070401",
                                            "name": "Prenatal care",
                                            "description": "Health care for expectant mothers from the time of verified pregnancy through birth and shortly afterward to ensure their own physical well-being and the healthy development and birth of their child. Included are programs that offer classes or other educational experiences which prepare prospective mothers and their birth partners emotionally and physically for the labor and birth process; Birth orientation programs; Cesarean birthing classes; Early pregnancy classes; Programs for at-risk/low-income mothers to prevent maternal and infant mortality; Prepared childbirth (including Lamaze, Bradley and other techniques); Sibling preparation programs; and Vaginal birth after cesarean classes.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE070600",
                                    "name": "Sexual education",
                                    "description": "Programs that provide information and instruction concerning the physiological and emotional aspects of human sexuality including anatomy, human reproduction, birth control and sexually transmitted diseases including AIDS.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": true,
                                    "children": [
                                        {
                                            "code": "SE070602",
                                            "name": "Abstinence-only sex education",
                                            "description": "Abstinence-only programs (also called abstinence-only-until-marriage programs) promote abstinence from sexual behavior for children and youth as a pathway to healthy development. It generally excludes discussions concerned with birth control, safer sex, and sexual orientation.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        },
                                        {
                                            "code": "SE070601",
                                            "name": "Comprehensive sex education",
                                            "description": "Programs that provide age-appropriate, medically accurate information and instruction concerning the physiological and emotional aspects of human sexuality including anatomy, human reproduction, birth control and sexually transmitted diseases including AIDS. Comprehensive sex education covers the wide array of topics that affect sexuality and sexual health, including information and communication skills building to promote health and well-being in a way that is developmentally appropriate.",
                                            "facet": "SUBJECT",
                                            "depth": 3,
                                            "hasChildren": false
                                        }
                                    ]
                                },
                                {
                                    "code": "SE070500",
                                    "name": "Youth pregnancy prevention",
                                    "description": "A variety of informational and supportive services which promote healthy teen attitudes and behaviors regarding sexuality with the objective of heightening their awareness of the consequences of sexual activity and helping teens to avoid an unwanted pregnancy. Topics may include peer pressure, parent/teen communications, male/female relationships, values clarification, self-esteem, human reproduction, birth control and sexually transmitted diseases including AIDS. Also included are programs that increase the awareness on the part of the general community about the problem of adolescent pregnancy. See also Sexual education with which this term is often associated. Population Groups associated with subject are usually Adolescents, Male, and Female unless another specific population group is mentioned. For supportive services for pregnant teens or teen parents, use Adolescent parenting.",
                                    "facet": "SUBJECT",
                                    "depth": 2,
                                    "hasChildren": false,
                                    "children": []
                                }
                            ]
                        },
                        {
                            "code": "SE090000",
                            "name": "Traditional medicine and healing",
                            "description": "A system of healthcare that has ancient roots, cultural bonds, trained healers, and a theoretical construct. Traditional medicine and healing uses knowledge, skills, and practices based on the theories, beliefs, and experiences indigenous to different cultures.; traditional systems include Ayurveda medicine, ethnomedicine, shamanism and traditional Chinese and other Eastern medicines. Use For: Folk medicine; Eastern medicine; Indigenous medicine; Shamanism. See Also: Holistic medicine.",
                            "facet": "SUBJECT",
                            "depth": 1,
                            "hasChildren": false,
                            "children": []
                        }
                    ]
                }
            ]
        }
    }
}

Search by PCS match

Return PCS codes relevant to the search term (e.g. "agriculture") across all facets. This search returns exact matches, approximate matches and relevant matches based on name, descriptions, and codes.

query {
  termsByMatch(match: {searchTerm: "agriculture", limit: 5}) {
    meta {
        code
        message
        resultsCount
        took
    }
    data {
      ...term
    }
  }
}

fragment term on Term {
  code
  name
  description
  facet
  depth
  hasChildren
}

{
    "data": {
        "termsByMatch": {
            "meta": {
                "code": 200,
                "message": "Success",
                "resultsCount": 4,
                "took": 3171
            },
            "data": [
                {
                    "code": "SM000000",
                    "name": "Agriculture, fishing and forestry",
                    "description": "The development and improvement of biological, renewable food and material resources and the systems that produce them - natural, commercial, and industrial. Included are: agricultural activities that improve management of food production and the health of the land and water on which farms and ranches depend; forestry and forest management activities that support the health and productivity of those resources and regions; fishing and fish farming activities that support the health and productivity of that food resource; and efforts to ensure the security, amount, and appropriateness of the food resources available to communities and other groups.",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SM010000",
                    "name": "Agriculture",
                    "description": "Activities that focus on development or improvement of food resources or food procurement.",
                    "facet": "SUBJECT",
                    "depth": 1,
                    "hasChildren": true
                },
                {
                    "code": "SS050500",
                    "name": "Agriculture for youth",
                    "description": "Projects that emphasize the total development of young people through work on the animal, engineering, family/consumer health, resource, plant or social science project of their choice in consultation with their parents and supervising adult volunteers, as 4-H Club, Future Farmers, and Future Homemakers. Members also participate in camping activities, leadership conferences, awards programs and community service activities. For organizing, promoting or otherwise supporting county or other fairs, use Festivals.",
                    "facet": "SUBJECT",
                    "depth": 1,
                    "hasChildren": false
                },
                {
                    "code": "SM020200",
                    "name": "Sustainable agriculture",
                    "description": "Programs that are responsible for working with landowners and operators or other land users and developers to ensure that land utilization practices protect the nation's farmlands and other open spaces, many of which are being converted to urban uses, from unnecessary erosion and sedimentation or other destruction. Services may include: Development of soil and land capability studies and maps to ascertain appropriate uses for specific tracts of land; Development of conservation plans for specific areas which include measures for protecting and preserving waterways and vegetation, which provide for flood protection and which show the location of conservation devices such as dikes, water diversions, terraces, dams, reservoirs, water conduits, grassed waterways and plantings of grass, trees and shrubs to protect agricultural land; and Consultation and technical assistance for individuals, particularly farmers, who want to ensure that their lands are adequately protected.",
                    "facet": "SUBJECT",
                    "depth": 1,
                    "hasChildren": true
                }
            ]
        }
    }
}

Search by PCS facet

Return all PCS codes within a given facet (e.g. subject).

query {
  termsByFacet(facet: SUBJECT) {
    meta {
        code
        message
        resultsCount
        took
    }
    data {
      ...term
    }
  }
}

fragment term on Term {
  code
  name
  description
  facet
  depth
  hasChildren
}


{
    "data": {
        "termsByFacet": {
            "meta": {
                "code": 200,
                "message": "Success",
                "resultsCount": 18,
                "took": 11444
            },
            "data": [
                {
                    "code": "SM000000",
                    "name": "Agriculture, fishing and forestry",
                    "description": "The development and improvement of biological, renewable food and material resources and the systems that produce them - natural, commercial, and industrial. Included are: agricultural activities that improve management of food production and the health of the land and water on which farms and ranches depend; forestry and forest management activities that support the health and productivity of those resources and regions; fishing and fish farming activities that support the health and productivity of that food resource; and efforts to ensure the security, amount, and appropriateness of the food resources available to communities and other groups.",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SA000000",
                    "name": "Arts and culture",
                    "description": "Enjoyment or understanding of the visual, performing, or folk arts or the humanities (history, art history, modern and classical languages, philosophy, ethics); and organizations that promote the appreciation or understanding of historical events, including historical societies and genealogical or heredity-based organizations (e.g., Sons of the Revolution, Daughters of the Confederacy, etc.). Includes museums and halls of fame; historic preservation programs; groups of or services to artists, performers, entertainers, writers, or humanities scholars; programs which promote artistic expression of or within ethnic groups and cultures; and art and performing art schools, centers, and studios. Does not include libraries and reading programs (see Education); botanical gardens,or zoos (see Environment).",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SN000000",
                    "name": "Community and economic development",
                    "description": "Work to strengthen the health and prosperity of communities and increase the capacity of various community organizations to improve the quality of life for all, including community and neighborhood development and improvement services; urban, rural, and sustainable economic development programs; business and financial services and services to improve or develop commercial and industrial enterprises within communities; services to enhance, improve, and protect the workforce and promote employment; efforts to develop and rehabilitate community housing, and organize tenants and homeowners; and community service programs.",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SB000000",
                    "name": "Education",
                    "description": "All formally constituted educational institutions (except art and performing art schools) and projects or activities that administer or support those institutions; libraries; organizations whose primary purpose is to provide opportunities for supplementing and continuing education outside the framework of formal education institutions (including English-as-a-second-language programs and literacy and reading programs for children and adults); and organizations that provide educationally related services to students and schools, e.g., educational testing services, scholarship programs, drop-out prevention and programs designed to increase parent participation in the schools.",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SC000000",
                    "name": "Environment",
                    "description": "Preservation and protection of the natural environment: including pollution control and abatement programs; conservation and responsible development of natural resources; biodiversity preservation and wildlife conservation; protection of animals, including domestic pets and animals providing special services; control or elimination of hazardous and toxic substances; solid waste management programs; and environmental education. Does not include programs that focus on the protection or preservation of farmlands or soil and water conservation for agricultural, food production purposes or livestock issues (see Agriculture, Fishing, and Forestry); or programs that focus on recreational parks (see Sports and Recreation).",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SE000000",
                    "name": "Health",
                    "description": "Promotion and protection of the physical and mental well-being of people through medical care and treatment; assessment and amelioration of social, environmental, and biomedical factors affecting that well-being; research into various diseases and in various disciplines; and education and prevention activities that increase people's own efforts at protecting public health.",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SR000000",
                    "name": "Human rights",
                    "description": "The protection and promotion of the human rights and civil liberties of individuals and communities. This includes protecting equal rights for and fighting discrimination against some categories of people; improving relations between racial, ethnic, and cultural groups; and promoting voting rights. Does not include organizations that focus on or provide legal services (see Legal services); or groups using advocacy as a method to achieve goals in a particular subject area such as food, housing and education. In these cases, select the most appropriate term in the subject area, and a Strategy of Equal access. For animal rights work, see Research on animals and Humane education (in Environment).",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SS000000",
                    "name": "Human services",
                    "description": "Promotion and provision of a broad range of social or human services to individuals or families; family services, including shelters and aftercare programs for victims of domestic violence; direct social services to children and adolescents (e.g., adoption and foster care services, child day care, etc.); personal social services, travelers aid, etc.; residential, custodial care facilities and services for individuals unable to live independently due to developmental disabilities, age or physical infirmity; and programs that promote general independent functioning and living of individuals (e.g., retarded citizens associations, guide dog services for people with disabilities, etc.); job assistance programs that help those with significant barriers to employment, including special employment assistance for people who have disabilities or other disadvantages); housing rehabilitation, home improvement, shelters, and other non-recreational temporary housing facilities, and services to assist individuals and families in locating, acquiring, or sustaining clean, safe and adequate housing on a rental or ownership basis; programs that work to build character and develop leadership and social skills among children and youth, including scouting organizations; adult matching programs; business, agricultural, religious and other youth leadership programs; and youth community service clubs; food services for the poor and hungry, including dining facilities, food banks, and food delivery services.",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SH000000",
                    "name": "Information and communications",
                    "description": "The gathering, storage, organization, manipulation, dissemination, and display of data, information, communication, and narrative. Included are programs that develop or make use of information technology to increase the amount and complexity of data that can be managed; policies that work to insure broad availability of information; programs that gather and broadcast news and information about current events; libraries that store and make available information in a variety of formats; media organizations and programs that broadcast information across a variety of platforms; telecommunications services; and information science and computer applications.",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "ST000000",
                    "name": "International relations",
                    "description": "Promoting international understanding and friendly relations among nations, preserving international peace, and protecting national security interests. Also included are efforts to provide development and relief services to other countries or regions, international trade activities and globalization, and programs of international exchange.",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SD000000",
                    "name": "Philanthropy",
                    "description": "Organizations or programs that focus on promoting the practice of giving and volunteering or which represent and serve a wide range of philanthropy and charitable institutions; private grantmaking foundations and charitable trusts; federated giving programs that provide funding and other types of assistance to community services (e.g., United Way, Jewish Federation); programs that promote individual giving through pooling of funds or trusts for maximal financial and program administration performance (e.g., public foundations and community foundations); and programs that provide management and administrative support to philanthropic and nonprofit organizations and projects. Does not include fund-raising, distribution services, or volunteer bureaus and volunteer action centers operating in a specific major group area (see Support Strategy and Organization Type terms).",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SK000000",
                    "name": "Public affairs",
                    "description": "Organizations or programs that focus on promoting the effective functioning of government, public administration and public officials; programs that conduct or promote research in multidisciplinary public policy (e.g., Joint Center for Political Studies); programs that support or provide services required for the effective functioning of society (e.g., public works projects, public utilities, public finance, legal and judicial systems, elections, etc.).; programs that promote patriotism, encourage civic participation, and support national security; and organizations that protect the public against the distribution of unsafe goods and products, including product testing and reporting services. Does not include social services organizations that focus on the provision of human services (use terms in Human services); strict political science research (use Political science); or public policy research tied specifically to a major group area (use field-specific coding where possible).",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SJ000000",
                    "name": "Public safety",
                    "description": "Protection and relief of the public from crime, violence, disaster, accident, and other potential causes of harm. Included are crime, abuse, and violence prevention services; police and other law enforcement agencies; detention and rehabilitation services for offenders and ex-offenders; judicial and administration of justice activities; legal assistance to individuals and organizations, including groups whose primary purpose is to conduct public interest litigation; activities to prevent, predict or control the effects of disasters; educate and prepare individuals to cope with the effects of disasters; provide broad-based disaster relief services to victims; provide relief to victims of accidents caused by human frailty or error (e.g., poisoning, choking, electrical shock, falls); first aid training and services; and many kinds of safety education and promotion. Does not include agencies that provide aftercare services to the victims of crime or abuse and neglect (see Victim aid, Domestic violence, Sexual assault victim services, and other terms).",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SP000000",
                    "name": "Religion",
                    "description": "Worship, religious training or study, governance, or administration of organized religions, or the promotion of religious activities. Does not include other services operated under the auspices of specific religious groups such as educational institutions, hospitals, social service agencies, etc. For separately organized graduate schools of theology, use Theology and Graduate and professional education.",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SF000000",
                    "name": "Science",
                    "description": "Efforts to promote or conduct research and study in the physical and life sciences, mathematics, engineering and technology. Does not include medical research; or research institutes and services operating in a single major group area. For these organizations and programs, use the most appropriate subject code, and a research code from either the Organization Type or Support Strategy facets",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SG000000",
                    "name": "Social sciences",
                    "description": "The study of, teaching of, or research in one or more of, the social sciences, including economics, psychology, political science and demographics. Also includes interdisciplinary research programs such as black studies and urban studies.",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SQ000000",
                    "name": "Sports and recreation",
                    "description": "Services meeting the recreational needs of individuals and communities, including camps and camping programs; physical fitness and other recreational facilities such as parks, playgrounds, etc.; sports training and competition services; and other sports, recreational and social clubs. Does not include programs primarily involved in character building and leadership development for youth such as scouting, even though they may also provide recreational programs (see Youth development); or neighborhood centers, senior centers and other community centers primarily engaged in the provision of social services (see Human Services).",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": true
                },
                {
                    "code": "SZ000000",
                    "name": "Unknown or not classified",
                    "description": "",
                    "facet": "SUBJECT",
                    "depth": 0,
                    "hasChildren": false
                }
            ]
        }
    }
}

IRS taxonomies

Return IRS taxonomy codes: NTEE Major, NTEE Minor, filing type, subsection code, foundation type code, MSA code. The search below includes queries for all of these code types.

query {
    nteeMajor(query:"art") {
       data {
           ...code
       } 
    }

    nteeMinor(query: "food bank") {
        data {
            ...code
        }
    }

    filingType(query: "church") {
        data {
            ...code
        }
    }

    subsection(query: "public charity") {
        data {
            ...code
        }
    }

    foundationType(query: "foundation") {
        data {
            ...code
        }
    }

    msa(query: "dallas") {
        data {
            ...code
        }
    }    
}

fragment code on MiscCode {
    key 
    value
}
{
    "data": {
        "nteeMajor": {
            "data": [
                {
                    "key": "A00",
                    "value": "Arts, Culture, and Humanities"
                }
            ]
        },
        "nteeMinor": {
            "data": [
                {
                    "key": "K31",
                    "value": "Food Banks, Food Pantries"
                }
            ]
        },
        "filingType": {
            "data": [
                {
                    "key": "061",
                    "value": "This organization is not required to file an annual return with the IRS because it is a church."
                },
                {
                    "key": "060",
                    "value": "This organization is not required to file an annual return with the IRS because it is a church."
                }
            ]
        },
        "subsection": {
            "data": [
                {
                    "key": "91",
                    "value": "4947(a)(1) Non-Exempt Charitable Trusts (Public Charity)"
                },
                {
                    "key": "03",
                    "value": "501(c)(3) Public Charity"
                }
            ]
        },
        "foundationType": {
            "data": [
                {
                    "key": "02",
                    "value": "Private operating foundation exempt from paying excise taxes or investment income"
                },
                {
                    "key": "03",
                    "value": "Private Operating foundation (other)"
                },
                {
                    "key": "04",
                    "value": "Private nonoperating foundation"
                }
            ]
        },
        "msa": {
            "data": [
                {
                    "key": "1920",
                    "value": "Dallas-Fort Worth, TX"
                }
            ]
        }
    }
}