Changeset 21017 in main
- Timestamp:
- 07/12/20 15:20:23 (6 months ago)
- Location:
- adopters/nm/trunk/src/main/backend_qModules/3.0/idepi
- Files:
-
- 4 added
- 10 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/NM_PctPositiveTest.def
r20973 r21017 22 22 ****************************************************************; 23 23 data tmp; set tmp; 24 if %spvar2% ;24 %spvar2% 25 25 percentvar=0; 26 26 if %spvar1% then percentvar=1; … … 32 32 ?cross2? %cross2% 33 33 ; 34 output out=tmp (drop=_TYPE_ _FREQ_ 34 output out=tmp (drop=_TYPE_ _FREQ_) sum=count n=totalnum ; 35 35 run; 36 36 proc sort data=tmp out=sorted; by %cross1% … … 41 41 title2 '1. TMP - numerator dataset, sorted'; 42 42 run; 43 43 44 44 *********************** 2. data_frame **************************; 45 45 * df_%cross1%%cross2% is a dataset created by IBIS-Q. ; -
adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/NM_PctPositiveTestZIP.def
r20953 r21017 22 22 ****************************************************************; 23 23 data tmp; set tmp; 24 %spvar2% 24 25 percentvar=0; 25 26 if %spvar1% then percentvar=1; 27 if _SPECIMEN_COLL_DT > (TODAY()+15) then delete; 26 28 run; 27 29 proc summary data=tmp; … … 35 37 ?cross2? %cross2% 36 38 ; run; 37 proc print data= tmpnoobs;39 proc print data=sorted noobs; 38 40 title1 '---------------------------------'; 39 title2 '1. TMP - numerator dataset ';41 title2 '1. TMP - numerator dataset, sorted'; 40 42 run; 41 43 … … 51 53 count=0; 52 54 rename zipcode=ZIP_CODE_OF_POLY ; 53 drop popcount;55 keep count zipcode ; 54 56 run; 55 57 proc sort data=frame; by %cross1% -
adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/NM_Rate100ZIP.def
r20948 r21017 105 105 on 106 106 ?popcross1? tmp.%cross1%=pop.%popcross1%; 107 ?popcross2? tmp.%cross2%=pop.%popcross2%; 107 ?popcross2? tmp.%cross2%=pop.%popcross2%; 108 108 quit; 109 109 %end; … … 127 127 %popcross; 128 128 proc print data=numbers noobs; title2 '6. NUMBERS - tmp merged with pop dataset'; run; 129 129 130 130 ********************** 4. tmp, again ****************************; 131 131 * Create the output variables for the IBIS xml/map file. ; -
adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/NM_RateCrudeCOVID.def
r20948 r21017 59 59 title2 '2. Data Frame'; 60 60 run; 61 61 62 62 data tmp; 63 63 merge frame sorted; … … 66 66 ; 67 67 run; 68 69 68 proc print data=tmp noobs; 70 69 title2 '2. TMP'; … … 88 87 proc summary data=poptmp; 89 88 var popcount; 90 output out=pop sum=popcount;89 output out=pop (drop=_TYPE_ _FREQ_) sum=popcount; 91 90 run; 92 91 proc sql; … … 101 100 var popcount; 102 101 class %popcross1% %popcross2%; 103 output out=pop sum=popcount;102 output out=pop (drop=_TYPE_ _FREQ_) sum=popcount; 104 103 run; 105 104 proc sql; … … 118 117 var popcount; 119 118 class %popcross1% %popcross2% ; 120 output out=pop sum=popcount;119 output out=pop (drop=_TYPE_ _FREQ_) sum=popcount; 121 120 run; 122 121 proc sql; … … 132 131 %popcross; 133 132 134 proc print data=pop; title3 'pop'; run; 135 proc print data=numbers; title3 'numbers'; run; 133 proc print data=pop; title3 'pop'; run; 134 proc sort data=numbers; by %cross1% 135 ?cross2? %cross2% 136 ; run; 137 proc print data=numbers; title3 'numbers'; run; 136 138 137 139 ********************** 4. RATE **********************************; … … 211 213 n 15.0 212 214 popcount 15.0 215 LL 15.3 216 UL 15.3 213 217 redflag 15.0 214 218 --------BoNdArY-------- -
adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/XMLCount.map
r20860 r21017 1 1 1 MEASURE Count 2 2 VALUE_ATTRIBUTE_NAME -
adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/XMLPctDesirableLow.map
r20860 r21017 1 1 MEASURE P ctDesirableLow1 1 MEASURE Percentage 2 2 2 ANCILLARY_VALUE Numerator 3 3 3 ANCILLARY_VALUE Denominator 4 4 4 ANCILLARY_VALUE LowerConfidenceLimit 5 5 5 ANCILLARY_VALUE UpperConfidenceLimit 6 6 VALUE_ATTRIBUTE Code6 6 VALUE_ATTRIBUTE_NAME -
adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/XMLRateCases100K.map
r20252 r21017 4 4 4 ANCILLARY_VALUE LowerConfidenceLimit 5 5 5 ANCILLARY_VALUE UpperConfidenceLimit 6 6 VALUE_ATTRIBUTE Code6 6 VALUE_ATTRIBUTE_NAME -
adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/_COVID19Cnty.cfg
r21016 r21017 17 17 d saspopdata popibiscnty90_18_28jun2019 18 18 d sas_bin "C:\Program&Files\SASHome\SASFoundation\9.4\sas.exe" 19 #r data_where 1<=fipscnty=9719 r data_where 1<=fipscnty<=97 20 20 r pop_where year=2020 21 r sasstdpop morstd22 21 #################################################################### 23 22 d response_head_content XMLResponse.head … … 30 29 r cross2 none 31 30 r spvar1 none 31 r spvar2 none 32 32 # Year 1993 33 33 r sas 0 … … 52 52 # type2= 0 -- Categorical variable 53 53 # 1 -- Non catergorical (Continuous) variable 54 # 3 -- Groupable variable (Continuous, need regrouping by cgi ,)54 # 3 -- Groupable variable (Continuous, need regrouping by cgi) 55 55 # 4 -- Grouped variable (keep the name space) 56 56 # 6 -- Multiple columns … … 65 65 30 onsetdate OnsetDate null IllnessOnset char 0 9 66 66 10 status CaseStatus null CaseStatus num 0 8 67 10 dieind DthIndicator null DiedIndicator num 0 868 67 10 disp3cat CaseDisp3 null CurrentDisposition num 0 8 69 68 10 disp4cat CaseDisp4 null CurrentDisposition num 0 8 69 10 whytested ReasonTested null ReasonTested num 0 8 70 10 specialpop SpecialPop null SpecialPopulations(Facilities) num 0 8 70 71 71 72 40 null AgeGrpProxy null AgeGroupProxy num 10 8 72 73 40 agegrp4 AgeGrp4 agegrp4 Age num 0 8 74 40 agegrp5 AgeGrp5 agegrp5 Age num 0 8 73 75 40 agegrp7 AgeGrp7 agegrp7 Age num 0 8 74 76 40 agegrp8 AgeGrp8 agegrp8 Age num 0 8 -
adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/_COVID19CntyTests.cfg
r20948 r21017 41 41 ############################################################################# 42 42 #value =any value, place holder only 43 # name_sas = SAS variable name in the numerator data set (birth data set)44 # name_html = html name thatspecified under <DIMENSION> <NAME> in Module XML file43 # name_sas = SAS variable name in the numerator data set 44 # name_html = html specified under <DIMENSION> <NAME> in Module XML file 45 45 # name_pop = SAS variable name in denominator data set (population data set) 46 46 # prompt = Place holder only, could by any character string. 47 47 # type1 = CGI data type for SAS variable type (see comment lines 48 & 49) 48 # type2 = CGI data type for CGI regrouping purpose(see comment lines 51-59)48 # type2 = CGI data type for CGI regrouping (see comment lines 51-59) 49 49 # length = used to indicate the variable length in SAS dataset 50 50 # … … 67 67 10 _Result TestResult null TestResult num 0 8 68 68 10 detention Detention null CurrentDisposition num 0 8 69 10 last7 LastWeek null TimePeriod num 0 870 69 71 70 20 null GeoProxy fipscode Geography num 10 8 -
adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/_COVID19Sarea.cfg
r20850 r21017 65 65 30 onsetdate OnsetDate null IllnessOnset char 0 9 66 66 10 status CaseStatus null CaseStatus num 0 8 67 10 dieind DthIndicator null DiedIndicator num 0 868 67 10 disp3cat CaseDisp3 null CurrentDisposition num 0 8 69 68 10 disp4cat CaseDisp4 null CurrentDisposition num 0 8 … … 71 70 40 null AgeGrpProxy null AgeGroupProxy num 10 8 72 71 40 agegrp4 AgeGrp4 agegrp4 Age num 0 8 72 40 agegrp5 AgeGrp5 agegrp5 Age num 0 8 73 73 40 agegrp7 AgeGrp7 agegrp7 Age num 0 8 74 74 40 agegrp8 AgeGrp8 agegrp8 Age num 0 8 -
adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/_COVID19ZIPTests.cfg
r20948 r21017 67 67 10 _Result TestResult null TestResult num 0 8 68 68 10 detention Detention null CurrentDisposition num 0 8 69 10 last7 Last7Days null CaseStatus num 0 870 69 71 70 20 null GeoProxy fipscode Geography num 10 8
Note: See TracChangeset
for help on using the changeset viewer.