Index: sources/view/hd/data/VTreatmentRanges.h =================================================================== diff -u -rde099919f262c3429cb0592ef71deb6a16e92892 -rb8a9627cf291b564b0fc1570f9c0a97fa6873035 --- sources/view/hd/data/VTreatmentRanges.h (.../VTreatmentRanges.h) (revision de099919f262c3429cb0592ef71deb6a16e92892) +++ sources/view/hd/data/VTreatmentRanges.h (.../VTreatmentRanges.h) (revision b8a9627cf291b564b0fc1570f9c0a97fa6873035) @@ -20,6 +20,7 @@ // Project #include "main.h" // Doxygen : do not remove #include "VView.h" +#include "MTDInstitutionalRecordResponse.h" #include "MTreatmentRangesData.h" #include "MSettings.h" // namespace @@ -36,6 +37,8 @@ { Q_OBJECT + const QString _vitalsDef = "30"; // LEAHI_PRS_215 + // Real-time properties received from TD from TreatmentRangesData READONLY( quint32 , treatmentRanges_Duration_Min , 0) READONLY( quint32 , treatmentRanges_Duration_Max , 0) @@ -45,36 +48,60 @@ READONLY( quint32 , treatmentRanges_Dialysate_Flow_Max , 0) // constant properties coming from the settings + + // Create Rx Parameters RANGESET( quint32 , bloodFlowRate , 0) RANGESET( quint32 , dialysateFlowRate , 0) RANGESET( quint32 , treatmentDuration , 0) - RANGESET( float , heparinDispensingRate , 0) RANGESET( float , heparinBolusVolume , 0) + RANGESET( float , heparinDispensingRate , 0) RANGESET( quint32 , heparinStopTime , 0) - RANGESET( quint32 , salineBolusVolume , 0) + RANGESET( float , acidConcentratePotassium , 0) RANGESET( float , acidConcentrateCalcium , 0) VALUESET( float , potassium , 0) VALUESET( float , calcium , 0) - - READONLY( QStringList , heparinTypeOptions ,{}) READONLY( QStringList , acidConcentrateOptions ,{}) READONLY( QStringList , bicarbonateConcentrateOptions ,{}) READONLY( QStringList , dialyzerTypeOptions ,{}) READONLY( QStringList , bloodPressureMeasureInterval ,{}) + VALUESET( quint32 , vitalsInterval , 0) + RANGESET( float , dialysateTemp , 0) + RANGESET( quint32 , salineBolusVolume , 0) + + // Institutional + RANGESET( quint32 , dialysateBicarbonate , 0) + RANGESET( quint32 , dialysateSodium , 0) + + READONLY( QStringList , heparinTypeOptions ,{}) + READONLY( QStringList , treatmentModalityOptions ,{}) + READONLY( QStringList , hdfTreatmentModeOptions ,{}) + READONLY( QStringList , dryBicabCartridgeSizeOptions ,{}) + PROPERTY( QString , acidConcentrate ,"") TRIGGER ( bool , acidConcentrateAccepted , false) - RANGESET( float , dialysateTemp , 0) - RANGESET( qint32 , trancembrncPressureLimitWindow , 0) + RANGESET( qint32 , transmembranePressureLimitWindow , 0) RANGESET( qint32 , arterialPressureLimitWindow , 0) RANGESET( qint32 , venousPressureLimitWindow , 0) RANGESET( qint32 , venousPressureLimitAsymtrc , 0) RANGESET( quint32 , rinsebackFlowRate , 0) + RANGESET( quint32 , rinsebackVolume , 0) + RANGESET( float , substitutionVolume , 0) + // Advanced + RANGESET( quint32 , minRORejectionRatioAlarm , 0) + RANGESET( quint32 , disinfectionFrequency , 0) + RANGESET( quint32 , disinfectionParametersCycleTime , 0) + RANGESET( quint32 , maxBloodPumpStopTime , 0) + RANGESET( quint32 , inletWaterCondLowThreshold , 0) + RANGESET( quint32 , inletWaterCondHighThreshold , 0) + RANGESET( quint32 , chlorineWaterSampleCheck , 0) + READONLY( QStringList , waterSampleTestResultRequired ,{}) + // monitoring ranges - RANGESET( qint32 , trancembrncPressureMonitor , 0) + RANGESET( qint32 , transmembranePressureMonitor , 0) RANGESET( qint32 , arterialPressureMonitor , 0) RANGESET( qint32 , venousPressureMonitor , 0) @@ -84,6 +111,7 @@ VIEW_DEC_CLASS(VTreatmentRanges ) VIEW_DEC_SLOT(TreatmentRangesData ) VIEW_DEC_SLOT(SettingsData ) + VIEW_DEC_SLOT(InstitutionalRecordResponseData ) signals: void didTreatmentRangesDone (bool vPass );