Text this: Development and validation of a nomogram to predict medication risk based on a knowledge, attitude and practice (KAP) survey of residents in Shanxi Province, China