Abstract: A valve with a smart handle including a memory module to log relevant data. A sensor on the handle determines when the valve is open, and this triggers the start of timers and recording of the “open” event in a log in the memory module. When the valve is closed, the sensor triggers stopping of the timers and recording of the “closed” event in the log. The timer information is used to calculate the duration of the time “open” event, and this, together with the actual date and time of the opening and closing of the valve are recorded in the log. Other relevant information, such as cylinder fill date, cylinder I.D. number, batch number, and patient name or account number may also be logged in the memory module. The log of the events and the corresponding dates and times may be used to prepare invoices for billing gas treatments, for inventory control, and for other record-keeping and control functions.