The biliary tract (liver and gallbladder) is a parasite super highway. Many, probably most parasites pass through at some point in one of their life cycles. This translates to chronic inflammation of the biliary tract that is referred to the right subscapular region. So this pain would not disappear over night with parasite treatment and may actually increase to some degree. When the parasites die they release their cache of eggs or larvae which migrate through the body, particularly fluke larvae which actually ingest hepatocytes while adults typically lay in their environment and suck up their nutrients, either in bile ducts, gallbladder or blood stream etc etc. Pain in the liver area is common within inital phase of infection/reinfection as the larvae invade. Treatment effectiveness of this stage varies with species and medication. Praziquantel effects some species of larvae and not others. Juvenile flukes are thought to be largely impervious to praziquantel but may be sensitive to triclabendazole. Hope this helps.