Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Fields |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All
Print Page as PDF
Global: ^KLAS(1200.4

Package: ClassMan

Global: ^KLAS(1200.4


Information

FileMan FileNo FileMan Filename Package
1200.4 CLASSMAN COURSE LOG ClassMan

Description

Directly Accessed By Routines, Total: 4

Package Total Routines
ClassMan 4 KLASMAN    ^KLAS(1200.4    KLASSTU    STUDENT    

Accessed By FileMan Db Calls, Total: 2

Package Total Routines
ClassMan 2 KLASMAN    KLASMAN0    

Fields, Total: 8

Field # Name Loc Type Details
.01 NAME 0;1 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
  • HELP-PROMPT:  ANSWER MUST BE 3-30 CHARACTERS IN LENGTH
  • DESCRIPTION:  
    Course name.
  • CROSS-REFERENCE:  1200.4^B
    1)= S ^KLAS(1200.4,"B",$E(X,1,30),DA)=""
    2)= K ^KLAS(1200.4,"B",$E(X,1,30),DA)
1 INSTRUCTOR 0;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
  • HELP-PROMPT:  ANSWER MUST BE 3-30 CHARACTERS IN LENGTH
  • DESCRIPTION:  
    Name of the course instructor.
1.5 LOGGING 2;1 SET
  • 'YES' FOR YES (LOGGING);
  • 'NO' FOR NO (NO LOGGING);

  • LAST EDITED:  FEB 16, 1989
  • DESCRIPTION:  
    This is a flag that is set when a class is started. When set to yes the Print Statistics option will include the flagged classes in its print out.
2 START 0;3 DATE

  • INPUT TRANSFORM:  S %DT="ET" D ^%DT S X=Y K:Y<1 X
  • DESCRIPTION:  
    Class start time.
3 STOP 0;4 DATE

  • INPUT TRANSFORM:  S %DT="ET" D ^%DT S X=Y K:Y<1 X
  • DESCRIPTION:  
    Class stop time.
3.5 INSTRUCTOR TIME COMPUTED

  • MUMPS CODE:  X ^DD(1200.4,3.5,9.2) S X1=Y(1200.4,3.5,2) S Y=$E(X1_"000",9,10)-$E(X_"000",9,10)*60+$E(X1_"00000",11,12)-$E(X_"00000",11,12),X2=X,X=$P(X,".",1)'=$P(X1,".",1) D ^%DTC:X S X=X*1440+Y
    9.2 = S Y(1200.4,3.5,1)=$S($D(^KLAS(1200.4,D0,0)):^(0),1:"") S X=$P(Y(1200.4,3.5,1),U,4),Y(1200.4,3.5,2)=X S X=$P(Y(1200.4,3.5,1),U,3)
  • ALGORITHM:  MINUTES(STOP,START)
  • DESCRIPTION:  Total time instructor spent in class. Time is computed in minutes. Time recorded in hours and minutes is stored in HRS:MIN field 5.
    (Elapsed time is computed using class start and stop times.)
4 STUDENT 1;0 Multiple #1200.44 1200.44

  • DESCRIPTION:  
    Multiple field used for collecting student data.
5 HRS:MIN COMPUTED

  • MUMPS CODE:  X ^DD(1200.4,5,9.2) S X=X\60,Y=X,X=Y(1200.4,5,4),X=X*Y,Y=X,X=Y(1200.4,5,3),X=X-Y,Y=X,X=Y(1200.4,5,2),X=X_Y
    9.2 = X $P(^DD(1200.4,3.5,0),U,5,99) S Y(1200.4,5,1)=X S X=Y(1200.4,5,1)\60_": ",Y(1200.4,5,2)=X S X=Y(1200.4,5,1),Y(1200.4,5,3)=X S X=60,Y(1200.4,5,4)=X S X=Y(1200.4,5,1)
  • ALGORITHM:  #3.5\60_": "_(#3.5-(60*(#3.5\60)))
  • DESCRIPTION:  Total class time for instructor computed in hours and minutes.
    (Elapsed time in minutes is stored in instructor time field 3.5)

External References

Name Field # of Occurrence
^%DT 2+1, 3+1
^%DTC 3.5+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(1200.4 3.5+1, 5+1, 5OF9.2+1
^KLAS(1200.4 - [#1200.4] .01(XREF 1S), .01(XREF 1K), 3.5OF9.2+1

Naked Globals

Name Field # of Occurrence
^(0 3.5OF9.2+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT 2+1*, 3+1*
>> D0 3.5OF9.2+1
>> DA .01(XREF 1S), .01(XREF 1K)
U 3.5OF9.2+1, 5OF9.2+1
X .01+1!, .01(XREF 1S), .01(XREF 1K), 1+1!, 2+1*!, 3+1*!, 3.5+1*, 3.5OF9.2+1*, 5+1*, 5OF9.2+1*
>> X1 3.5+1*
>> X2 3.5+1*
>> Y 2+1, 3+1, 3.5+1*, 5+1*
>> Y( 3.5+1, 3.5OF9.2+1*, 5+1, 5OF9.2+1*
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Fields |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All