{
  "Name": "MechanicalVentilation",
  "Description": "Mimic a patient with generic impaired alveolar exchange and dyspnea, then ventilated by simulating inputs as if they are from external sensors.",
  "PatientConfiguration": {
      "PatientFile": "StandardMale.json",
      "Conditions": { "AnyCondition": [{
        "PatientCondition": {
          "ImpairedAlveolarExchange": {
            "ImpairedFraction": {
              "Scalar0To1": {
                "Value": 0.6
              }
            }
          }
        }
      }]}
  },
  "DataRequestManager": {
    "DataRequest": [{
      "DecimalFormat": {
        "Precision": 1
      },
      "PropertyName": "Weight",
      "Unit": "kg"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Physiology",
      "PropertyName": "HeartRate",
      "Unit": "1/min"
    }, {
      "DecimalFormat": {
        "Precision": 1
      },
      "Category": "Physiology",
      "PropertyName": "HeartStrokeVolume",
      "Unit": "mL"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Physiology",
      "PropertyName": "BloodVolume",
      "Unit": "L"
    }, {
      "DecimalFormat": {
        "Precision": 1
      },
      "Category": "Physiology",
      "PropertyName": "ExtravascularFluidVolume",
      "Unit": "L"
    }, {
      "DecimalFormat": {
        "Precision": 1
      },
      "Category": "Physiology",
      "PropertyName": "ArterialPressure",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
        "Precision": 1
      },
      "Category": "Physiology",
      "PropertyName": "MeanArterialPressure",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
      },
      "Category": "Physiology",
      "PropertyName": "SystolicArterialPressure",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
        "Precision": 1
      },
      "Category": "Physiology",
      "PropertyName": "DiastolicArterialPressure",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Physiology",
      "PropertyName": "CardiacOutput",
      "Unit": "L/min"
    }, {
      "DecimalFormat": {
      },
      "Category": "Physiology",
      "PropertyName": "HemoglobinContent",
      "Unit": "g"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Physiology",
      "PropertyName": "CentralVenousPressure",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Physiology",
      "PropertyName": "PulmonaryCapillariesWedgePressure",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
        "Precision": 3
      },
      "Category": "Physiology",
      "PropertyName": "TidalVolume",
      "Unit": "mL"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Physiology",
      "PropertyName": "TotalLungVolume",
      "Unit": "L"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Physiology",
      "PropertyName": "RespirationRate",
      "Unit": "1/min"
    }, {
      "DecimalFormat": {
        "Precision": 3
      },
      "Category": "Physiology",
      "PropertyName": "OxygenSaturation",
      "Unit": "unitless"
    }, {
      "DecimalFormat": {
        "Precision": 3
      },
      "Category": "Physiology",
      "PropertyName": "CarbonDioxideSaturation",
      "Unit": "unitless"
    }, {
      "DecimalFormat": {
        "Precision": 4
      },
      "Category": "Physiology",
      "PropertyName": "EndTidalCarbonDioxideFraction",
      "Unit": "unitless"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Physiology",
      "PropertyName": "TotalAlveolarVentilation",
      "Unit": "L/min"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Physiology",
      "PropertyName": "TranspulmonaryPressure",
      "Unit": "cmH2O"
    }, {
      "DecimalFormat": {
        "Precision": 1
      },
      "Category": "Physiology",
      "PropertyName": "CoreTemperature",
      "Unit": "degC"
    }, {
      "DecimalFormat": {
        "Precision": 1
      },
      "Category": "Physiology",
      "PropertyName": "SkinTemperature",
      "Unit": "degC"
    }, {
      "DecimalFormat": {
        "Precision": 3
      },
      "Category": "Physiology",
      "PropertyName": "RespiratoryExchangeRatio",
      "Unit": "unitless"
    }, {
      "DecimalFormat": {
      },
      "Category": "Physiology",
      "PropertyName": "OxygenConsumptionRate",
      "Unit": "mL/min"
    }, {
      "DecimalFormat": {
      },
      "Category": "Physiology",
      "PropertyName": "CarbonDioxideProductionRate",
      "Unit": "mL/min"
    }, {
      "DecimalFormat": {
      },
      "Category": "Physiology",
      "PropertyName": "GlomerularFiltrationRate",
      "Unit": "mL/min"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Physiology",
      "PropertyName": "RenalBloodFlow",
      "Unit": "L/min"
    }, {
      "DecimalFormat": {
        "Precision": 3
      },
      "Category": "Physiology",
      "PropertyName": "UrineProductionRate",
      "Unit": "mL/min"
    }, {
      "DecimalFormat": {
        "Precision": 4
      },
      "Category": "Physiology",
      "PropertyName": "LeftAfferentArterioleResistance",
      "Unit": "mmHg min/mL"
    }, {
      "DecimalFormat": {
        "Precision": 4
      },
      "Category": "Physiology",
      "PropertyName": "RightAfferentArterioleResistance",
      "Unit": "mmHg min/mL"
    }, {
      "DecimalFormat": {
      },
      "Category": "GasCompartment",
      "CompartmentName": "LeftAlveoli",
      "PropertyName": "Pressure",
      "Unit": "cmH2O"
    }, {
      "DecimalFormat": {
      },
      "Category": "GasCompartment",
      "CompartmentName": "LeftAlveoli",
      "SubstanceName": "Oxygen",
      "PropertyName": "PartialPressure",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
        "Precision": 1
      },
      "Category": "GasCompartment",
      "CompartmentName": "LeftAlveoli",
      "SubstanceName": "CarbonDioxide",
      "PropertyName": "PartialPressure",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
      },
      "Category": "GasCompartment",
      "CompartmentName": "RightAlveoli",
      "PropertyName": "Pressure",
      "Unit": "cmH2O"
    }, {
      "DecimalFormat": {
      },
      "Category": "GasCompartment",
      "CompartmentName": "RightAlveoli",
      "SubstanceName": "Oxygen",
      "PropertyName": "PartialPressure",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
        "Precision": 1
      },
      "Category": "GasCompartment",
      "CompartmentName": "RightAlveoli",
      "SubstanceName": "CarbonDioxide",
      "PropertyName": "PartialPressure",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
      },
      "Category": "GasCompartment",
      "CompartmentName": "Carina",
      "SubstanceName": "Oxygen",
      "PropertyName": "PartialPressure",
      "Unit": "cmH2O"
    }, {
      "DecimalFormat": {
        "Precision": 1
      },
      "Category": "GasCompartment",
      "CompartmentName": "Carina",
      "SubstanceName": "CarbonDioxide",
      "PropertyName": "PartialPressure",
      "Unit": "cmH2O"
    }, {
      "DecimalFormat": {
        "Precision": 1
      },
      "Category": "LiquidCompartment",
      "CompartmentName": "Aorta",
      "SubstanceName": "Oxygen",
      "PropertyName": "PartialPressure",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
        "Precision": 1
      },
      "Category": "LiquidCompartment",
      "CompartmentName": "Aorta",
      "SubstanceName": "CarbonDioxide",
      "PropertyName": "PartialPressure",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
        "Precision": 1
      },
      "Category": "LiquidCompartment",
      "CompartmentName": "VenaCava",
      "SubstanceName": "Oxygen",
      "PropertyName": "PartialPressure",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
        "Precision": 1
      },
      "Category": "LiquidCompartment",
      "CompartmentName": "VenaCava",
      "SubstanceName": "CarbonDioxide",
      "PropertyName": "PartialPressure",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "LiquidCompartment",
      "CompartmentName": "RightTubules",
      "SubstanceName": "Sodium",
      "PropertyName": "Concentration",
      "Unit": "g/L"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "LiquidCompartment",
      "CompartmentName": "LeftTubules",
      "SubstanceName": "Sodium",
      "PropertyName": "Concentration",
      "Unit": "g/L"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Substance",
      "SubstanceName": "Oxygen",
      "PropertyName": "AlveolarTransfer",
      "Unit": "mL/s"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Substance",
      "SubstanceName": "CarbonDioxide",
      "PropertyName": "AlveolarTransfer",
      "Unit": "mL/s"
    }, {
      "DecimalFormat": {
        "Precision": 6
      },
      "Category": "Substance",
      "SubstanceName": "Epinephrine",
      "PropertyName": "BloodConcentration",
      "Unit": "ug/L"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Physiology",
      "PropertyName": "InspiratoryFlow",
      "Unit": "L/min"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Physiology",
      "PropertyName": "ExpiratoryFlow",
      "Unit": "L/min"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Physiology",
      "PropertyName": "CarricoIndex",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Physiology",
      "PropertyName": "AlveolarArterialGradient",
      "Unit": "mmHg"
    }, {
      "DecimalFormat": {
        "Precision": 1
      },
      "Category": "Physiology",
      "PropertyName": "CardiacIndex",
      "Unit": "L/min m^2"
    }, {
      "DecimalFormat": {
        "Precision": 3
      },
      "Category": "Physiology",
      "PropertyName": "PulmonaryVascularResistance",
      "Unit": "mmHg s/mL"
    }, {
      "DecimalFormat": {
        "Precision": 3
      },
      "Category": "Physiology",
      "PropertyName": "PulmonaryVascularResistanceIndex",
      "Unit": "dyn s/cm^5 m^2"
    }, {
      "DecimalFormat": {
        "Precision": 6
      },
      "Category": "Substance",
      "SubstanceName": "Albuterol",
      "PropertyName": "PlasmaConcentration",
      "Unit": "ug/L"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Substance",
      "SubstanceName": "Albuterol",
      "PropertyName": "SystemicMassCleared",
      "Unit": "ug"
    }, {
      "DecimalFormat": {
        "Precision": 2
      },
      "Category": "Substance",
      "SubstanceName": "Albuterol",
      "PropertyName": "MassInBody",
      "Unit": "ug"
    }, { "DecimalFormat": { "Precision": 4 }, "Category": "Physiology", "PropertyName": "PulmonaryCompliance", "Unit": "L/cmH2O" 
	}, { "DecimalFormat": { "Precision": 4 }, "Category": "Physiology", "PropertyName": "InspiratoryPulmonaryResistance", "Unit": "cmH2O s/L" 
	}, { "DecimalFormat": { "Precision": 4 }, "Category": "Physiology", "PropertyName": "ExpiratoryPulmonaryResistance", "Unit": "cmH2O s/L" 
	}]
  },
  "AnyAction": [{
    "AdvanceTime": {
      "Time": {
        "ScalarTime": {
          "Value": 30.0,
          "Unit": "s"
        }
      }
    }
  }, {
   "PatientAction": {
     "MechanicalVentilation": {
       "State": "On",
       "Pressure": {
         "ScalarPressure": {
           "Value": 0.0,
           "Unit": "cmH2O"
         }
       }
     }
   }
  }, {
    "AdvanceTime": {
      "Time": {
        "ScalarTime": {
          "Value": 30.0,
          "Unit": "s"
        }
      }
    }
  }, {
    "PatientAction": {
      "Dyspnea": {
        "Severity": {
          "Scalar0To1": {
            "Value": 1.0
          }
        }
      }
    }
  }, {
    "AdvanceTime": {
      "Time": {
        "ScalarTime": {
          "Value": 30.0,
          "Unit": "s"
        }
      }
    }
  }, 
  
  { "PatientAction": { "Intubation": { "Type": "Tracheal" } } },
  
  {
    "PatientAction": {
      "MechanicalVentilation": {
        "State": "On",
        "Flow": {
          "ScalarVolumePerTime": {
            "Value": 1.0,
            "Unit": "L/s"
          }
        },
        "Pressure": {
          "ScalarPressure": {
            "Value": 10.0,
            "Unit": "cmH2O"
          }
        },
        "GasFraction": [{
          "Name": "Oxygen",
          "Amount": {
            "Scalar0To1": {
              "Value": 0.21
            }
          }
        }, {
          "Name": "CarbonDioxide",
          "Amount": {
            "Scalar0To1": {
              "Value": 4.0E-4
            }
          }
        }, {
          "Name": "Nitrogen",
          "Amount": {
            "Scalar0To1": {
              "Value": 0.7896
            }
          }
        }],
        "Aerosol": [{
          "Name": "Albuterol",
          "Concentration": {
            "ScalarMassPerVolume": {
              "Value": 2500.0,
              "Unit": "mg/m^3"
            }
          }
        }]
      }
    }
  }, {
    "AdvanceTime": {
      "Time": {
        "ScalarTime": {
          "Value": 3.0,
          "Unit": "s"
        }
      }
    }
  }, {
    "PatientAction": {
      "MechanicalVentilation": {
        "State": "On",
        "Pressure": {
          "ScalarPressure": {
            "Unit": "cmH2O"
          }
        }
      }
    }
  }, {
    "AdvanceTime": {
      "Time": {
        "ScalarTime": {
          "Value": 3.0,
          "Unit": "s"
        }
      }
    }
  }, {
    "PatientAction": {
      "MechanicalVentilation": {
        "State": "On",
        "Pressure": {
          "ScalarPressure": {
            "Value": 10.0,
            "Unit": "cmH2O"
          }
        },
        "GasFraction": [{
          "Name": "Oxygen",
          "Amount": {
            "Scalar0To1": {
              "Value": 1.0
            }
          }
        }, {
          "Name": "CarbonDioxide",
          "Amount": {
            "Scalar0To1": {
            }
          }
        }, {
          "Name": "Nitrogen",
          "Amount": {
            "Scalar0To1": {
            }
          }
        }],
        "Aerosol": [{
          "Name": "Albuterol",
          "Concentration": {
            "ScalarMassPerVolume": {
              "Unit": "mg/m^3"
            }
          }
        }]
      }
    }
  }, {
    "AdvanceTime": {
      "Time": {
        "ScalarTime": {
          "Value": 3.0,
          "Unit": "s"
        }
      }
    }
  }, {
    "PatientAction": {
      "MechanicalVentilation": {
        "State": "On",
        "Pressure": {
          "ScalarPressure": {
            "Value": -3.0,
            "Unit": "cmH2O"
          }
        }
      }
    }
  }, {
    "AdvanceTime": {
      "Time": {
        "ScalarTime": {
          "Value": 3.0,
          "Unit": "s"
        }
      }
    }
  }, {
    "PatientAction": {
      "MechanicalVentilation": {
        "State": "Off"
      }
    }
  }, {
    "AdvanceTime": {
      "Time": {
        "ScalarTime": {
          "Value": 3.0,
          "Unit": "s"
        }
      }
    }
  }]
}