# Test file for LungFunctionAssay (in vivo only)
# This assay is IN VIVO ONLY (supported_contexts: in_vivo_only)
# Requires a whole lung to assess function
lung_function_assays:
  - id: "LF:001"
    name: "FEV1 measurement"
    has_specified_output:
      id: "LF:001-output"
      name: "LF:001 measurement results"
      fev1:
        value: "82.5"
        unit:
          id: "UO:0000187"
          name: "percent predicted"
      fvc:
        value: "95.0"
        unit:
          id: "UO:0000187"
          name: "percent predicted"
      fev1_fvc_ratio:
        value: "86.8"
        unit:
          id: "UO:0000187"
          name: "percent"
      feno:
        value: "22"
        unit:
          id: "UO:0000170"
          name: "parts per billion"
      bronchodilator_response:
        value: "8.5"
        unit:
          id: "UO:0000187"
          name: "percent"
      dlco:
        value: "88"
        unit:
          id: "UO:0000187"
          name: "percent predicted"
      peak_expiratory_flow:
        value: "92"
        unit:
          id: "UO:0000187"
          name: "percent predicted"
    reference_dataset: "GLI-2012"
    assay_date: "2024-08-10"
    informs_on_key_event:
      id: "KE:ao-decreased-lung-function"
      name: "Decreased lung function"
      biological_action: decreased
      level_of_biological_organization: organ
    study_subject:
      subject_type: InVivoSubject
      id: "SUBJECT:002"
      name: "Subject B"
      model_species:
        id: "NCBITaxon:9606"
        name: "Homo sapiens"
      age:
        value: "52"
        unit:
          id: "UO:0000036"
          name: "year"
      sex: "male"
      subject_characteristics: "Non-smoker, no respiratory disease"
      clinical_context: "Baseline spirometry, pre-bronchodilator"
    follows_protocols:
      - protocol_type: SpirometryProtocol
        id: "PROTOCOL:spiro-001"
        name: "Pre- and post-bronchodilator spirometry"
        spirometry_standard: "ATS/ERS 2019"
        bronchodilator_agent: "albuterol"
        bronchodilator_dose:
          value: "400"
          unit:
            id: "UO:0000022"
            name: "microgram"
