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 |  Pointer To FileMan Files |  Fields |  All
Print Page as PDF
Global: ^ADEDSR

Package: IHS Dental System

Global: ^ADEDSR


Information

FileMan FileNo FileMan Filename Package
9002003.4 DENTAL DEFERRED SVCS REGISTER IHS Dental System

Description

Directly Accessed By Routines, Total: 3

Package Total Routines
IHS Dental System 2 ADEPDFR    ADEPDIN    
Local Area Programs 1 AZAXDPM1    

Pointer To FileMan Files, Total: 2

Package Total FileMan Files
IHS Dental System 1 DENTAL DEFERRED NEED TYPES(#9002003.3)[#9002003.43(.01)]    
IHS Patient 1 PATIENT(#9000001)[.01]    

Fields, Total: 7

Field # Name Loc Type Details
.01 PATIENT NAME 0;1 POINTER TO PATIENT FILE (#9000001)
************************REQUIRED FIELD************************
PATIENT(#9000001)

  • INPUT TRANSFORM:  S:$D(X) DINUM=X
  • LAST EDITED:  AUG 01, 1990
  • HELP-PROMPT:  Enter patient's lastname, chart #, or ?? to see list of names.
  • DESCRIPTION:  
    This field points to the IHS PATIENT file and is DINUM with entries in that file.  Laygo is allowed for this file.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
  • CROSS-REFERENCE:  9002003.4^B
    1)= S ^ADEDSR("B",$E(X,1,30),DA)=""
    2)= K ^ADEDSR("B",$E(X,1,30),DA)
1 AGE COMPUTED

  • MUMPS CODE:  X ^DD(9002003.4,1,9.2) X $P(^DD(9000001,1102.99,0),U,5,99) S Y(9002003.4,1,101)=X S X=Y(9002003.4,1,101) S D0=Y(9002003.4,1,80) S X=$J(X,0,0)
    9.2 = S Y(9002003.4,1,80)=$S($D(D0):D0,1:""),Y(9002003.4,1,1)=$S($D(^ADEDSR(D0,0)):^(0),1:""),D0=$P(Y(9002003.4,1,1),U,1) S:'$D(^AUPNPAT(+D0,0)) D0=-1
  • ALGORITHM:  .01:AGE (ALWAYS 0 DECIMAL DIGITS)
2 COMMUNITY COMPUTED

  • MUMPS CODE:  X ^DD(9002003.4,2,9.2) S Y(9002003.4,2,101)=$S($D(^AUPNPAT(D0,11)):^(11),1:"") S X=$P(Y(9002003.4,2,101),U,18) S D0=Y(9002003.4,2,80)
    9.2 = S Y(9002003.4,2,80)=$S($D(D0):D0,1:""),Y(9002003.4,2,1)=$S($D(^ADEDSR(D0,0)):^(0),1:""),D0=$P(Y(9002003.4,2,1),U,1) S:'$D(^AUPNPAT(+D0,0)) D0=-1
  • ALGORITHM:  .01:CURRENT COMMUNITY
3 DEFERRED NEEDS 1;0 POINTER Multiple #9002003.43 9002003.43
4 DATE ADDED 2;1 DATE

  • INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
  • HELP-PROMPT:  ENTER A VALID DATE ADDED
  • DESCRIPTION:  
    FIELD WILL CONTAIN VALID DATE ADDED
5 TOTAL COST 0;2 NUMBER

  • INPUT TRANSFORM:  S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999)!(X<0) X
  • HELP-PROMPT:  Type a Dollar Amount between 0 and 9999, 2 Decimal Digits
  • DESCRIPTION:  
    FIELD WILL CONTAIN VALID TOTAL COST
  • NOTES:  TRIGGERED by the TYPE FEE field of the DEFERRED NEEDS sub-field of the DENTAL DEFERRED SVCS REGISTER File
6 CHART# COMPUTED

  • MUMPS CODE:  S X=$S('($D(DUZ(2))#2):"",'DUZ(2):"",'$D(^AUPNPAT($P(^ADEDSR(D0,0),U),41,DUZ(2),0)):"",1:$P(^AUPNPAT($P(^ADEDSR(D0,0),U),41,DUZ(2),0),U,2))
  • ALGORITHM:  S X=$S('($D(DUZ(2))#2):"",'DUZ(2):"",'$D(^AUPNPAT($P(^ADEDSR(D0,0),U),41,DUZ(2),0)):"",1:$P(^AUPNPAT($P(^ADEDSR(D0,0),U),41,DUZ(2),0),U,2))
Info |  Desc |  Directly Accessed By Routines |  Pointer To FileMan Files |  Fields |  All