# How a pandemic spreads and is brought under control

> A process map exported from forks.world (https://forks.world). Author: Brian. Source: https://forks.world/p/cmv21y860001bif06pqad7qw2
> It describes who does what, in what order, and with which technology. Read the plain-language sections first; the JSON at the end is the exact, complete data.

## Summary

- 10 steps across 1 layer
- Persona: The virus, People, Public health, Scientists

## How to read this file

- A process is made of **layers**. The main layer is the top level; any step of kind `subprocess` opens a detail layer with its own lanes and steps.
- **Lanes** are either persona (people/roles) or technology (systems). Each step belongs to one lane; `using` lists tools a person uses for that step.
- Step kinds: `start`, `task`, `decision` (its arrows carry the answer as a label), `subprocess`, `end`.

## How a pandemic spreads and is brought under control

Lanes:
- The virus: person / role (id `virus`)
- People: person / role (id `people`)
- Public health: person / role (id `health`)
- Scientists: person / role (id `science`)

Steps, in the order they run:

1. **Jumps from an animal to a person** [start; The virus; id `p1`]
   - then The first people are infected and travel
2. **The first people are infected and travel** [task; People; id `p2`]
   - then Spreads through the air or by touch
3. **Spreads through the air or by touch** [task; The virus; id `p3`]
   - then Detect the outbreak and test
4. **Detect the outbreak and test** [task; Public health; id `p4`]
   - then Is it spreading faster than 1 new case per case?
5. **Is it spreading faster than 1 new case per case?** [decision; Public health; id `p5`]
   - if "Yes" go to Limit gatherings and travel; if "No" go to Cases fall below the point where it spreads
6. **Limit gatherings and travel** [task; Public health; id `p6`]
   - then Sequence the virus and start a vaccine
7. **Sequence the virus and start a vaccine** [subprocess; Scientists; id `p7`], links to the published process "From lab idea to vaccine in your arm" (https://forks.world/p/cmv0ie1q40018jw06ksu339x2; full text at https://forks.world/api/public/cmv0ie1q40018jw06ksu339x2/export)
   - then Immune response builds from infection or vaccine
8. **Immune response builds from infection or vaccine** [subprocess; People; id `p8`], links to the published process "How your immune system fights an infection" (https://forks.world/p/cmv21nlb90002l206rdu6yn55; full text at https://forks.world/api/public/cmv21nlb90002l206rdu6yn55/export)
   - then Cases fall below the point where it spreads
9. **Cases fall below the point where it spreads** [task; Public health; id `p9`]
   - then Keep watching for new variants
10. **Keep watching for new variants** [end; Public health; id `p10`]

```mermaid
flowchart LR
  subgraph l_virus["The virus"]
    n_p1(["Jumps from an animal to a person"])
    n_p3["Spreads through the air or by touch"]
  end
  subgraph l_people["People"]
    n_p2["The first people are infected and travel"]
    n_p8[["Immune response builds from infection or vaccine"]]
  end
  subgraph l_health["Public health"]
    n_p4["Detect the outbreak and test"]
    n_p5{"Is it spreading faster than 1 new case per case?"}
    n_p6["Limit gatherings and travel"]
    n_p9["Cases fall below the point where it spreads"]
    n_p10(["Keep watching for new variants"])
  end
  subgraph l_science["Scientists"]
    n_p7[["Sequence the virus and start a vaccine"]]
  end
  n_p1 --> n_p2
  n_p2 --> n_p3
  n_p3 --> n_p4
  n_p4 --> n_p5
  n_p5 -->|"Yes"| n_p6
  n_p5 -->|"No"| n_p9
  n_p6 --> n_p7
  n_p7 --> n_p8
  n_p8 --> n_p9
  n_p9 --> n_p10
```

## Full data (JSON)

```json
{
  "title": "How a pandemic spreads and is brought under control",
  "maps": {
    "m_root": {
      "id": "m_root",
      "lanes": [
        {
          "id": "virus",
          "name": "The virus",
          "type": "person"
        },
        {
          "id": "people",
          "name": "People",
          "type": "person"
        },
        {
          "id": "health",
          "name": "Public health",
          "type": "person"
        },
        {
          "id": "science",
          "name": "Scientists",
          "type": "person"
        }
      ],
      "steps": [
        {
          "id": "p1",
          "kind": "start",
          "lane": "virus",
          "next": [
            {
              "to": "p2"
            }
          ],
          "uses": [],
          "label": "Jumps from an animal to a person"
        },
        {
          "id": "p2",
          "kind": "task",
          "lane": "people",
          "next": [
            {
              "to": "p3"
            }
          ],
          "uses": [],
          "label": "The first people are infected and travel"
        },
        {
          "id": "p3",
          "kind": "task",
          "lane": "virus",
          "next": [
            {
              "to": "p4"
            }
          ],
          "uses": [],
          "label": "Spreads through the air or by touch"
        },
        {
          "id": "p4",
          "kind": "task",
          "lane": "health",
          "next": [
            {
              "to": "p5"
            }
          ],
          "uses": [],
          "label": "Detect the outbreak and test"
        },
        {
          "id": "p5",
          "kind": "decision",
          "lane": "health",
          "next": [
            {
              "to": "p6",
              "label": "Yes"
            },
            {
              "to": "p9",
              "label": "No"
            }
          ],
          "uses": [],
          "label": "Is it spreading faster than 1 new case per case?"
        },
        {
          "id": "p6",
          "kind": "task",
          "lane": "health",
          "next": [
            {
              "to": "p7"
            }
          ],
          "uses": [],
          "label": "Limit gatherings and travel"
        },
        {
          "id": "p7",
          "kind": "subprocess",
          "lane": "science",
          "link": {
            "id": "cmv0ie1q40018jw06ksu339x2",
            "scope": "public",
            "title": "From lab idea to vaccine in your arm"
          },
          "next": [
            {
              "to": "p8"
            }
          ],
          "uses": [],
          "label": "Sequence the virus and start a vaccine"
        },
        {
          "id": "p8",
          "kind": "subprocess",
          "lane": "people",
          "link": {
            "id": "cmv21nlb90002l206rdu6yn55",
            "scope": "public",
            "title": "How your immune system fights an infection"
          },
          "next": [
            {
              "to": "p9"
            }
          ],
          "uses": [],
          "label": "Immune response builds from infection or vaccine"
        },
        {
          "id": "p9",
          "kind": "task",
          "lane": "health",
          "next": [
            {
              "to": "p10"
            }
          ],
          "uses": [],
          "label": "Cases fall below the point where it spreads"
        },
        {
          "id": "p10",
          "kind": "end",
          "lane": "health",
          "next": [],
          "uses": [],
          "label": "Keep watching for new variants"
        }
      ],
      "title": "How a pandemic spreads and is brought under control",
      "parent": null
    }
  }
}
```
