Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: AUM6I001

AUM6I001.m

Go to the documentation of this file.
AUM6I001 ; DSD/GTH - HEALTH FACTORS INIT ; 23-SEP-1993
 ;;93.1;TABLE MAINTENANCE;**6**;MARCH 23, 1993
 Q:'DIFQ(9999999.64)  F I=1:2 S X=$T(Q+I) Q:X=""  S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E  S @X=Y
Q Q
 ;;^DIC(9999999.64,0,"GL")
 ;;=^AUTTHF(
 ;;^DIC("B","HEALTH FACTORS",9999999.64)
 ;;=
 ;;^DD(9999999.64,0)
 ;;=FIELD^^1101^11
 ;;^DD(9999999.64,0,"DDA")
 ;;=N
 ;;^DD(9999999.64,0,"DT")
 ;;=2911015
 ;;^DD(9999999.64,0,"ID",.1)
 ;;=W ""
 ;;^DD(9999999.64,0,"IX","AC",9999999.64,.03)
 ;;=
 ;;^DD(9999999.64,0,"IX","AD",9999999.64,.1)
 ;;=
 ;;^DD(9999999.64,0,"IX","B",9999999.64,.01)
 ;;=
 ;;^DD(9999999.64,0,"IX","C",9999999.64,.02)
 ;;=
 ;;^DD(9999999.64,0,"IX","D",9999999.64,.09)
 ;;=
 ;;^DD(9999999.64,0,"NM","HEALTH FACTORS")
 ;;=
 ;;^DD(9999999.64,0,"PT",9000019,.01)
 ;;=
 ;;^DD(9999999.64,0,"PT",9999999.64,.03)
 ;;=
 ;;^DD(9999999.64,0,"PT",9999999.641101,.01)
 ;;=
 ;;^DD(9999999.64,.01,0)
 ;;=FACTOR^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
 ;;^DD(9999999.64,.01,1,0)
 ;;=^.1
 ;;^DD(9999999.64,.01,1,1,0)
 ;;=9999999.64^B
 ;;^DD(9999999.64,.01,1,1,1)
 ;;=S ^AUTTHF("B",$E(X,1,30),DA)=""
 ;;^DD(9999999.64,.01,1,1,2)
 ;;=K ^AUTTHF("B",$E(X,1,30),DA)
 ;;^DD(9999999.64,.01,3)
 ;;=Answer must be 3-30 characters in length.
 ;;^DD(9999999.64,.01,"DEL",.01,0)
 ;;=I 1
 ;;^DD(9999999.64,.01,"DT")
 ;;=2910701
 ;;^DD(9999999.64,.02,0)
 ;;=CODE^F^^0;2^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>4!($L(X)<4)!'(X?4N) X
 ;;^DD(9999999.64,.02,1,0)
 ;;=^.1
 ;;^DD(9999999.64,.02,1,1,0)
 ;;=9999999.64^C
 ;;^DD(9999999.64,.02,1,1,1)
 ;;=S ^AUTTHF("C",$E(X,1,30),DA)=""
 ;;^DD(9999999.64,.02,1,1,2)
 ;;=K ^AUTTHF("C",$E(X,1,30),DA)
 ;;^DD(9999999.64,.02,1,1,"DT")
 ;;=2910701
 ;;^DD(9999999.64,.02,3)
 ;;=Answer must be 4 characters in length.
 ;;^DD(9999999.64,.02,"DT")
 ;;=2910701
 ;;^DD(9999999.64,.03,0)
 ;;=CATEGORY^R*P9999999.64'^AUTTHF(^0;3^S DIC("S")="I $P(^(0),U,10)'=""F""" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
 ;;^DD(9999999.64,.03,1,0)
 ;;=^.1
 ;;^DD(9999999.64,.03,1,1,0)
 ;;=9999999.64^AC
 ;;^DD(9999999.64,.03,1,1,1)
 ;;=S ^AUTTHF("AC",$E(X,1,30),DA)=""
 ;;^DD(9999999.64,.03,1,1,2)
 ;;=K ^AUTTHF("AC",$E(X,1,30),DA)
 ;;^DD(9999999.64,.03,1,1,"DT")
 ;;=2911011
 ;;^DD(9999999.64,.03,3)
 ;;=Select the category to which this factor belongs.
 ;;^DD(9999999.64,.03,12)
 ;;=Prevents pointing CATEGORY field to non-category entries.
 ;;^DD(9999999.64,.03,12.1)
 ;;=S DIC("S")="I $P(^(0),U,10)'=""F"""
 ;;^DD(9999999.64,.03,"DT")
 ;;=2911015
 ;;^DD(9999999.64,.04,0)
 ;;=SHORT NAME^F^^0;4^K:$L(X)>10!($L(X)<2) X
 ;;^DD(9999999.64,.04,3)
 ;;=Answer must be 2-10 characters in length.
 ;;^DD(9999999.64,.04,"DT")
 ;;=2910701
 ;;^DD(9999999.64,.05,0)
 ;;=USE ONLY WITH SEX^S^F:FEMALE;M:MALE;^0;5^Q
 ;;^DD(9999999.64,.05,"DT")
 ;;=2910701
 ;;^DD(9999999.64,.06,0)
 ;;=LOWER AGE^NJ5,0^^0;6^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."1N.N) X
 ;;^DD(9999999.64,.06,3)
 ;;=Type a Number between 0 and 99999, 0 Decimal Digits
 ;;^DD(9999999.64,.06,"DT")
 ;;=2910701
 ;;^DD(9999999.64,.07,0)
 ;;=UPPER AGE^NJ5,0^^0;7^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."1N.N) X
 ;;^DD(9999999.64,.07,3)
 ;;=Type a Number between 0 and 99999, 0 Decimal Digits
 ;;^DD(9999999.64,.07,"DT")
 ;;=2910701
 ;;^DD(9999999.64,.08,0)
 ;;=DISPLAY ON HEALTH SUMMARY^S^Y:YES;N:NO;^0;8^Q
 ;;^DD(9999999.64,.08,"DT")
 ;;=2910701
 ;;^DD(9999999.64,.09,0)
 ;;=SYNONYM^F^^0;9^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<2) X
 ;;^DD(9999999.64,.09,1,0)
 ;;=^.1
 ;;^DD(9999999.64,.09,1,1,0)
 ;;=9999999.64^D
 ;;^DD(9999999.64,.09,1,1,1)
 ;;=S ^AUTTHF("D",$E(X,1,30),DA)=""
 ;;^DD(9999999.64,.09,1,1,2)
 ;;=K ^AUTTHF("D",$E(X,1,30),DA)
 ;;^DD(9999999.64,.09,1,1,"DT")
 ;;=2910701
 ;;^DD(9999999.64,.09,3)
 ;;=Answer must be 2-30 characters in length.
 ;;^DD(9999999.64,.09,"DT")
 ;;=2910701
 ;;^DD(9999999.64,.1,0)
 ;;=ENTRY TYPE^RS^C:CATEGORY;F:FACTOR;^0;10^Q
 ;;^DD(9999999.64,.1,1,0)
 ;;=^.1
 ;;^DD(9999999.64,.1,1,1,0)
 ;;=9999999.64^AD
 ;;^DD(9999999.64,.1,1,1,1)
 ;;=S ^AUTTHF("AD",$E(X,1,30),DA)=""
 ;;^DD(9999999.64,.1,1,1,2)
 ;;=K ^AUTTHF("AD",$E(X,1,30),DA)
 ;;^DD(9999999.64,.1,1,1,"DT")
 ;;=2911015
 ;;^DD(9999999.64,.1,3)
 ;;=Enter C if this entry represents a category to which other entries will refer, otherwise enter F.
 ;;^DD(9999999.64,.1,"DT")
 ;;=2911015
 ;;^DD(9999999.64,1101,0)
 ;;=NOT USED WITH^9999999.641101P^^11;0
 ;;^DD(9999999.641101,0)
 ;;=NOT USED WITH SUB-FIELD^^.01^1
 ;;^DD(9999999.641101,0,"DT")
 ;;=2910701
 ;;^DD(9999999.641101,0,"IX","B",9999999.641101,.01)
 ;;=
 ;;^DD(9999999.641101,0,"NM","NOT USED WITH")
 ;;=
 ;;^DD(9999999.641101,0,"UP")
 ;;=9999999.64
 ;;^DD(9999999.641101,.01,0)
 ;;=NOT USED WITH^MP9999999.64'^AUTTHF(^0;1^Q
 ;;^DD(9999999.641101,.01,1,0)
 ;;=^.1
 ;;^DD(9999999.641101,.01,1,1,0)
 ;;=9999999.641101^B
 ;;^DD(9999999.641101,.01,1,1,1)
 ;;=S ^AUTTHF(DA(1),11,"B",$E(X,1,30),DA)=""
 ;;^DD(9999999.641101,.01,1,1,2)
 ;;=K ^AUTTHF(DA(1),11,"B",$E(X,1,30),DA)