Index: firmware/App/Services/TxParams.h =================================================================== diff -u -re9e339870c5ed01230963f00d400331ab879c91f -r71790af85fc9277dc6471d58caacb5b8cd2db4ab --- firmware/App/Services/TxParams.h (.../TxParams.h) (revision e9e339870c5ed01230963f00d400331ab879c91f) +++ firmware/App/Services/TxParams.h (.../TxParams.h) (revision 71790af85fc9277dc6471d58caacb5b8cd2db4ab) @@ -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 {