CDR Module: Fixed broken headers in Admin GUI. No longer require output buffering.
[openemr.git] / interface / super / rules / library / Code.php
blobd76088299259d190ee2570c7b1bb4a9cc0863750
1 <?php
2 // Copyright (C) 2010-2011 Aron Racho <aron@mi-squred.com>
3 //
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 /**
10 * Description of Code
12 * @author aron
14 class Code {
15 //put your code here
17 var $id;
18 var $code;
19 var $text;
20 var $codeType;
22 function __construct( $id, $code, $text, $codeType ) {
23 $this->id = $id;
24 $this->code = $code;
25 $this->text = $text;
26 $this->codeType = $codeType;
29 function display() {
30 return $this->codeType . ":" . $this->id . " - " . $this->code . " " . $this->text;