Changeset 1586 for ccr/trunk/p/C0CVIT2.m


Ignore:
Timestamp:
Oct 30, 2012, 1:11:02 PM (12 years ago)
Author:
Sam Habiel
Message:

Changed license to AGPL. Some clean-up for XINDEX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccr/trunk/p/C0CVIT2.m

    r1544 r1586  
    11C0CVIT2 ; CCDCCR/CJE/GPL - CCR/CCD PROCESSING FOR VITALS ; 07/16/08
    2         ;;1.2;C0C;;May 11, 2012;Build 47
     2        ;;1.2;CCD/CCR GENERATION UTILITIES;;Oct 30, 2012;Build 50
    33        ;Copyright 2008,2009 George Lilly, University of Minnesota and others.
    4         ;Licensed under the terms of the GNU General Public License.
    5         ;See attached copy of the License.
    6         ;
    7         ;This program is free software; you can redistribute it and/or modify
    8         ;it under the terms of the GNU General Public License as published by
    9         ;the Free Software Foundation; either version 2 of the License, or
    10         ;(at your option) any later version.
    11         ;
    12         ;This program is distributed in the hope that it will be useful,
    13         ;but WITHOUT ANY WARRANTY; without even the implied warranty of
    14         ;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    15         ;GNU General Public License for more details.
    16         ;
    17         ;You should have received a copy of the GNU General Public License along
    18         ;with this program; if not, write to the Free Software Foundation, Inc.,
    19         ;51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
     4        ;
     5        ; This program is free software: you can redistribute it and/or modify
     6        ; it under the terms of the GNU Affero General Public License as
     7        ; published by the Free Software Foundation, either version 3 of the
     8        ; License, or (at your option) any later version.
     9        ;
     10        ; This program is distributed in the hope that it will be useful,
     11        ; but WITHOUT ANY WARRANTY; without even the implied warranty of
     12        ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13        ; GNU Affero General Public License for more details.
     14        ;
     15        ; You should have received a copy of the GNU Affero General Public License
     16        ; along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2017        ;
    2118        W "NO ENTRY FROM TOP",!
     
    6663        I '$D(VIT) S @VITOUT@(0)=0 K VIT Q  ; RETURN NOT FOUND, KILL ARRAY AND QUIT
    6764        I $P(VIT(1),U,2)="No vitals found." D  Q  ; signal no vitals and quit
    68         . I $D(VITOUT) S @VITOUT@(0)=0 
     65        . I $D(VITOUT) S @VITOUT@(0)=0
    6966        . K VIT
    7067        ;
     
    168165        Q
    169166        ;
    170 HEIGHT 
     167HEIGHT  ;
    171168        I DEBUG W "IN VITAL:  HEIGHT",!
    172169        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC ; UNIQUE OBJID
     
    185182        Q
    186183        ;
    187 WEIGHT 
     184WEIGHT  ;
    188185        I DEBUG W "IN VITAL:  WEIGHT",!
    189186        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC
     
    202199        Q
    203200        ;
    204 BP     
     201BP      ;
    205202        I DEBUG W "IN VITAL:  BLOOD PRESSURE",!
    206203        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC
     
    219216        Q
    220217        ;
    221 TMP     
     218TMP     ;
    222219        I DEBUG W "IN VITAL:  TEMPERATURE",!
    223220        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC
     
    236233        Q
    237234        ;
    238 RESP   
     235RESP    ;
    239236        I DEBUG W "IN VITAL:  RESPIRATION",!
    240237        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC
     
    253250        Q
    254251        ;
    255 PULSE   
     252PULSE   ;
    256253        I DEBUG W "IN VITAL:  PULSE",!
    257254        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC
     
    270267        Q
    271268        ;
    272 PAIN   
     269PAIN    ;
    273270        I DEBUG W "IN VITAL:  PAIN",!
    274271        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC
     
    287284        Q
    288285        ;
    289 OTHER   
     286OTHER   ;
    290287        I DEBUG W "IN VITAL:  OTHER",!
    291288        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC
     
    305302        ;
    306303        ;TEMPORARY, THINKING ON HOW TO REFACTOR (CJE)
    307 HEIGHT1(DT,ACTOR,VALUE,UNIT)   
     304HEIGHT1(DT,ACTOR,VALUE,UNIT)    ;
    308305        I DEBUG W "IN VITAL:  HEIGHT",!
    309306        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC ; UNIQUE OBJID
     
    322319        Q
    323320        ;
    324 WEIGHT1(DT,ACTOR,VALUE,UNIT)   
     321WEIGHT1(DT,ACTOR,VALUE,UNIT)    ;
    325322        I DEBUG W "IN VITAL:  WEIGHT",!
    326323        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC
     
    339336        Q
    340337        ;
    341 BP1(DT,ACTOR,VALUE,UNIT)       
     338BP1(DT,ACTOR,VALUE,UNIT)        ;
    342339        I DEBUG W "IN VITAL:  BLOOD PRESSURE",!
    343340        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC
     
    356353        Q
    357354        ;
    358 TMP1(DT,ACTOR,VALUE,UNIT)       
     355TMP1(DT,ACTOR,VALUE,UNIT)       ;
    359356        I DEBUG W "IN VITAL:  TEMPERATURE",!
    360357        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC
     
    373370        Q
    374371        ;
    375 RESP1(DT,ACTOR,VALUE,UNIT)     
     372RESP1(DT,ACTOR,VALUE,UNIT)      ;
    376373        I DEBUG W "IN VITAL:  RESPIRATION",!
    377374        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC
     
    390387        Q
    391388        ;
    392 PULSE1(DT,ACTOR,VALUE,UNIT)     
     389PULSE1(DT,ACTOR,VALUE,UNIT)     ;
    393390        I DEBUG W "IN VITAL:  PULSE",!
    394391        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC
     
    407404        Q
    408405        ;
    409 PAIN1(DT,ACTOR,VALUE,UNIT)     
     406PAIN1(DT,ACTOR,VALUE,UNIT)      ;
    410407        I DEBUG W "IN VITAL:  PAIN",!
    411408        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC
     
    424421        Q
    425422        ;
    426 OTHER1(DT,TEXT,ACTOR,VALUE,UNIT)       
     423OTHER1(DT,TEXT,ACTOR,VALUE,UNIT)        ;
    427424        I DEBUG W "IN VITAL:  OTHER",!
    428425        S ZRNF("VITALSIGNSDATAOBJECTID")="VITAL"_C0CC
Note: See TracChangeset for help on using the changeset viewer.