/** * How to use and extend the ESign module * * Copyright (C) 2013 OEMR 501c3 www.oemr.org * * LICENSE: This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 3 * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program. If not, see ;. * * @package OpenEMR * @author Ken Chapple * @author Medical Information Integration, LLC * @link http://www.open-emr.org **/ In order to properly build an ESign implementation, developer must implement the FactoryIF interface. This ensures that you create all of the necessary parts of an ESign implementation. Developer must subclass Abstract_Controller for the routing to work properly. Developer should implement the IFactory interface so the ESign API can assemble the ESign object using \ESign\Api::createEsign(FactoryIF) Refer to the Form and Encounter implementations for examples on how to implement the required interfaces.