Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions include/platform/clinician_input.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,47 @@
*/
status_t get_respiratory_rate(uint32_t * RR);

/*
<<<<<<< HEAD
* Updates I:E ratio (inspiratory-expiratory) variable IE
* when a valid value was read from the clinician inputs
*
* @return STATUS_OK if I:E ratio is valid
* STATUS_ERR if the I:E ratio is invalid
*
*/
status_t get_ie_ratio(uint32_t * IE);

/*
* Updates breaths per minute variable BPM
* when a valid value was read from the clinician inputs
*
* @return STATUS_OK if breaths per minute value is valid
* STATUS_ERR if the breaths per minute value is invalid
*
*/
status_t get_breaths_per_minute(uint32_t * BPM);

/*
* Updates acceptable exhaled tidal volume variable ML
* when a valid value was read from the clinician inputs
*
* @return STATUS_OK if acceptable exhaled tidal volume is valid
* STATUS_ERR if the acceptable exhaled tidal volume is invalid
*
*/
status_t get_acceptable_exhaled_tidal_volume(uint32_t * ML);

/*
* Updates ventilation mode variable VM
* when a valid value was read from the clinician inputs
*
* @return STATUS_OK if ventilation mode is valid
* STATUS_ERR if the ventilation mode is invalid
*
*/
status_t get_ventilation_mode(enum VM);

/*
* Updates <selected inspiratory time> variable insp_time
* when a valid value was read from the clinician inputs
Expand All @@ -23,3 +64,4 @@ status_t get_respiratory_rate(uint32_t * RR);
*
*/
status_t get_selected_inspiratory_time(uint32_t * insp_time);