1 | VWCPTPRE ;WorldVistA/Port Clinton/SO- Pre Install for CPT Codes;3:24 AM 16 Oct 2009
|
---|
2 | ;;1.0;;;;Build 6
|
---|
3 | ;
|
---|
4 | PRE ;This is called from the build's Pre-installation
|
---|
5 | N DATA
|
---|
6 | I ($D(^XTMP("VWCPT",0))#2) K ^XTMP("VWCPT")
|
---|
7 | F I=1:1 S DATA=$T(TBL+I) D Q:$P(DATA,U)="EOD"
|
---|
8 | . S DATA=$P(DATA,";;",2)
|
---|
9 | . I $P(DATA,U)="EOD" Q ;No more global roots to process
|
---|
10 | . I '($D(^XTMP("VWCPT",0))#2) S ^XTMP("VWCPT",0)=$$FMADD^XLFDT(DT,365)_U_DT_U_"WorldVistA CPT Install"
|
---|
11 | . N GROOT S GROOT=U_$P(DATA,U)
|
---|
12 | . I ($D(@GROOT@(0))#2) N FHDR S FHDR=@GROOT@(0)
|
---|
13 | . S ^XTMP("VWCPT",$P(GROOT,U,2),"Z1-BEFORE")=$S($G(FHDR)'="":FHDR,1:$P(DATA,U,2)_" "_$P(DATA,U,3)_" IS A NEW FILE")
|
---|
14 | . QUIT
|
---|
15 | QUIT
|
---|
16 | ;
|
---|
17 | TBL ;Table of Global Roots; File Number; & File Name
|
---|
18 | ;;ICD9^80^ICD DIAGNOSIS
|
---|
19 | ;;ICD0^80.1^ICD OPERATION/PROCEDURE
|
---|
20 | ;;ICPT^81^CPT
|
---|
21 | ;;DIC(81.1)^81.1^CPT CATEGORY
|
---|
22 | ;;DIC(81.2)^81.2^CPT COPYRIGHT
|
---|
23 | ;;DIC(81.3)^81.3^CPT MODIFIER
|
---|
24 | ;;LEX(757.02)^757.02^CODES
|
---|
25 | ;;LEX(757.03)^757.03^CODING SYSTEMS
|
---|
26 | ;;LEX(757.001)^757.001^CONCEPT USAGE
|
---|
27 | ;;LEX(757.31)^757.31^DISPLAYS
|
---|
28 | ;;LEX(757.04)^757.04^EXCLUDED WORDS
|
---|
29 | ;;LEX(757.014)^757.014^EXPRESSION FORM
|
---|
30 | ;;LEX(757.011)^757.011^EXPRESSION TYPE
|
---|
31 | ;;LEX(757.01)^757.01^EXPRESSIONS
|
---|
32 | ;;LEX(757.3)^757.3^LOOK-UP SCREENS
|
---|
33 | ;;LEX(757)^757^MAJOR CONCEPT MAP
|
---|
34 | ;;LEX(757.05)^757.05^REPLACEMENT WORDS
|
---|
35 | ;;LEX(757.11)^757.11^SEMANTIC CLASS
|
---|
36 | ;;LEX(757.1)^757.1^SEMANTIC MAP
|
---|
37 | ;;LEX(757.12)^757.12^SEMANTIC TYPE
|
---|
38 | ;;LEX(757.41)^757.41^SHORTCUT CONTEXT
|
---|
39 | ;;LEX(757.4)^757.4^SHORTCUTS
|
---|
40 | ;;LEX(757.14)^757.14^SOURCE
|
---|
41 | ;;LEX(757.13)^757.13^SOURCE CATEGORY
|
---|
42 | ;;LEX(757.21)^757.21^SUBSETS
|
---|
43 | ;;LEX(757.06)^757.06^UNRESOLVED NARRATIVES
|
---|
44 | ;;LEXT(757.2)^757.2^SUBSET DEFINITIONS
|
---|
45 | ;;EOD^^End Of Data
|
---|