EOB invoice fixes.
[openemr.git] / interface / forms / painmap / FormPainMap.php
blob36ffa38ab5ebe7ec075f0ac69f49c85d999a4065
1 <?php
2 /*
3 * Copyright Medical Information Integration,LLC info@mi-squared.com
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * @file FormPainMap.php
11 * @brief This file ontains the FormPainMap class, used to model the data contents of a clickmap based form.
13 /* include the class we are extending. */
14 require_once($GLOBALS['fileroot'] . "/interface/clickmap/AbstractClickmapModel.php");
16 /**
17 * @class FormPainMap
19 * @brief This class extends the AbstractClickmapModel class, to create a class for modelling the data in a pain form.
21 class FormPainMap extends AbstractClickmapModel
24 /**
25 * The database table to place form data in/read form data from.
27 * @var TABLE_NAME
30 static $TABLE_NAME = "form_painmap";
32 /* Initializer. just calls parent's initializer. */
33 function __construct($id = "")
35 parent::__construct(FormPainMap::$TABLE_NAME, $id);
38 /**
39 * @brief Return the Title of the form, Useful when calling addform().
41 public function getTitle()
43 return C_FormPainMap::$FORM_TITLE;
46 /**
47 * @brief Return the 'Code' of the form. Again, used when calling addform().
49 public function getCode()
51 return C_FormPainMap::$FORM_CODE;