diff --git a/ScheMe-PIC/Content/Style.css b/ScheMe-PIC/Content/Style.css index 2b63828..4985b6d 100644 --- a/ScheMe-PIC/Content/Style.css +++ b/ScheMe-PIC/Content/Style.css @@ -7,6 +7,9 @@ min-height: 2.2em; font-size: 1.2em; } +.nowrap { + white-space: nowrap; +} .smaller { font-size: 0.7em; } diff --git a/ScheMe-PIC/Content/Style.min.css b/ScheMe-PIC/Content/Style.min.css index 9da7553..e4cfb93 100644 --- a/ScheMe-PIC/Content/Style.min.css +++ b/ScheMe-PIC/Content/Style.min.css @@ -1 +1 @@ -.uppercase{text-transform:uppercase}.bigBtn{min-height:2.2em;font-size:1.2em}.smaller{font-size:.7em}.smallest{font-size:.6em}.fullWidth>.navbar-nav{display:table;width:100%;margin:0}.fullWidth>.navbar-nav>li{float:none;display:table-cell;text-align:center}.VVF-CL-01{color:#060;background-color:#fff}.VVF-CL-02{color:#ff3;background-color:#22f}.VVF-CL-03{color:#ff3;background-color:#181}.VVF-CL-04{background-color:#ff1}.VVF-CL-05{color:#ff3;background-color:#e62}.VVF-CL-06{color:#ff1;background-color:#ff0c0c}.headerRow{background-color:#eee;color:#000}.text-center{text-align:center;margin:auto}.tStrong{font-weight:bold;font-size:1.3em}.flRight{float:right}.flLeft{float:left}.errore{color:#f00}.headLine{background-color:#38c;color:#fff}.hBlock{background-color:#d7d7d7;color:#000}.hBlockDrk{background-color:#585858;color:#fff}.fBlock{background-color:#f2f2f2;color:#000}.btn.btn-square{border-radius:0}.btn-circle{width:2.2em;height:2.2em;text-align:center;padding:.3em 0;font-size:1em;line-height:1.6;border-radius:1em}.btn-circle.btn-lg{width:3.5em;height:3.5em;padding:.6em 1em;font-size:1.5em;line-height:1.5;border-radius:1.8em}.btn-circle.btn-xl{width:5em;height:5em;padding:.6em 1em;font-size:2em;line-height:1.5;border-radius:3em}.btn-selected,.navbar-nav>li>.btn-selected{background-color:#38c;font-weight:600;color:#fff}.btn-selected:hover,.navbar-nav>li .btn-selected:hover{background-color:#d1ddf1;font-weight:600;color:#333}.btn-unselected,.navbar-nav>li .btn-unselected{background-color:#efefef;font-weight:600;color:#333}.btn-unselected:hover,.navbar-nav>li>.btn-unselected:hover{background-color:#333;font-weight:600;color:#efefef}.RowStyle{background-color:#eff3fb;text-align:left}.rowStyle{background-color:#eff3fb}.editRowStyle{background-color:#2461bf}.selectedRowStyle{background-color:#c1ccf1;font-weight:bold;Color:#36f}.alternatingRowStyle{background-color:#fff}.footerRowStyle{background-color:#5d7b9d;font-weight:bold;color:#fff}.headerRowStyle{background-color:#5d7b9d;font-weight:bold;color:#fff}.spacedRow{line-height:3em}.baseRow{background-color:#eff3fb}.altRow{background-color:#fff}.editRow{background-color:#2461bf}.selectedRow{background-color:#d1ddf1;font-weight:600;color:#333}.headerHighlight{font-weight:600;color:#38c;font-size:1.2em}.footerRow{background-color:#38c;font-weight:600;color:#fff}.pagerRow{background-color:#2461bf;color:#fff;text-align:center;margin:auto}.stortAscCellStyle{background-color:#f5f7fb}.stortAscHeadStyle{background-color:#6d95e1}.stortDescCellStyle{background-color:#e9ebef}.stortDescHeadStyle{background-color:#4870be}.GridPager{background-color:#ff7c50}.GridPager a,.GridPager span{display:block;height:2em;width:2em;text-align:center;vertical-align:baseline;text-decoration:none;background-color:#2461bf}.GridPager a{background-color:#f5f5f5;color:#969696}.GridPager span{background-color:#f2dca1;color:#000;font-weight:bold}.imgNoPad{margin-top:-3px;margin-bottom:-7px}@media all and (min-width:768px){#textWrapper{font-size:1em}#headData{margin-top:0}.bottomnav{min-height:5em}}@media all and (min-width:1024px){#textWrapper{font-size:1.2em}#headData{margin-top:0}}@media all and (min-width:1440px){#textWrapper{font-size:1.4em}#headData{margin-top:0}}@media all and (min-width:1600px){#textWrapper{font-size:1.6em}#headData{margin-top:0}}@media all and (min-width:1900px){#textWrapper{font-size:1.8em}#headData{margin-top:0}}@media all and (min-width:2200px){#textWrapper{font-size:2em}#headData{margin-top:0}}@media all and (max-width:767px){#textWrapper{font-size:.8em}#headData{margin-top:6px}.bottomnav{min-height:6em}}@media all and (max-width:480px){#textWrapper{font-size:.7em}#headData{margin-top:14px}.bottomnav{min-height:7em}}@media all and (max-width:320px){#textWrapper{font-size:.6em}#headData{margin-top:18px}.bottomnav{min-height:8em}} \ No newline at end of file +.uppercase{text-transform:uppercase}.bigBtn{min-height:2.2em;font-size:1.2em}.nowrap{white-space:nowrap}.smaller{font-size:.7em}.smallest{font-size:.6em}.fullWidth>.navbar-nav{display:table;width:100%;margin:0}.fullWidth>.navbar-nav>li{float:none;display:table-cell;text-align:center}.VVF-CL-01{color:#060;background-color:#fff}.VVF-CL-02{color:#ff3;background-color:#22f}.VVF-CL-03{color:#ff3;background-color:#181}.VVF-CL-04{background-color:#ff1}.VVF-CL-05{color:#ff3;background-color:#e62}.VVF-CL-06{color:#ff1;background-color:#ff0c0c}.headerRow{background-color:#eee;color:#000}.text-center{text-align:center;margin:auto}.tStrong{font-weight:bold;font-size:1.3em}.flRight{float:right}.flLeft{float:left}.errore{color:#f00}.headLine{background-color:#38c;color:#fff}.hBlock{background-color:#d7d7d7;color:#000}.hBlockDrk{background-color:#585858;color:#fff}.fBlock{background-color:#f2f2f2;color:#000}.btn.btn-square{border-radius:0}.btn-circle{width:2.2em;height:2.2em;text-align:center;padding:.3em 0;font-size:1em;line-height:1.6;border-radius:1em}.btn-circle.btn-lg{width:3.5em;height:3.5em;padding:.6em 1em;font-size:1.5em;line-height:1.5;border-radius:1.8em}.btn-circle.btn-xl{width:5em;height:5em;padding:.6em 1em;font-size:2em;line-height:1.5;border-radius:3em}.btn-selected,.navbar-nav>li>.btn-selected{background-color:#38c;font-weight:600;color:#fff}.btn-selected:hover,.navbar-nav>li .btn-selected:hover{background-color:#d1ddf1;font-weight:600;color:#333}.btn-unselected,.navbar-nav>li .btn-unselected{background-color:#efefef;font-weight:600;color:#333}.btn-unselected:hover,.navbar-nav>li>.btn-unselected:hover{background-color:#333;font-weight:600;color:#efefef}.RowStyle{background-color:#eff3fb;text-align:left}.rowStyle{background-color:#eff3fb}.editRowStyle{background-color:#2461bf}.selectedRowStyle{background-color:#c1ccf1;font-weight:bold;Color:#36f}.alternatingRowStyle{background-color:#fff}.footerRowStyle{background-color:#5d7b9d;font-weight:bold;color:#fff}.headerRowStyle{background-color:#5d7b9d;font-weight:bold;color:#fff}.spacedRow{line-height:3em}.baseRow{background-color:#eff3fb}.altRow{background-color:#fff}.editRow{background-color:#2461bf}.selectedRow{background-color:#d1ddf1;font-weight:600;color:#333}.headerHighlight{font-weight:600;color:#38c;font-size:1.2em}.footerRow{background-color:#38c;font-weight:600;color:#fff}.pagerRow{background-color:#2461bf;color:#fff;text-align:center;margin:auto}.stortAscCellStyle{background-color:#f5f7fb}.stortAscHeadStyle{background-color:#6d95e1}.stortDescCellStyle{background-color:#e9ebef}.stortDescHeadStyle{background-color:#4870be}.GridPager{background-color:#ff7c50}.GridPager a,.GridPager span{display:block;height:2em;width:2em;text-align:center;vertical-align:baseline;text-decoration:none;background-color:#2461bf}.GridPager a{background-color:#f5f5f5;color:#969696}.GridPager span{background-color:#f2dca1;color:#000;font-weight:bold}.imgNoPad{margin-top:-3px;margin-bottom:-7px}@media all and (min-width:768px){#textWrapper{font-size:1em}#headData{margin-top:0}.bottomnav{min-height:5em}}@media all and (min-width:1024px){#textWrapper{font-size:1.2em}#headData{margin-top:0}}@media all and (min-width:1440px){#textWrapper{font-size:1.4em}#headData{margin-top:0}}@media all and (min-width:1600px){#textWrapper{font-size:1.6em}#headData{margin-top:0}}@media all and (min-width:1900px){#textWrapper{font-size:1.8em}#headData{margin-top:0}}@media all and (min-width:2200px){#textWrapper{font-size:2em}#headData{margin-top:0}}@media all and (max-width:767px){#textWrapper{font-size:.8em}#headData{margin-top:6px}.bottomnav{min-height:6em}}@media all and (max-width:480px){#textWrapper{font-size:.7em}#headData{margin-top:14px}.bottomnav{min-height:7em}}@media all and (max-width:320px){#textWrapper{font-size:.6em}#headData{margin-top:18px}.bottomnav{min-height:8em}} \ No newline at end of file diff --git a/ScheMe-PIC/VBMA.aspx b/ScheMe-PIC/VBMA.aspx index cc4d08e..81690d0 100644 --- a/ScheMe-PIC/VBMA.aspx +++ b/ScheMe-PIC/VBMA.aspx @@ -3,54 +3,12 @@ - +

Attenzione!

Nessun record presente.Prego cliccare qui per tornare alla pagina Valutazioni.
- - <%--
-
    -
  • Test
  • -
  • - - -
  • -
  • - - - -
  • -
  • Ipotono(Fukuda) - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
-
    -
  • Elaborazioni:
  • -
  • - - -
  • -
-
--%> -
    @@ -183,6 +141,49 @@
+
+
    +
  • + Test +
  • +
  • + <%# Eval("TRomberg") %> + Romberg +
  • +
  • + <%# Eval("TFukuda") %> + Fukuda +
  • +
  • + + + Ipotono(Fukuda) +
  • +
  • + <%# Eval("TGUG") %> + GU / 15 sec +
  • +
  • + <%# Eval("TGUG1") %> + GU Watt (max) +
  • +
  • + <%# string.Format("{0:N3}",Convert.ToDouble(Eval("TGUG1")) / Convert.ToDouble(Eval("Peso"))) %> + GU(Watt/kg) +
  • +
  • + <%# Eval("FPrensile") %> + F.Prensile +
  • +
+
    +
  • Elaborazioni
  • +
  • + <%# Eval("ScoreFPrensile") %> + Score F.Prensile +
  • +
+
@@ -202,272 +203,652 @@
-
-
-
    -
  • Data
  • -
  • - <%: Request.QueryString["DataVisita"] %> +
    +
    +
      +
    • Visita / Antropometria
    • +
    • + <%: Request.QueryString["DataVisita"] %> + Data +
    • +
    • +
      +
      + Altezza cm + + +
      +
      + +
      +
      +
    • +
    • +
      +
      + Peso kg + + +
      +
      + +
      +
    -
      -
    • Altezza
    • -
    • - - +
        +
      • Elaborazioni
      • +
      • + <%# Eval("DensCorp","{0:N3}") %> + Dens. corp.
      • -
      • Peso
      • -
      • - - +
      • + <%# Eval("GrassoTotPerc","{0:N2}") %> + Grasso % +
      • +
      • + <%# Eval("GrassoTot","{0:N2}") %> + Grasso kg +
      • +
      • + <%# Eval("MassaMagraPerc","{0:N2}") %> + Massa Magra % +
      • +
      • + <%# Eval("MassaMagraKgCm","{0:N2}") %> + Massa Magra kg/cm
    -
    -
      -
    • Plica (M/F):
    • -
    • - - +
      +
        +
      • + Plica (M/F)
      • -
      • - - +
      • +
        +
        + Pettorale mm +
        +
        + +
        +
      • -
      • - - +
      • +
        +
        + Addominale mm +
        +
        + +
        +
        +
      • +
      • +
        +
        + Coscia mm +
        +
        + +
        +
      -
        -
      • Plica (F):
      • -
      • - - +
          +
        • + Plica (F)
        • -
        • - - +
        • +
          +
          + Bicipite mm +
          +
          + +
          +
        • -
        • - - +
        • +
          +
          + Tricipite mm +
          +
          + +
          +
        • -
        • - - +
        • +
          +
          + Sottoscapola mm +
          +
          + +
          +
          +
        • +
        • +
          +
          + Soprailiaca mm +
          +
          + +
          +
      -
      -
        -
      • Circonferenza:
      • -
      • - - +
        +
          +
        • + Circonferenza
        • -
        • - - +
        • +
          +
          + Avambraccio m + + +
          +
          + +
          +
        • -
        • - - +
        • +
          +
          + Vita m + + +
          +
          + +
          +
        • -
        • - - +
        • +
          +
          + Glutei m + + +
          +
          + +
          +
          +
        • +
        • +
          +
          + Quadricipite m + + +
          +
          + +
          +
        -
          -
        • Grasso:
        • -
        • - - +
            +
          • + Grasso
          • -
          • - - +
          • +
            +
            + % Tronco +
            +
            + +
            +
            +
          • +
          • +
            +
            + Indice Viscerale +
            +
            + +
            +
            +
          • +
          +
            +
          • Elaborazioni
          • +
          • + <%# Eval("BMI","{0:N2}") %> + BMI +
          • +
          • + <%# Eval("MetBasaleDie","{0:N2}") %> + MET/Die +
          • +
          • + <%# Eval("MetBasaleH","{0:N2}") %> + MET/ora
        -
        -
          -
        • Test
        • -
        • - - +
          +
            +
          • + Test
          • -
          • - - +
          • +
            +
            + Romberg +
            +
            + +
            +
          • -
          • Ipotono(Fukuda) - +
          • +
            +
            + Fukuda +
            +
            + +
            +
          • -
          • - - +
          • + + + Ipotono(Fukuda)
          • -
          • - - +
          • +
            +
            + GU / 15 sec +
            +
            + +
            +
          • -
          • - - +
          • +
            +
            + GU Watt (max) +
            +
            + +
            +
            +
          • +
          • + <%# string.Format("{0:N3}",Convert.ToDouble(Eval("TGUG1")) / Convert.ToDouble(Eval("Peso"))) %> + GU(Watt/kg) +
          • +
          • +
            +
            + F.Prensile +
            +
            + +
            +
            +
          • +
          +
            +
          • Elaborazioni
          • +
          • + <%# Eval("ScoreFPrensile") %> + Score F.Prensile
        -
        -
        -
          -
        • -
          -
          - +
          +
          +
            +
          • +
            +
            +
            -
            - +
            +
            -
          +
    -
    -
    -
      -
    • Data
    • -
    • - <%: Request.QueryString["DataVisita"] %> +
      +
      +
        +
      • Visita / Antropometria
      • +
      • + <%: Request.QueryString["DataVisita"] %> + Data +
      • +
      • +
        +
        + Altezza cm + + +
        +
        + +
        +
        +
      • +
      • +
        +
        + Peso kg + + +
        +
        + +
        +
      -
        -
      • Altezza
      • -
      • - - +
          +
        • Elaborazioni
        • +
        • + <%# Eval("DensCorp","{0:N3}") %> + Dens. corp.
        • -
        • Peso
        • -
        • - - +
        • + <%# Eval("GrassoTotPerc","{0:N2}") %> + Grasso % +
        • +
        • + <%# Eval("GrassoTot","{0:N2}") %> + Grasso kg +
        • +
        • + <%# Eval("MassaMagraPerc","{0:N2}") %> + Massa Magra % +
        • +
        • + <%# Eval("MassaMagraKgCm","{0:N2}") %> + Massa Magra kg/cm
      -
      -
        -
      • Plica (M/F):
      • -
      • - - +
        +
          +
        • + Plica (M/F)
        • -
        • - - +
        • +
          +
          + Pettorale mm +
          +
          + +
          +
        • -
        • - - +
        • +
          +
          + Addominale mm +
          +
          + +
          +
          +
        • +
        • +
          +
          + Coscia mm +
          +
          + +
          +
        -
          -
        • Plica (F):
        • -
        • - - +
            +
          • + Plica (F)
          • -
          • - - +
          • +
            +
            + Bicipite mm +
            +
            + +
            +
          • -
          • - - +
          • +
            +
            + Tricipite mm +
            +
            + +
            +
          • -
          • - - +
          • +
            +
            + Sottoscapola mm +
            +
            + +
            +
            +
          • +
          • +
            +
            + Soprailiaca mm +
            +
            + +
            +
        -
        -
          -
        • Circonferenza:
        • -
        • - - +
          +
            +
          • + Circonferenza
          • -
          • - - +
          • +
            +
            + Avambraccio m + + +
            +
            + +
            +
          • -
          • - - +
          • +
            +
            + Vita m + + +
            +
            + +
            +
          • -
          • - - +
          • +
            +
            + Glutei m + + +
            +
            + +
            +
            +
          • +
          • +
            +
            + Quadricipite m + + +
            +
            + +
            +
          -
            -
          • Grasso:
          • -
          • - - +
              +
            • + Grasso
            • -
            • - - +
            • +
              +
              + % Tronco +
              +
              + +
              +
              +
            • +
            • +
              +
              + Indice Viscerale +
              +
              + +
              +
              +
            • +
            +
              +
            • Elaborazioni
            • +
            • + <%# Eval("BMI","{0:N2}") %> + BMI +
            • +
            • + <%# Eval("MetBasaleDie","{0:N2}") %> + MET/Die +
            • +
            • + <%# Eval("MetBasaleH","{0:N2}") %> + MET/ora
          -
          -
            -
          • Test
          • -
          • - - +
            +
              +
            • + Test
            • -
            • - - +
            • +
              +
              + Romberg +
              +
              + +
              +
            • -
            • Ipotono(Fukuda) - +
            • +
              +
              + Fukuda +
              +
              + +
              +
            • -
            • - - +
            • + + + Ipotono(Fukuda)
            • -
            • - - +
            • +
              +
              + GU / 15 sec +
              +
              + +
              +
            • -
            • - - +
            • +
              +
              + GU Watt (max) +
              +
              + +
              +
              +
            • +
            • + <%# string.Format("{0:N3}",Convert.ToDouble(Eval("TGUG1")) / Convert.ToDouble(Eval("Peso"))) %> + GU(Watt/kg) +
            • +
            • +
              +
              + F.Prensile +
              +
              + +
              +
              +
            • +
            +
              +
            • Elaborazioni
            • +
            • + <%# Eval("ScoreFPrensile") %> + Score F.Prensile
          -
          -
          -
            -
          • -
            -
            - +
            +
            +
              +
            • +
              +
              +
              -
              - +
              +
              -
            +
        diff --git a/ScheMe-PIC/VBMA.aspx.cs b/ScheMe-PIC/VBMA.aspx.cs index 6c1dad5..cd0d657 100644 --- a/ScheMe-PIC/VBMA.aspx.cs +++ b/ScheMe-PIC/VBMA.aspx.cs @@ -1,7 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; +using ScheMe_Data; +using SteamWare; +using System; using System.Web.UI; using System.Web.UI.WebControls; @@ -9,6 +8,13 @@ namespace ScheMe { public partial class VBMA : SteamWare.UserPage { + protected int idxPaziente + { + get + { + return memLayer.ML.IntSessionObj("IdxPaziente"); + } + } /// /// pagina caricata /// @@ -67,5 +73,44 @@ namespace ScheMe { prevMode = frmView.CurrentMode; } + + protected void frmView_ItemUpdating(object sender, FormViewUpdateEventArgs e) + { + // fix decimale x float... + e.NewValues["Altezza"] = decimal.Parse(e.NewValues["Altezza"].ToString().Replace(".", ",")); + e.NewValues["Peso"] = decimal.Parse(e.NewValues["Peso"].ToString().Replace(".", ",")); + e.NewValues["CirconfAvamb"] = decimal.Parse(e.NewValues["CirconfAvamb"].ToString().Replace(".", ",")); + e.NewValues["CirconfVita"] = decimal.Parse(e.NewValues["CirconfVita"].ToString().Replace(".", ",")); + e.NewValues["CirconfGlutei"] = decimal.Parse(e.NewValues["CirconfGlutei"].ToString().Replace(".", ",")); + e.NewValues["CirconfQuadricipite"] = decimal.Parse(e.NewValues["CirconfQuadricipite"].ToString().Replace(".", ",")); + } + + protected void frmView_ItemInserting(object sender, FormViewInsertEventArgs e) + { + // fix decimale x float... + e.Values["Altezza"] = decimal.Parse(e.Values["Altezza"].ToString().Replace(".", ",")); + e.Values["Peso"] = decimal.Parse(e.Values["Peso"].ToString().Replace(".", ",")); + e.Values["CirconfAvamb"] = decimal.Parse(e.Values["CirconfAvamb"].ToString().Replace(".", ",")); + e.Values["CirconfVita"] = decimal.Parse(e.Values["CirconfVita"].ToString().Replace(".", ",")); + e.Values["CirconfGlutei"] = decimal.Parse(e.Values["CirconfGlutei"].ToString().Replace(".", ",")); + e.Values["CirconfQuadricipite"] = decimal.Parse(e.Values["CirconfQuadricipite"].ToString().Replace(".", ",")); + } + + protected void frmView_ItemCreated(object sender, EventArgs e) + { + // imposto altezza/peso... + try + { + // recupero dati paziente... + DS_Applicazione.AnagPazientiRow riga = DtProxy.man.taAP.getByKey(idxPaziente)[0]; + // Popolo! + TextBox txtAltezza = ((TextBox)frmView.FindControl("txtAltezza")); + if (txtAltezza != null) txtAltezza.Text = riga.Altezza.ToString(); + TextBox txtPeso = ((TextBox)frmView.FindControl("txtPeso")); + if (txtPeso != null) txtPeso.Text = riga.Peso.ToString(); + } + catch + { } + } } } \ No newline at end of file