Index: firmware/App/Services/TxParams.h =================================================================== diff -u -r1e8f1e33b885d6b5d64efa37525fa4ea6720b4d5 -rad1296a077cec6ed95674cc1267a750aaf8213c4 --- firmware/App/Services/TxParams.h (.../TxParams.h) (revision 1e8f1e33b885d6b5d64efa37525fa4ea6720b4d5) +++ firmware/App/Services/TxParams.h (.../TxParams.h) (revision ad1296a077cec6ed95674cc1267a750aaf8213c4) @@ -8,7 +8,7 @@ * @file TxParams.h * * @author (last) Raghu Kallala -* @date (last) 28-Apr-2026 +* @date (last) 01-May-2026 * * @author (original) Varshini Nagabooshanam * @date (original) 02-Dec-2025 @@ -68,6 +68,35 @@ F32 ufVolume; ///< User set ultrafiltration volume (in L) } TREATMENT_PARAMS_DATA_PAYLOAD_T; +/// Record structure for a treatment parameters payload to UI. +typedef struct +{ + U32 treatmentModality; ///< User set treatment modality option + U32 hdfDilution; ///< User set HDF dilution option + U32 bloodFlowRate_mL_min; ///< User set blood flow rate (in mL/min) + U32 dialysateFlowRate_mL_min; ///< User set dialysate flow rate (in mL/min) + U32 treatmentDuration_min; ///< User set treatment duration (in min) + U32 hepDeliveryDuration_min; ///< User set Heparin delivery duration (in min) + U32 hepType; ///< User set Heparin type option + U32 dryBicarbCartSize; ///< User set dry bicarb cart size option + U32 sodium_mEq_L; ///< User set sodium (in mEq/L) + U32 bicarbonate_mEq_L; ///< User set bicarbonate (in mEq/L) + U32 dialyzerType; ///< User set dialyzer type option + U32 fluidBolusVolume_mL; ///< User set fluid bolus volume (in mL) + U32 bpInterval_min; ///< User set blood pressure measurement interval (in min) + U32 rinsebackVolume_mL; ///< User set rinseback volume (in mL) + U32 hepatitisBStatus; ///< User set Hepatitis B status option + U32 acidConcentrate; ///< User set acid concentrate option + F32 substitutionFluidVolume_L; ///< User set substitution fluid volume (in L) + F32 hepBolusVolume_mL; ///< User set Heparin bolus volume (in mL) + F32 hepDeliveryRate_mL_hr; ///< User set Heparin delivery rate (in mL/hr) + F32 dialysateTemperature_degC; ///< User set dialysate temperature (in deg C) + F32 acidKConcentrateConvFactor; ///< User set acid concentrate conversion factor + F32 ufPreWeight; ///< User set patient pre weight prior to treatment (in Kilogram) + F32 ufEstimatedTargetWeight; ///< User set patient estimated target weight after the treatment (in Kilogram) + F32 ufVolume; ///< User set ultrafiltration volume (in L) +} TREATMENT_PARAMS_DATA_RESPONSE_PAYLOAD_T; + /// Record structure for reporting all current treatment parameters to Dialin typedef struct {