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

ATXPOS3.m

Go to the documentation of this file.
ATXPOS3 ; IHS/OHPRD/TMJ -  IHS-TUCSON/GIS/THL ;  
 ;;2.0;IHS PCC SUITE;;MAY 14, 2009
 ;
PNEUSUR ;EP -pneumococcal risk
 W !!,"Checking PNEUMOCOCCAL RISK Surveillance Taxonomy..."
 S ATXFLG="",X="SURVEILLANCE PNEUMOCOCCAL RISK",DIC="^ATXAX(",DIC(0)="MO" D ^DIC K DIC,DA,DR,DIADD,DLAYGO,D0
 S ATXTAX=+Y I ATXTAX>0 S DA=ATXTAX,DIK="^ATXAX(" D ^DIK K DIK,DA,DR
 S:ATXTAX>0 DINUM=ATXTAX S ATXFLG="",X="SURVEILLANCE PNEUMOCOCCAL RISK",DIC="^ATXAX(",DIC(0)="L",DIADD=1,DLAYGO=9002226 D ^DIC K DIC,DA,DR,DIADD,DLAYGO,D0
 S ATXTAX=+Y
 S $P(^ATXAX(ATXTAX,0),U,2)="DX AT RISK FOR PNEUMOCOCCUS",$P(^(0),U,4)="n",$P(^(0),U,5)=DUZ,$P(^(0),U,6)=2900101,$P(^(0),U,8)=1,$P(^(0),U,9)=DT,$P(^(0),U,12)=31,$P(^(0),U,13)=1,$P(^(0),U,14)="BA"
 S $P(^ATXAX(ATXTAX,0),U,15)=80,$P(^(0),U,16)=1
 S ^ATXAX(ATXTAX,11,0)="^^2^2^2940510^^^^",^ATXAX(ATXTAX,11,1,0)="List of ICD diagnoses placing patients at risk for pneumococcal"
 S ^ATXAX(ATXTAX,11,2,0)="disease.  Used in Health Maintenance Reminder for pneumovax."
 S ^ATXAX(ATXTAX,21,0)="^9002226.02102^37^37",^ATXAX(ATXTAX,21,1,0)="011.50^011.64",^ATXAX(ATXTAX,21,2,0)="038.2^038.2",^ATXAX(ATXTAX,21,3,0)="042.0^044.9",^ATXAX(ATXTAX,21,4,0)="093.0^093.9"
 S ^ATXAX(ATXTAX,21,5,0)="140.0^208.91",^ATXAX(ATXTAX,21,6,0)="235.0^239.9",^ATXAX(ATXTAX,21,7,0)="242.00^246.1",^ATXAX(ATXTAX,21,8,0)="250.00^250.91"
 S ^ATXAX(ATXTAX,21,9,0)="251.0^271.9",^ATXAX(ATXTAX,21,10,0)="273.0^273.9",^ATXAX(ATXTAX,21,11,0)="275.0^275.9",^ATXAX(ATXTAX,21,12,0)="277.00^277.8"
 S ^ATXAX(ATXTAX,21,13,0)="281.00^284.93",^ATXAX(ATXTAX,21,14,0)="289.4^289.59",^ATXAX(ATXTAX,21,15,0)="303.00^303.93",^ATXAX(ATXTAX,21,16,0)="305.00^305.03",^ATXAX(ATXTAX,21,17,0)="331.7^331.7",^ATXAX(ATXTAX,21,18,0)="391.0^391.9"
 S ^ATXAX(ATXTAX,21,19,0)="393.^398.99",^ATXAX(ATXTAX,21,20,0)="402.00^405.91",^ATXAX(ATXTAX,21,21,0)="410.0^414.9",^ATXAX(ATXTAX,21,22,0)="581.0^583.9",^ATXAX(ATXTAX,21,23,0)="416.0^417.9",^ATXAX(ATXTAX,21,24,0)="423.0^425.9"
 S ^ATXAX(ATXTAX,21,25,0)="427.31^427.5",^ATXAX(ATXTAX,21,26,0)="428.0^429.89",^ATXAX(ATXTAX,21,27,0)="491.0^491.8",^ATXAX(ATXTAX,21,28,0)="492.0^511.9",^ATXAX(ATXTAX,21,29,0)="513.0^519.4",^ATXAX(ATXTAX,21,30,0)="570.^572.8"
 S ^ATXAX(ATXTAX,21,31,0)="585.^585.",^ATXAX(ATXTAX,21,32,0)="588.0^588.9",^ATXAX(ATXTAX,21,33,0)="590.00^590.81",^ATXAX(ATXTAX,21,34,0)="710.0^710.9",^ATXAX(ATXTAX,21,35,0)="714.0^714.9",^ATXAX(ATXTAX,21,36,0)="720.0^721.41"
 S ^ATXAX(ATXTAX,21,37,0)="865.00^865.19"
 S DA=ATXTAX,DIK="^ATXAX(" D IX1^DIK
 S ATXX=ATXTAX D ZTM^ATXAX ;update all these codes in icd9 file
 I $O(^ATXPAT(ATXTAX,11,0)) W !,"Pts already entered for this taxonomy.",! Q
 S ATXX=ATXTAX
 I '$D(^ATXPAT(ATXX,0)) S DIADD="",DIC="^ATXPAT(",DIC(0)="L",X="`"_ATXX,DIC("DR")=".02////"_DT_";.03////"_DUZ D ^DIC K DIADD,DIC,DR S ^ATXPAT(ATXX,11,0)="^9002227.01101PA^0^0"
 D TSKMN^ATXENP ;enter patients into patient taxonomy
 Q