Changeset 21260 in main


Ignore:
Timestamp:
08/12/20 16:32:13 (16 months ago)
Author:
GarthBraithwaite_STG
Message:

nm view - assoc core usage and modifiy query dialog changes.

Location:
adopters/nm/trunk/src/main/webapps/nmibis-view/xslt/html/query/module
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • adopters/nm/trunk/src/main/webapps/nmibis-view/xslt/html/query/module/builder/SiteSpecific.xslt

    r20552 r21260  
    1111        <ibis:doc>
    1212                <name>html/query/module/builder/SiteSpecific</name>
    13                 <summary>Provides Utah 'query/module' site specific template overrides</summary>
     13                <summary>Provides 'query/module' site specific template overrides</summary>
    1414                <description>
    1515                        Provides an overridden 'siteSpecific.siteNavigationMenu' API template
     
    3131        </xsl:param>
    3232
     33        <xsl:param name="Page.usageAgreementDialogTitle">Department of Health NM-IBIS Query System, Data Use Agreement</xsl:param>
     34        <xsl:param name="Page.usageAgreementDialogContent">
     35                The data and information provided through the NM-IBIS Query System are intended
     36                to support any individuals or entities engaged in activities designed solely to
     37                enhance the well-being of a specific community, which may include State of New
     38                Mexico. Allowed activities include informing evidence-based decision making in
     39                New Mexico to plan and improve health service delivery, evaluate health care
     40                interventions and systems, and inform health policy decisions. Other uses are
     41                not permissible.
     42                <br/><br/>
    3343
    34         <xsl:template name="Page.usageAgreement">
    35                 <div id="usageAgreementDialog">
    36                         <div class="InnerCanvas">
    37                                 The data and information provided through the NM-IBIS Query System are intended
    38                                 to support any individuals or entities engaged in activities designed solely to
    39                                 enhance the well-being of a specific community, which may include State of New
    40                                 Mexico. Allowed activities include informing evidence-based decision making in
    41                                 New Mexico to plan and improve health service delivery, evaluate health care
    42                                 interventions and systems, and inform health policy decisions. Other uses are
    43                                 not permissible.
    44                                 <br/><br/>
     44                <div class="Bold">As an NM-IBIS Query System user, I AGREE TO:</div>
     45                <ol>
     46                        <li>
     47                                Use the data for statistical reporting and analysis only.
     48                        </li>
     49                        <li>
     50                                Avoid any attempt to identify or contact individual(s) represented in the NM-IBIS query system data.
     51                        </li>
     52                        <li>
     53                                Avoid disclosure or use of the identity of any individual(s) discovered inadvertently.
     54                        </li>
     55                        <li>
     56                                Avoid linkage of NM-IBIS query system data with other data that,
     57                                after linkage, might allow identification of an individual represented
     58                                in the NM-IBIS query system data.
     59                        </li>
     60                        <li>
     61                                Use appropriate safeguards to prevent the identification
     62                                of any individual(s) represented in the data, including when
     63                                disclosing NM-IBIS Query System data to others.
     64                        </li>
     65                        <li>
     66                                Report IMMEDIATELY any inadvertent or intentional identity disclosures or violations of this
     67                                agreement of which I become aware to the Epidemiology and Response Division, New Mexico
     68                                Department of Health, (505) 827-5274.
     69                        </li>
     70                </ol><br/>
     71        </xsl:param>
    4572
    46                                 <div class="Bold">As an NM-IBIS Query System user, I AGREE TO:</div>
    47                                 <ol>
    48                                         <li>
    49                                                 Use the data for statistical reporting and analysis only.
    50                                         </li>
    51                                         <li>
    52                                                 Avoid any attempt to identify or contact individual(s) represented in the NM-IBIS query system data.
    53                                         </li>
    54                                         <li>
    55                                                 Avoid disclosure or use of the identity of any individual(s) discovered inadvertently.
    56                                         </li>
    57                                         <li>
    58                                                 Avoid linkage of NM-IBIS query system data with other data that,
    59                                                 after linkage, might allow identification of an individual represented
    60                                                 in the NM-IBIS query system data.
    61                                         </li>
    62                                         <li>
    63                                                 Use appropriate safeguards to prevent the identification
    64                                                 of any individual(s) represented in the data, including when
    65                                                 disclosing NM-IBIS Query System data to others.
    66                                         </li>
    67                                         <li>
    68                                                 Report IMMEDIATELY any inadvertent or intentional identity disclosures or violations of this
    69                                                 agreement of which I become aware to the Epidemiology and Response Division, New Mexico
    70                                                 Department of Health, (505) 827-5274.
    71                                         </li>
    72                                 </ol><br/>
    73                         </div>
    74                         <button type="button" onclick="usageAgreementDialog.close()" title="Closes this message.">I Agree</button>
    75                 </div>
    76 
    77                 <script language="JavaScript" type="text/javascript">
    78                         var usageAgreementDialog;
    79                         $(document).ready(function()
    80                         {
    81                                 // create the dialog everytime - removes the html from the page.
    82                                 usageAgreementDialog =
    83                                         $("#usageAgreementDialog").kendoWindow({
    84                                                 title: "Department of Health NM-IBIS Query System, Data Use Agreement"
    85                                                 ,width: "75%"
    86                                                 ,resizable: true
    87                                                 ,modal: true
    88                                                 ,visible: false
    89                                         }).data('kendoWindow');
    90        
    91                                 // Check that the query usage agreement has been shown.
    92                                 // NOTE: 5/17/2020 implemented this as session storage.  If not
    93                                 // HTML5 need to revert back to cookie based tracking which was
    94                                 // having issues in Lois's enviro.
    95                                 var usageAgreement = window.sessionStorage.getItem("ibisph.queryUsageAgreement");
    96                                 if("shown" != usageAgreement) usageAgreementDialog.center().open();
    97                                 window.sessionStorage.setItem("ibisph.queryUsageAgreement", "shown");
    98                         });
    99                 </script>
    100         </xsl:template>
    10173
    10274</xsl:stylesheet>
  • adopters/nm/trunk/src/main/webapps/nmibis-view/xslt/html/query/module/result/SiteSpecific.xslt

    r20566 r21260  
    3939        <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TEMPLATES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    4040
    41         <xsl:template name="Page.usageAgreement">
    42                 <div id="usageAgreementDialog">
    43                         <div class="InnerCanvas">
     41        <!-- temp hack - use the core built in agreement dialog so don't have to
     42                override main builder page content.
     43                This will go away when query interface is reworked.
     44        -->
     45        <xsl:template name="Page.usageAgreementDialog">
     46                <xsl:call-template name="DialogWindow.reminderDialog">
     47                        <xsl:with-param name="dialogWindowID"   select="'modifyQueryReminderDialog'"/>
     48                        <xsl:with-param name="dialogTitle"              select="'Modify Dataset Query Definition'"/>
     49                        <xsl:with-param name="dialogContent">
    4450                                Not seeing what you want? Click the "Modify Query" button to go
    4551                                to the query builder page. That page allows you to change filtering
    4652                                criteria and how your data are grouped. You can select chart and
    4753                                map types there, too.
    48                         </div>
    49                         <button type="button" onclick="usageAgreementDialog.close()" title="Closes this message.">Close</button>
    50                 </div>
    51 
    52                 <script language="JavaScript" type="text/javascript">
    53                         var usageAgreementDialog;
    54                         $(document).ready(function()
    55                         {
    56                                 // create the dialog everytime - removes the html from the page.
    57                                 usageAgreementDialog =
    58                                         $("#usageAgreementDialog").kendoWindow({
    59                                                 title: "Modify Dataset Query Definition"
    60                                                 ,width: "50%"
    61                                                 ,resizable: true
    62                                                 ,modal: true
    63                                                 ,visible: false
    64                                         }).data('kendoWindow');
    65                                 var usageAgreement = window.sessionStorage.getItem("ibisph.queryModifyReminder");
    66                                 if("shown" != usageAgreement) usageAgreementDialog.center().open();
    67                                 window.sessionStorage.setItem("ibisph.queryModifyReminder", "shown");
    68                         });
    69                 </script>
     54                        </xsl:with-param>
     55                        <xsl:with-param name="sessionStorageName"       select="'ibisph.modifyQueryReminder'"/>
     56                        <xsl:with-param name="closeButtonTitle"         select="'OK'"/>
     57                </xsl:call-template>
    7058        </xsl:template>
    7159
Note: See TracChangeset for help on using the changeset viewer.