[glucose_interpretation] v6

/** * SHORTCODE: [glucose_interpretation] * – Interprets a fasting glucose reading: * Normal, Prediabetes, else => Diabetes * – Calls highlightGlucoseStageRow(…) if present */ add_shortcode(‘glucose_interpretation’, function() { ob_start(); ?> No glucose measurement found yet. Please submit a measurement.Continue reading

[hba1c_interpretation]

/** * SHORTCODE: [hba1c_interpretation] * – Interprets A1C: * Normal, Prediabetes, else => Diabetes * – Calls highlightHba1cStageRow(…) if present */ add_shortcode(‘hba1c_interpretation’, function(){ ob_start(); ?> No A1C measurement found yet. Please submit a measurement.Continue reading

[lipid_form]

/** * Title: Lipid Profile Form * Shortcode: [lipid_form] * Description: Saisit 3 paramètres : Total Chol, HDL-C, Triglycerides (mg/dL ou mmol/L), * insère via AJAX => wp_crx_lipidic_data */ //————————————– // [lipid_form] //————————————– add_shortcode(‘lipid_form’, function() { if (!is_user_logged_in()) { return…Continue reading

[lipid_table]

/** * Title: Lipid Table * Shortcode: [lipid_table] * Description: Displays stored lipid measurements in a Syncfusion Grid: * – Date, Total Chol, HDL-C, Trig */ /******************************************************* * 2) LIPID TABLE SHORTCODE + DELETE AJAX *******************************************************/ add_shortcode(‘lipid_table’, function(){ if(!is_user_logged_in()){ return…Continue reading

[cholesterol_gauge]

/** * SHORTCODE: [cholesterol_gauge] * A CircularGauge from 100..400 mg/dL, * with color-coded ranges: * green, 200..239 => yellow, 240..400 => red */ add_shortcode(‘cholesterol_gauge’, function(){ ob_start(); ?>Continue reading

[cholesterol_stage_syncfusion]

/** * SHORTCODE: [cholesterol_stage_syncfusion] * Syncfusion Grid => 3 categories: “Optimal”, 200..239 => “Intermediate”, ≥240 => “High” */ add_shortcode(‘cholesterol_stage_syncfusion’, function(){ ob_start(); ?>Continue reading

[hdl_gauge]

/** * SHORTCODE: [hdl_gauge] * A CircularGauge for HDL => range 20..120 mg/dL * color-coded: * High risk => red, * 40..60 => borderline => yellow, * >60 => optimal => green */ add_shortcode(‘hdl_gauge’, function(){ ob_start(); ?>Continue reading

[hdl_stage_syncfusion]

/** * SHORTCODE: [hdl_stage_syncfusion] * 3 categories for HDL mg/dL: * “High risk”, 40..60 => “Intermediate”, >60 => “Optimal” */ add_shortcode(‘hdl_stage_syncfusion’, function(){ ob_start(); ?>Continue reading

[tg_gauge]

/** * SHORTCODE: [tg_gauge] * A CircularGauge => 50..600 mg/dL * color-coded: * green, * 150..199 => yellow, * >=200 => red */ add_shortcode(‘tg_gauge’, function(){ ob_start(); ?>Continue reading