Ventilation During Intraop

This phenotype is used for ASPIRE Pulmonary measures. This phenotype determines how many minutes of ventilation are on a case by measuring how many minutes of tidal volume are documented on the case.

Value |
Value Code |
Definition |

Column Name |
Data Type |

This phenotype returns the minutes of tidal volume on a case. Case duration is determined using the 'Case Start' and 'Case End' phenotypes

- Evaluate set tidal volume recordings as determined by the 'Tidal Volume Set' phenotype
- Calculate the difference in seconds between recordings (capped at 60)
- Sum the difference totals
- Divide by 60 to return the total minutes of set tidal volume

- Separately, evaluate the actual tidal volume recordings as determined by the 'Tidal Volume Actual' phenotype
- Calculate the difference in seconds between recordings (capped at 60)
- Sum the difference totals
- Divide by 60 to return the total minutes of actual tidal volume

- Determine which minute total to return using the following priority list:
- If actual duration is ≥ 45 minutes, use actual
- If set duration is ≥ 45 minutes, use set
- If actual duration is longer than set duration, use actual
- Otherwise, use set duration
- Return 0 if no duration is found for either