Hereditary vitamin D-resistant rickets, also known as vitamin D-dependent rickets type 2 belongs to the second category and is caused by a mutation in VDR, rendering it unresponsive to its substrate, resulting in hypocalcaemia and early onset rickets. The gene discussed is VDR; the disease is rickets.