The root of أَقَامَ is ق و م. Used transitively, it means “to establish or set upright,” so both active and passive forms are relevant.
CategoryForm
Active perfectأَقَامَ
Active imperfectيُقِيمُ
Verbal nounإِقَامَةٌ
Active participleمُقِيمٌ
Passive perfectأُقِيمَ
Passive imperfectيُقَامُ
Passive participleمُقَامٌ
Direct imperativeأَقِمْ
Prohibitionلَا تُقِمْ
مُقِيمٌ designates the doer; مُقَامٌ designates what is established. Their shared root does not make them the same participial category.