A Design of Electronic Medical Record System based on Permissioned Blockchain