fix: x12837 billing 5 or 9 digit zip check (#7760)
[openemr.git] / interface / forms / painmap / FormPainMap.php
blob4d6b343612a723ade38affa3577965e905ca3fe7
1 <?php
3 /**
4 * This file contains the FormPainMap class, used to model the data contents of a clickmap based form.
6 * @package OpenEMR
7 * @link http://www.open-emr.org
8 * @copyright Copyright Medical Information Integration,LLC <info@mi-squared.com>
9 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
12 /* include the class we are extending. */
13 require_once($GLOBALS['fileroot'] . "/interface/clickmap/AbstractClickmapModel.php");
15 /**
16 * @class FormPainMap
18 * @brief This class extends the AbstractClickmapModel class, to create a class for modelling the data in a pain form.
20 class FormPainMap extends AbstractClickmapModel
22 /**
23 * The database table to place form data in/read form data from.
25 * @var TABLE_NAME
28 static $TABLE_NAME = "form_painmap";
30 /* Initializer. just calls parent's initializer. */
31 function __construct($id = "")
33 parent::__construct(FormPainMap::$TABLE_NAME, $id);
36 /**
37 * @brief Return the Title of the form, Useful when calling addform().
39 public function getTitle()
41 return C_FormPainMap::$FORM_TITLE;
44 /**
45 * @brief Return the 'Code' of the form. Again, used when calling addform().
47 public function getCode()
49 return C_FormPainMap::$FORM_CODE;