A novel approach for pill-prescription matching with gnn assistance and contrastive learning