{
  "schemaVersion": 4,
  "id": "step-process-scaffolds",
  "title": "The step-by-step process collection",
  "subtitle": "Trace reactions, host–pathogen processes, and drug journeys through interactive sequences.",
  "course": "Cross-disciplinary lecture design",
  "level": "Authoring examples",
  "durationMinutes": 10,
  "blocks": [
    {
      "type": "section",
      "title": "Chemistry & biochemistry"
    },
    {
      "type": "step-process",
      "domain": "chemistry",
      "title": "One reaction, alternative products",
      "pathway": "Example enzyme-catalyzed reaction",
      "description": "The process identity stays fixed. The result control changes only the product produced by this reaction.",
      "steps": [
        {
          "id": "substrate",
          "title": "Substrate",
          "context": "Reaction compartment",
          "description": "Define the substrate and reaction conditions.",
          "formula": "S",
          "agent": "binding"
        },
        {
          "id": "complex",
          "title": "Enzyme–substrate complex",
          "description": "Describe binding and catalytic commitment.",
          "formula": "E + S ⇌ ES",
          "agent": "catalysis"
        },
        {
          "id": "product-a",
          "title": "Product A",
          "description": "Default product of this one reaction.",
          "formula": "P₁"
        }
      ],
      "resultSets": [
        {
          "id": "products",
          "fromStep": "complex",
          "defaultResult": "Product A",
          "alternatives": [
            {
              "id": "product-b",
              "title": "Product B",
              "agent": "alternate product formation",
              "steps": [
                {
                  "id": "product-b-step",
                  "title": "Product B",
                  "description": "Alternative result of the same reaction under the stated conditions.",
                  "formula": "P₂"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "type": "section",
      "title": "Pathology & pathogenesis"
    },
    {
      "type": "step-process",
      "domain": "pathology",
      "title": "One pathogenic process, alternative results",
      "pathway": "Host response to one pathogen",
      "description": "The same host–pathogen process may resolve or progress; the control changes the result, not the pathway.",
      "steps": [
        {
          "id": "exposure",
          "title": "Exposure",
          "description": "Specify the pathogen and entry route.",
          "agent": "entry"
        },
        {
          "id": "establishment",
          "title": "Establishment",
          "description": "Explain establishment in the host.",
          "agent": "host interaction"
        },
        {
          "id": "interaction",
          "title": "Host–pathogen interaction",
          "description": "Define the shared process that can produce different results.",
          "agent": "injury progression"
        },
        {
          "id": "persistent-injury",
          "title": "Persistent tissue injury",
          "description": "Default result when injury-producing mechanisms persist."
        }
      ],
      "resultSets": [
        {
          "id": "clinical-results",
          "fromStep": "interaction",
          "defaultResult": "Persistent injury",
          "alternatives": [
            {
              "id": "clearance",
              "title": "Clearance and resolution",
              "agent": "effective host clearance",
              "steps": [
                {
                  "id": "resolved",
                  "title": "Clearance and resolution",
                  "description": "Alternative result of the same host–pathogen process."
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "type": "section",
      "title": "Pharmacology & drug journeys"
    },
    {
      "type": "step-process",
      "domain": "pharmacology",
      "title": "One drug mechanism, alternative results",
      "pathway": "Single drug–target mechanism",
      "description": "The drug and target pathway remain fixed; the control changes only the resulting effect.",
      "steps": [
        {
          "id": "drug",
          "title": "Drug exposure",
          "description": "Specify the drug and clinically relevant exposure context.",
          "agent": "target engagement"
        },
        {
          "id": "target",
          "title": "Target engagement",
          "description": "Specify one receptor, enzyme, transporter, or channel.",
          "agent": "signal change"
        },
        {
          "id": "therapeutic",
          "title": "Therapeutic result",
          "description": "Default result produced through this drug–target mechanism."
        }
      ],
      "resultSets": [
        {
          "id": "drug-results",
          "fromStep": "target",
          "defaultResult": "Therapeutic result",
          "alternatives": [
            {
              "id": "adverse",
              "title": "Adverse result",
              "agent": "same target mechanism",
              "steps": [
                {
                  "id": "adverse-result",
                  "title": "Adverse result",
                  "description": "Alternative result produced through the same drug–target mechanism."
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "type": "section",
      "title": "Tracked processes"
    },
    {
      "type": "tracked-step-process",
      "domain": "pharmacology",
      "title": "Track one pathway over time",
      "pathway": "Example time-dependent pathway",
      "description": "The left rail records when each stage occurs. The process identity remains fixed; the result control changes only the possible result.",
      "track": {
        "kind": "time",
        "title": "Time"
      },
      "steps": [
        {
          "id": "time-start",
          "title": "Initial stage",
          "trackLabel": "0 min",
          "description": "Define the initial state and starting time.",
          "agent": "responsible agent"
        },
        {
          "id": "time-middle",
          "title": "Intermediate stage",
          "trackLabel": "5 min",
          "description": "Explain what occurs at this time point.",
          "agent": "responsible agent"
        },
        {
          "id": "time-result-a",
          "title": "Result A",
          "trackLabel": "1 hour",
          "description": "Default result of this same pathway."
        }
      ],
      "resultSets": [
        {
          "id": "time-results",
          "fromStep": "time-middle",
          "defaultResult": "Result A",
          "alternatives": [
            {
              "id": "time-result-b",
              "title": "Result B",
              "agent": "same pathway, alternate result",
              "steps": [
                {
                  "id": "time-result-b-step",
                  "title": "Result B",
                  "trackLabel": "1 hour",
                  "description": "Alternative result of the same pathway at this time point."
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "type": "tracked-step-process",
      "domain": "pharmacology",
      "title": "Track one pathway across locations",
      "pathway": "Example location-dependent pathway",
      "description": "The left rail records the anatomical or cellular location of each stage.",
      "track": {
        "kind": "location",
        "title": "Location"
      },
      "steps": [
        {
          "id": "location-one",
          "title": "Stage in the liver",
          "trackLabel": "Liver",
          "description": "Explain the event occurring in this location.",
          "agent": "transport or conversion"
        },
        {
          "id": "location-two",
          "title": "Stage in circulation",
          "trackLabel": "Bloodstream",
          "description": "Explain the event occurring during circulation.",
          "agent": "delivery"
        },
        {
          "id": "location-three",
          "title": "Stage at the target organ",
          "trackLabel": "Heart",
          "description": "Explain the event occurring at the target location."
        }
      ]
    },
    {
      "type": "section",
      "title": "Structural depth"
    },
    {
      "type": "structure-layers",
      "title": "Skin from surface to subcutis",
      "structure": "Skin and superficial fascia",
      "direction": "superficial-to-deep",
      "description": "Select a slab to peel through the tissue in anatomical order. Separate the stack when you need to compare boundaries and relative thickness.",
      "layers": [
        {
          "id": "epidermis",
          "title": "Epidermis",
          "depthLabel": "Surface",
          "tone": "epithelial",
          "relativeThickness": 0.55,
          "tissue": "Keratinized stratified squamous epithelium",
          "description": "Avascular epithelial barrier renewed by keratinocytes moving toward the surface.",
          "landmarks": ["Stratum corneum", "Basal layer", "Rete ridges"],
          "clinicalNote": "The thickness and named strata vary by body site.",
          "boundaryAfter": "Dermal–epidermal junction"
        },
        {
          "id": "papillary-dermis",
          "title": "Papillary dermis",
          "depthLabel": "Superficial dermis",
          "tone": "connective",
          "relativeThickness": 0.8,
          "tissue": "Loose connective tissue",
          "description": "A superficial connective-tissue zone that interdigitates with the epidermis.",
          "landmarks": ["Dermal papillae", "Capillary loops", "Fine collagen fibers"],
          "boundaryAfter": "Transition to dense irregular connective tissue"
        },
        {
          "id": "reticular-dermis",
          "title": "Reticular dermis",
          "depthLabel": "Deep dermis",
          "tone": "connective",
          "relativeThickness": 2.4,
          "tissue": "Dense irregular connective tissue",
          "description": "The thicker load-bearing dermal layer containing coarse collagen bundles and skin appendages.",
          "landmarks": ["Hair follicles", "Sweat glands", "Neurovascular bundles"],
          "clinicalNote": "Incisions and burns are described partly by how deeply they cross this layer.",
          "boundaryAfter": "Dermal–subcutaneous interface"
        },
        {
          "id": "subcutis",
          "title": "Subcutaneous tissue",
          "depthLabel": "Deep",
          "tone": "other",
          "relativeThickness": 1.8,
          "tissue": "Adipose-rich loose connective tissue",
          "description": "A mobile deep compartment connecting skin to the underlying fascia.",
          "landmarks": ["Adipose lobules", "Fibrous septa", "Larger vessels and nerves"]
        }
      ]
    },
    {
      "type": "section",
      "title": "Substance journey"
    },
    {
      "type": "substance-journey",
      "title": "Trace an oral compound through the body",
      "substance": "Example compound X",
      "route": "Oral → target tissue → renal elimination",
      "description": "The tracer separates location, physical or chemical form, timing, transfer, and conceptual availability. Percentages are illustrative authoring data, not measured pharmacokinetics.",
      "stages": [
        {
          "id": "dose",
          "title": "Dose enters the gastrointestinal tract",
          "location": "Stomach",
          "phase": "entry",
          "form": "Dosage form",
          "duration": "Initial",
          "fraction": 100,
          "description": "Define disintegration, dissolution, and the factors that make the compound available for absorption.",
          "transition": "Gastric emptying"
        },
        {
          "id": "absorption",
          "title": "Compound crosses the intestinal barrier",
          "location": "Small intestine",
          "phase": "absorption",
          "form": "Dissolved compound",
          "duration": "Early",
          "fraction": 82,
          "description": "State the dominant transport route and any luminal or epithelial loss.",
          "details": [{"label": "Interface", "value": "Apical membrane → enterocyte → basolateral membrane"}],
          "transition": "Portal venous transport"
        },
        {
          "id": "first-pass",
          "title": "Presystemic handling changes exposure",
          "location": "Liver",
          "phase": "metabolism",
          "form": "Parent compound + metabolites",
          "duration": "Before systemic delivery",
          "fraction": 64,
          "description": "Represent extraction, biotransformation, activation, or inactivation without implying a fixed value.",
          "transition": "Hepatic venous outflow"
        },
        {
          "id": "distribution",
          "title": "Circulation distributes the compound",
          "location": "Systemic plasma",
          "phase": "distribution",
          "form": "Free and protein-bound fractions",
          "duration": "Distribution phase",
          "fraction": 58,
          "description": "Connect perfusion, binding, and membrane permeability to tissue exposure.",
          "transition": "Tissue delivery"
        },
        {
          "id": "effect",
          "title": "Target engagement produces a response",
          "location": "Target tissue",
          "phase": "action",
          "form": "Biophase concentration",
          "duration": "Effect phase",
          "fraction": 36,
          "description": "Distinguish target-site exposure from the downstream physiological effect.",
          "details": [{"label": "Teaching question", "value": "Is the response limited by delivery, binding, signaling, or adaptation?"}],
          "transition": "Redistribution and clearance"
        },
        {
          "id": "elimination",
          "title": "Parent compound or metabolites leave the body",
          "location": "Kidney and urine",
          "phase": "elimination",
          "form": "Filtered or secreted material",
          "duration": "Terminal phase",
          "fraction": 8,
          "description": "Describe filtration, secretion, reabsorption, and the meaning of residual body burden."
        }
      ]
    }
  ]
}
