You can specify which is which by saying maternal grandparents (your mother's parents) or paternal grandparents (your father's grandparents). I know of no single word in English that makes the distinction.
Some families get around this ambiguity by referring to both sets of grandparents with different terms of affection (for example, the mother's mother might be "Nanny", while the father's mother might be "Grandma", so, when one parent says, "We'll be going to Grandma's for Christmas," the children know where they are going).
I should note that the terms maternal and paternal are seldom used. For example, in your sentence, I would simply say:
"I visited my grandmother today in the hospital."
Sometimes, though, maternal and paternal can be used for clarification:
"After the fire, Emily went to live with her grandparents for awhile, while her parents recovered in the hospital."
"Which grandparents?"
"Her maternal grandparents."
although the speaker is probably just as likely to respond with:
"Her mom's parents."