It doesn't have to be x-linked dominant btw or even hereditary for that matter.
This might be beyond Step1 but I happened to see a case of Hypophosphatemic rickets just this week in the Pediatrics outpatient department. The young boy was my patient and had rickets that was refractory to treatment by oral replacement of phosphates. The doctors have been looking for a long time for a tumor but still can't find it. Due to the negative family history (so it's not X-linked dominant or autosomal dominant) they are sure that the diagnosis is Tumor-induced hypophosphatemia (or Osteomalacia).
The tumor produces FGF23 (which is involved in the autosomal dominant form) and this prevents the translocation of Na-P pump in the kidney and leads to hypophosphatemia. It also prevents Vitamin D function (not sure how)
So it's like a paraneoplastic disease. Unfortunately for this kid however they still can't find the tumor as apparently it can be very small and in unusual locations.
Just wanted to share this as it's one of the more interesting cases that we got to see.