When you take teriparatide and hydrochlorothiazide together, taking 25 mg of hydrochlorothiazide with 40 mcg of teriparatide doesn't affect the serum calcium response to teriparatide.
Little or no effect is expected. You usually do not need to change anything, but still tell your doctor or pharmacist about every medicine you take.