For a hospital birth, whether or not a midwife can administer pain medication depends on what kind of pain medication we're talking about. For a home birth, it depends on the midwife. Read the article from Choices in Childbirth to get more information:
Can A Midwife Administer Pain Medication? By Barbara Sellers, CNM