Changeset 21017 in main


Ignore:
Timestamp:
07/12/20 15:20:23 (3 weeks ago)
Author:
LoisHaggard_NM
Message:

nm backend qModules 3.0 idepi

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  
    2222 ****************************************************************;
    2323        data tmp; set tmp;
    24                 if %spvar2% ;
     24                %spvar2%
    2525                percentvar=0;
    2626                if %spvar1% then percentvar=1;
     
    3232                ?cross2? %cross2%
    3333                ;
    34                 output out=tmp (drop=_TYPE_ _FREQ_ ) sum=count n=totalnum ;
     34                output out=tmp (drop=_TYPE_ _FREQ_) sum=count n=totalnum ;
    3535        run;
    3636        proc sort data=tmp out=sorted; by %cross1%
     
    4141                title2 '1. TMP - numerator dataset, sorted';
    4242                run;
    43        
     43
    4444 *********************** 2. data_frame **************************;
    4545 * 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  
    2222 ****************************************************************;
    2323        data tmp; set tmp;
     24                %spvar2%
    2425                percentvar=0;
    2526                if %spvar1% then percentvar=1;
     27                if _SPECIMEN_COLL_DT > (TODAY()+15) then delete;
    2628        run;
    2729        proc summary data=tmp;
     
    3537                ?cross2? %cross2%
    3638                ; run;
    37         proc print data=tmp noobs;
     39        proc print data=sorted noobs;
    3840                title1 '---------------------------------';
    39                 title2 '1. TMP - numerator dataset';
     41                title2 '1. TMP - numerator dataset, sorted';
    4042                run;
    4143       
     
    5153                count=0;
    5254                rename zipcode=ZIP_CODE_OF_POLY ;
    53                 drop popcount ;
     55                keep count zipcode ;
    5456                run;
    5557        proc sort data=frame; by %cross1%
  • adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/NM_Rate100ZIP.def

    r20948 r21017  
    105105                        on
    106106                        ?popcross1? tmp.%cross1%=pop.%popcross1%;
    107                         ?popcross2? tmp.%cross2%=pop.%popcross2%;  
     107                        ?popcross2? tmp.%cross2%=pop.%popcross2%;
    108108                quit;
    109109        %end;
     
    127127        %popcross;
    128128        proc print data=numbers noobs;  title2 '6. NUMBERS - tmp merged with pop dataset'; run;
    129        
     129
    130130 ********************** 4. tmp, again ****************************;
    131131 * 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  
    5959                title2 '2. Data Frame';
    6060                run;
    61                 
     61               
    6262        data tmp;
    6363                merge frame sorted;
     
    6666                ;
    6767                run;
    68 
    6968        proc print data=tmp noobs;
    7069                title2 '2. TMP';
     
    8887                proc summary data=poptmp;
    8988                        var popcount;
    90                         output out=pop sum=popcount;
     89                        output out=pop (drop=_TYPE_ _FREQ_) sum=popcount;
    9190                run;
    9291                proc sql;
     
    101100                        var popcount;
    102101                        class %popcross1% %popcross2%;
    103                         output out=pop sum=popcount;
     102                        output out=pop (drop=_TYPE_ _FREQ_) sum=popcount;
    104103                run;
    105104                proc sql;
     
    118117                        var popcount;
    119118                        class %popcross1% %popcross2%  ;
    120                         output out=pop sum=popcount;
     119                        output out=pop (drop=_TYPE_ _FREQ_) sum=popcount;
    121120                run;
    122121                proc sql;
     
    132131        %popcross;
    133132
    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;
    136138 
    137139 ********************** 4. RATE **********************************;
     
    211213  n 15.0
    212214  popcount 15.0
     215  LL 15.3
     216  UL 15.3
    213217  redflag 15.0
    214218--------BoNdArY--------
  • adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/XMLCount.map

    r20860 r21017  
    111 MEASURE Count
     22 VALUE_ATTRIBUTE_NAME
  • adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/XMLPctDesirableLow.map

    r20860 r21017  
    1 1 MEASURE PctDesirableLow
     11 MEASURE Percentage
    222 ANCILLARY_VALUE Numerator
    333 ANCILLARY_VALUE Denominator
    444 ANCILLARY_VALUE LowerConfidenceLimit
    555 ANCILLARY_VALUE UpperConfidenceLimit
    6 6 VALUE_ATTRIBUTE Code
     66 VALUE_ATTRIBUTE_NAME
  • adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/XMLRateCases100K.map

    r20252 r21017  
    444 ANCILLARY_VALUE LowerConfidenceLimit
    555 ANCILLARY_VALUE UpperConfidenceLimit
    6 6 VALUE_ATTRIBUTE Code
     66 VALUE_ATTRIBUTE_NAME
  • adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/_COVID19Cnty.cfg

    r21016 r21017  
    1717d saspopdata popibiscnty90_18_28jun2019
    1818d sas_bin "C:\Program&Files\SASHome\SASFoundation\9.4\sas.exe"
    19 #r data_where 1<=fipscnty=97
     19r data_where 1<=fipscnty<=97
    2020r pop_where year=2020
    21 r sasstdpop morstd
    2221####################################################################
    2322d response_head_content XMLResponse.head
     
    3029r cross2 none
    3130r spvar1 none
     31r spvar2 none
    3232# Year 1993
    3333r sas 0
     
    5252# type2= 0 -- Categorical variable
    5353#        1 -- Non catergorical (Continuous) variable
    54 #        3 -- Groupable variable (Continuous, need regrouping by cgi,)
     54#        3 -- Groupable variable (Continuous, need regrouping by cgi)
    5555#        4 -- Grouped variable (keep the name space)
    5656#        6 -- Multiple columns
     
    656530 onsetdate OnsetDate null IllnessOnset char 0 9
    666610 status CaseStatus null CaseStatus num 0 8
    67 10 dieind DthIndicator null DiedIndicator num 0 8
    686710 disp3cat CaseDisp3 null CurrentDisposition num 0 8
    696810 disp4cat CaseDisp4 null CurrentDisposition num 0 8
     6910 whytested ReasonTested null ReasonTested num 0 8
     7010 specialpop SpecialPop null SpecialPopulations(Facilities) num 0 8
    7071
    717240 null AgeGrpProxy null AgeGroupProxy num 10 8
    727340 agegrp4 AgeGrp4 agegrp4 Age num 0 8
     7440 agegrp5 AgeGrp5 agegrp5 Age num 0 8
    737540 agegrp7 AgeGrp7 agegrp7 Age num 0 8
    747640 agegrp8 AgeGrp8 agegrp8 Age num 0 8
  • adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/_COVID19CntyTests.cfg

    r20948 r21017  
    4141#############################################################################
    4242#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 that specified under <DIMENSION> <NAME> in Module XML file
     43# name_sas  = SAS variable name in the numerator data set
     44# name_html = html specified under <DIMENSION> <NAME> in Module XML file
    4545# name_pop  = SAS variable name in denominator data set (population data set)
    4646# prompt    = Place holder only, could by any character string.
    4747# 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)
    4949# length    = used to indicate the variable length in SAS dataset
    5050#
     
    676710 _Result TestResult null TestResult num 0 8
    686810 detention Detention null CurrentDisposition num 0 8
    69 10 last7 LastWeek null TimePeriod num 0 8
    7069
    717020 null GeoProxy fipscode Geography num 10 8
  • adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/_COVID19Sarea.cfg

    r20850 r21017  
    656530 onsetdate OnsetDate null IllnessOnset char 0 9
    666610 status CaseStatus null CaseStatus num 0 8
    67 10 dieind DthIndicator null DiedIndicator num 0 8
    686710 disp3cat CaseDisp3 null CurrentDisposition num 0 8
    696810 disp4cat CaseDisp4 null CurrentDisposition num 0 8
     
    717040 null AgeGrpProxy null AgeGroupProxy num 10 8
    727140 agegrp4 AgeGrp4 agegrp4 Age num 0 8
     7240 agegrp5 AgeGrp5 agegrp5 Age num 0 8
    737340 agegrp7 AgeGrp7 agegrp7 Age num 0 8
    747440 agegrp8 AgeGrp8 agegrp8 Age num 0 8
  • adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/_COVID19ZIPTests.cfg

    r20948 r21017  
    676710 _Result TestResult null TestResult num 0 8
    686810 detention Detention null CurrentDisposition num 0 8
    69 10 last7 Last7Days null CaseStatus num 0 8
    7069
    717020 null GeoProxy fipscode Geography num 10 8
Note: See TracChangeset for help on using the changeset viewer.