Schistosomes and nematodes such as hookworms (Ancylostoma and Necator) and Strongyloides can penetrate the skin directly.The roundworm, Dracunculus has a complex mode of transmission: it is acquired from drinking infested water or eating frogs and fish that contain (had eaten) infected crustaceans (copepods); and can also be transmitted from infected pets (cats and dogs). Roundworms such as Brugia, Wuchereria and Onchocerca are directly transmitted by mosquitoes. In the developing world, the use of contaminated water is a major risk factor for infection. Infection can also take place through the practice of geophagy, which is not uncommon in parts of sub-Saharan Africa. Soil is eaten, for example, by children or pregnant women to counteract a real or perceived deficiency of minerals in their diet. Diagnosis
Specific helminths can be identified through microscopic examination of their eggs (ova) found in faecal samples. The number of eggs is measured in units of eggs per gram. However, it does not quantify mixed infections, and in practice, is inaccurate for quantifying the eggs of schistosomes and soil-transmitted helminths. Sophisticated tests such as serological assays, antigen tests, and molecular diagnosis are also available; however, they are time-consuming, expensive and not always reliable. Prevention
Disrupting the cycle of the worm will prevent infestation and re-infestation. Prevention of infection can largely be achieved by addressing the issues of WASH—water, sanitation and hygiene.
Oxidation of this product with 3-chloroperbenzoic acid gives 2,4-diamino-6-(2,4-dichlorophenoxy)pyrimidine-3-oxide, the 2,4-dichlorophenoxyl group of which is replaced with a piperidine group at high temperature, giving minoxidil.Another synthesis approach is depicted here:

Compounds related to minoxidil include kopexil (diaminopyrimidine oxide). History
Initial application
Minoxidil was developed in the late 1950s by the Upjohn Company (later became part of Pfizer) to treat ulcers. In trials using dogs, the compound did not cure ulcers, but proved to be a powerful vasodilator. Upjohn synthesized over 200 variations of the compound, including the one it developed in 1963 and named minoxidil. These studies resulted in the U.S. Food and Drug Administration (FDA) approving minoxidil (with the brand name Loniten) in the form of oral tablets to treat high blood pressure in 1979. Hair growth
When Upjohn received permission from the U.S. Food and Drug Administration (FDA) to test the new drug as medicine for hypertension they approached Charles A. Chidsey MD, Associate Professor of Medicine at the University of Colorado School of Medicine. He conducted two studies, the second study showing unexpected hair growth. Puzzled by this side-effect, Chidsey consulted Guinter Kahn (who while a dermatology resident at the University of Miami had been the first to observe and report hair development on patients using the minoxidil patch) and discussed the possibility of using minoxidil  for treating hair loss. Kahn along with his colleague Paul J. Grant MD had obtained a certain amount of the drug and conducted their own research, since they were first to make the side effect observation.