medical-NER-RE Code for the paper A two-stage deep learning approach for extracting entities and relationships from medical texts