From c167c0c51072c365911dafca100df8963fa513d2 Mon Sep 17 00:00:00 2001 From: bradymiller Date: Tue, 24 Jul 2012 14:17:06 -0700 Subject: [PATCH] minor doc mods to make compatible with phpdocumentor --- custom/code_types.inc.php | 51 +++++++++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/custom/code_types.inc.php b/custom/code_types.inc.php index 7f92244ac..02caa745b 100644 --- a/custom/code_types.inc.php +++ b/custom/code_types.inc.php @@ -1,29 +1,8 @@ - * - * 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 2 - * 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 Rod Roark - * @author Brady Miller - * @link http://www.open-emr.org - */ - -require_once("$srcdir/csv_like_join.php"); - -/** + * The data structure is the $code_types array. * The $code_types array is built from the code_types sql table and provides * abstraction of diagnosis/billing code types. This is desirable * because different countries or fields of practice use different methods for @@ -31,12 +10,14 @@ require_once("$srcdir/csv_like_join.php"); * medical care is socialized. Attributes are: * active - 1 if this code type is activated * id - the numeric identifier of this code type in the codes table + * claim - 1 if this code type is used in claims * fee - 1 if fees are used, else 0 * mod - the maximum length of a modifier, 0 if modifiers are not used * just - the code type used for justification, empty if none * rel - 1 if other billing codes may be "related" to this code type * nofs - 1 if this code type should NOT appear in the Fee Sheet * diag - 1 if this code type is for diagnosis + * proc - 1 if this code type is a procedure/service * label - label used for code type * external - 0 for storing codes in the code table * 1 for storing codes in external ICD10 Diagnosis tables @@ -45,10 +26,28 @@ require_once("$srcdir/csv_like_join.php"); * 4 for storing codes in external ICD9 Diagnosis tables * 5 for storing codes in external ICD9 Procedure/Service tables * 6 for storing codes in external ICD10 Procedure/Service tables - * claim - 1 if this code type is used in claims - * proc - 1 if this code type is a procedure/service - * @var array + * + * Copyright (C) 2006-2010 Rod Roark + * + * 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 2 + * 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 Rod Roark + * @author Brady Miller + * @link http://www.open-emr.org */ + +require_once("$srcdir/csv_like_join.php"); + $code_types = array(); $default_search_type = ''; $ctres = sqlStatement("SELECT * FROM code_types WHERE ct_active=1 ORDER BY ct_seq, ct_key"); -- 2.11.4.GIT