Skip to content

Notes from chatting with a pulmonologist

Johnny Lee edited this page Mar 23, 2020 · 62 revisions

Last updated 2020/03/23

I've been able to chat with a few pulmonologists at this point, and this is an aggregated set of notes about the critical functions, and concerns in operating a full featured ventilator. Here are my summary notes and my non-expert interpretation of the discussion. This is not direct medical advice. I welcome additional expert opinions, and I get more information. If you are a domain expert and are willing to advise, please post a comment on this thread collecting professional insight. I would happy to chat on the phone. Thanks!

Prioritizing professional care is ALWAYS advised.

If professional care is available, you SHOULD NOT pursue using anything like this. This is not an alternative and should not delay seeking available care. You put yourself, the patient, and other caregivers at risk. Projects like run the risk of making it easy to be harmful. I fully agree with this. I also really appreciate medical professionals willing to engage in the discussion/education of folks like me (and interested parties) about what the risks are, what the trade offs are, how important are different factors, and how they could be mitigated with better technology (engineering controls - preferred) and more educated usage (administrative controls - less preferred). Thank you to those who are willing to engage in the education.

Consider building a PAPR instead

As an alternative to building a DIY ventilator, this exact device can also become a reasonable low-cost Powered Air Purifying Respirator (PAPR) with filter adapter. PAPRs are effective pieces of Personal Protective Equipment (PPE) that could be helpful to caregivers. PAPRs will also be in extremely short supply and are much less risky and less controversial than building a DIY Ventliator. You may be able to save many more lives by building a PAPR that protects a caregiver than medicore ventilator for one patient.

FDA Emergency Use Guidance

Enforcement Policy for Ventilators and Accessories and Other Respiratory Devices During the Coronavirus Disease 2019 (COVID-19) Public Health Emergency. It is important to note the current modifications required for this project still fall outside these guidelines. Additional improvements are needed.

There are now published requirements from Medical/Government Request for Proposals:

If configured reasonably, a device like this could be helpful if you are "up a creek without a paddle" and professional care is unavailable, in self-quarantine conditions, in early onset, or in the recovery stages when critical support from a real ventilator is no longer needed.

Proper ventilators have many more features that allow physicians to specify things like target absolute volume and pressure cycles tuned to the specific patient, O2 percentages, tools to monitor the compliance of the lung tissue, as well as balancing other risk factors that might cause barotrauma. This includes considerations around non-uniform tissue strength in the lungs which might rupture, presence of liquids, pressure spikes due to coughing, mechanical issues in the chest cavity such as the rib cage, and a host of other conditional complications that might require exceptions to any rule. As you go beyond 20cmh2o, the risk that patient specific issues and lung health conditions could result in tissue damage goes up significantly. Again, prioritizing professional care is always advised

At 45cmh2o, over expansion risks with traditional ventilators are high enough that treatment should consider moving to High-Frequency Oscillatory Ventilation (HFOV) which replaces large inhale/exhale cycles with rapid (3Hz-15Hz) small breaths at medium pressure (15-18cmh2o). This eliminates the extreme expansion and contraction of a typical ventilator minimizing mechanical stress on the lung tissue. So, every piece of equipment has its place and its limits.

In the event that ventilators are not available, and other hospital equipment that could act as a ventilator (such as anesthesia machines) are exhausted, non-invasive ventilation such as CPAP/BiPAP machines do have a niche role in helping people that are not in need of high pressure (30cmh2o) care. These might include early on-set stages of illness, recovery stages after high-pressure care is no longer necessary, or in environments where there are no alternatives such as self-quarantine. Additional sensing is required to make it less likely to cause tissue damage at pressures above 20cmh2o.

Note: I've read anecdotal evidence that BiPAPs were helpful in Wuhan, but it was not authoritative evidence to reference.

Clinical practitioners are used to having absolute pressure and tidal volume control. Pressure only is okay in some cases, volume is preferred in other cases. If possible, providing these would be the most compatible with existing clinical practice.

When using an endotracheal tube (ET) tube, you have a close system that can provide stronger guarantees around volume and pressure measurement. It was recommended to consider how a low cost system could interfaced with an ET tube for these reasons. However, it is incredibly uncomfortable without sedation which adds additional risks. It's not clear to me that, even in an emergency, when enough professional care is available to support intubation and sedation, that a certified ventilator will not be available? Though, it was claimed that intubation procedures would not be a bottle neck. A non-invasive interface like a mask is leaky. This makes it harder to make accurate measures of volume that make it into the lungs. However, modern BiPAPs can make an estimate of leakage which in turn can gives you an estimate of tidal volume.

  • TODO: understand how existing BiPAP machines estimate leakage. What is precise enough?
  • TODO: low cost flow sensing
  • TODO: get feedback on the value of an ET interface for a low-cost emergency ventilator. Seems more risky, and less likely to be considered.

At a high level, the goal is to get enough air into the lungs to keep the patient alive without causing unnecessary stress on infected lung tissue.

Pushing air into the lungs is an attempt to force the lung alveoli into continuing enough O2/CO2 exchange to keep blood O2 levels at an acceptable level. However when the lungs are infected, the tissue compliance is reduced requiring more pressure to reach the same volume of air. That increase in pressure also increases the risk of damage. It's like a balloon with rubber material that is getting stiffer and more "brittle" which can lead to "cracks" causing it to pop when you blow too hard. So you have to strike a balance between getting enough air into lungs to survive without pushing too hard damaging the tissue. To monitor this compliance, ventilators have something called a loop display [from Fundamentals of Mechanical Ventilation, R.Chatburn]

loop display

The left chart shows the loop created in a volume-pressure plot created by the inspiration/expiration (i.e. inhale/exhale) cycle of a breath. Like a balloon, during inspiration, it takes a bit of pressure to begin the expansion: then as the lungs reach capacity the volume increase slows relative to the increase in pressure creating an S curve. On expiration, pressure drops rapidly as the lungs contract and returns back to its original state. This relationship between the pressure required to achieve a specific volume, particularly in the inspiration phase, is a function of the compliance of the lung tissue. As the patient gets less healthy, the lung tissue compliance decreases, requiring more pressure to achieve the same volume:

lung compliance

The blue cycle is a healthy individual. The red cycle is an unhealthy individual. As you can see in the unhealthy condition, increasing pressure has diminishing returns on achieving more volume. In the blue/healthy cycle, the target volume is reached with much less pressure and never flattens out. The lung is able to reach target volume easily. This plot is one of the main ways physicians can determine "how much is more pressure worth?", "how complaint/healthy is the lung tissue currently?", and "is the patient getting better or worse?". The slopes of these curves are critical feedback to determine what is an appropriate volume and pressure ventilator setting. It also changes over time as the patient's condition evolves.

As shown, these loop displays require absolute measurements of both volume and pressure which are difficult in a non-invasive BiPAP setup where there is leakage at the mask/mouth piece. However, the goal is to get an indicator of lung compliance which is actually the ratio of L/cmh2o. This ratio is not an absolute measurement and may be achievable with clever low-cost sensing techniques comparing relative measurements avoiding costly calibration.

Initial setup of a ventilator often starts with testing an educated guess given the properties of a patient, watching how the patient's body responds - such as observing the chest rising or watching where the loop display curves flatten out. Then the settings are then tweaked to "give it a little more" or "back it off a bit". A simplified interface to bump the pressure up/down with feedback on lung compliance might be sufficient in an emergency situation.

  • TODO: look into low-cost ways to estimate absolute tidal volume, or estimate with flow
  • TODO: look into low-cost method of measuring pressure directly.
  • TODO: get feedback if volume/pressure ratio is valuable and if that is easier to sense inexpensively.

Alarms, Alarms, Alarms. Alarms are important.

Highest priority: If the mask falls off/gets dislodged, sound an alarm. Next highest priority: If the target pressure/volume/ratio is not getting reached, sound an alarm. Nice to haves: if the patient is coughing excessively, sound and alarm. If the patient's lung compliance is changing significantly, sound an alarm. Notifying either the patient or a caregiver that "something is wrong" is a high value feature.

  • TODO: implement alarms for out of target pressure/volume

At lower pressures (~25cmh2o and below), intubation typically has more to do with the safety of others rather than a necessity for treatment to the patient. When aerosolized virus is not a concern, such as isolation or an already "dirty" environment, masks and mouth pieces are likely okay.

Non-invasive interfaces like masks and mouth pieces are likely to aerosolize droplets containing the virus upon expiration (exhalation) spreading the infection to others in a clean environment like a hospital. Intubation captures the expelled air and filters it, preventing the spread of the infection. At higher pressures, there are mechanical reasons why intubation is advantageous. But at lower pressures, it is not meaningfully advantageous to the quality of the treatment to the patient. In fact, the invasive nature of intubation exposes the patient to additional health risks. If professional hospital care is available, that is always preferred.

If the patient is in isolation in a single unit home or if the surrounding environment is already "dirty" with many other sources of aerosolized virus (like an open tent of coughing people), a non-invasive interface like a mask or mouth piece is likely less problematic. Staying at home in a apartment is NOT true isolation due to potential shared ventilation with other units. Capturing the exhaled air and filtering it is preferred and may make it palatable to use in more environments. Since this device is not going to be FDA approved, it is not likely to be used in a hospital anyway.

Triggering the BiPAP on patient inhalation is more about patient comfort and may not be necessary to be effective. If the choice is between being uncomfortable or not being able to breathe, people will likely choose being uncomfortable.

When the BiPAP inspiration/expiration cycles do not align with the breathing cycle, it is uncomfortable because the machine "fights" with the patient. Modern BiPAPs can detect the beginning of a breath and let the patient drive the breathing cycle enhancing comfort. But based on the conversation so far, this did not seem to be essential for useful treatment. A conscious patient can synchronize their breathing to the machine. It is not clear what happens when the patient is unconscious, such as sleeping. The current hypothesis is that it may lead to a poor nights sleep but the patient will still receive airflow as long as the set rate is reasonable. Ventilators have a "backup rate" setting which forces air into the patient in the event they don't take a breath within a target time period. This is the same as the open loop BiPAP operation.

The only difference between BiPAP and PEEP is that BiPAP is the terminology used with a non-invasive interface (like a mask) and PEEP is the terminology used with intubation. Otherwise they both refer to having a set positive pressure during the exhalation phase.

(more to come)

Clone this wiki locally