source: WorldVistAEHR/trunk/r/WORLDVISTA-VW/VWCPTPST.m@ 701

Last change on this file since 701 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 1.8 KB
Line 
1VWCPTPST ;WorldVistA/Port Clinton/SO- Post Install for CPT Codes;3:49 AM 16 Oct 2009
2 ;;1.0;;;;Build 6
3 ;
4POST ;This is called from the build's Post-installation
5 N DATA
6 F I=1:1 S DATA=$T(TBL+I) D Q:$P(DATA,U)="EOD"
7 . S DATA=$P(DATA,";;",2)
8 . I $P(DATA,U)="EOD" Q ;No more global roots to process
9 . I '($D(^XTMP("VWCPT",0))#2) S ^XTMP("VWCPT",0)=$$FMADD^XLFDT(DT,365)_U
10 . N GROOT S GROOT=U_$P(DATA,U)
11 . I ($D(@GROOT@(0))#2) N FHDR S FHDR=@GROOT@(0)
12 . S ^XTMP("VWCPT",$P(GROOT,U,2),"Z2-AFTER")=$S($G(FHDR)'="":FHDR,1:$P(DATA,U,2)_" "_$P(DATA,U,3)_" FILE HAS BEEN DELETED")
13 . QUIT
14 I $G(XPDNM)]"" D DISP
15 QUIT
16 ;
17DISP ;Display the Before and After Results
18 N GROOT S GROOT="#"
19 F S GROOT=$O(^XTMP("VWCPT",GROOT)) Q:GROOT="" D
20 . N X
21 . F I="Z1-BEFORE","Z2-AFTER" S X=^XTMP("VWCPT",GROOT,I) D MES^XPDUTL(X)
22 . S X=" " D MES^XPDUTL(X)
23 . QUIT
24 QUIT
25 ;
26TBL ;Table of Global Roots; File Number; & File Name
27 ;;ICD9^80^ICD DIAGNOSIS
28 ;;ICD0^80.1^ICD OPERATION/PROCEDURE
29 ;;ICPT^81^CPT
30 ;;DIC(81.1)^81.1^CPT CATEGORY
31 ;;DIC(81.2)^81.2^CPT COPYRIGHT
32 ;;DIC(81.3)^81.3^CPT MODIFIER
33 ;;LEX(757.02)^757.02^CODES
34 ;;LEX(757.03)^757.03^CODING SYSTEMS
35 ;;LEX(757.001)^757.001^CONCEPT USAGE
36 ;;LEX(757.31)^757.31^DISPLAYS
37 ;;LEX(757.04)^757.04^EXCLUDED WORDS
38 ;;LEX(757.014)^757.014^EXPRESSION FORM
39 ;;LEX(757.011)^757.011^EXPRESSION TYPE
40 ;;LEX(757.01)^757.01^EXPRESSIONS
41 ;;LEX(757.3)^757.3^LOOK-UP SCREENS
42 ;;LEX(757)^757^MAJOR CONCEPT MAP
43 ;;LEX(757.05)^757.05^REPLACEMENT WORDS
44 ;;LEX(757.11)^757.11^SEMANTIC CLASS
45 ;;LEX(757.1)^757.1^SEMANTIC MAP
46 ;;LEX(757.12)^757.12^SEMANTIC TYPE
47 ;;LEX(757.41)^757.41^SHORTCUT CONTEXT
48 ;;LEX(757.4)^757.4^SHORTCUTS
49 ;;LEX(757.14)^757.14^SOURCE
50 ;;LEX(757.13)^757.13^SOURCE CATEGORY
51 ;;LEX(757.21)^757.21^SUBSETS
52 ;;LEX(757.06)^757.06^UNRESOLVED NARRATIVES
53 ;;LEXT(757.2)^757.2^SUBSET DEFINITIONS
54 ;;EOD^^End Of Data
Note: See TracBrowser for help on using the repository browser.