# From a germ to a healthy community

> A process map exported from forks.world (https://forks.world). Author: Brian. Source: https://forks.world/p/cmv21ydst002pif06n0yr09wv
> 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

- 8 steps across 1 layer
- Persona: You, Doctor, Your body, Public health

## 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`.

## From a germ to a healthy community

Lanes:
- You: person / role (id `you`)
- Doctor: person / role (id `doctor`)
- Your body: person / role (id `body`)
- Public health: person / role (id `health`)

Steps, in the order they run:

1. **Catch something** [start; You; id `e1`]
   - then Your immune system responds
2. **Your immune system responds** [subprocess; Your body; id `e2`], 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 Rest and sleep to recover
3. **Rest and sleep to recover** [subprocess; You; id `e3`], links to the published process "What happens in your body when you sleep" (https://forks.world/p/cmv21nmlt000cl206lsp3u9ka; full text at https://forks.world/api/public/cmv21nmlt000cl206lsp3u9ka/export)
   - then Is it bacterial?
4. **Is it bacterial?** [decision; Doctor; id `e4`]
   - if "Yes" go to Prescribe antibiotics and finish the course; if "No" go to Fluids and rest, and no antibiotics
5. **Prescribe antibiotics and finish the course** [subprocess; Doctor; id `e5`], links to the published process "How bacteria become resistant to antibiotics" (https://forks.world/p/cmv21nlze0007l206u7zyu86x; full text at https://forks.world/api/public/cmv21nlze0007l206u7zyu86x/export)
   - then Vaccines protect people who never got sick
6. **Vaccines protect people who never got sick** [subprocess; Public health; id `e7`], 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 If it spreads fast, treat it as an outbreak
7. **If it spreads fast, treat it as an outbreak** [subprocess; Public health; id `e8`], links to the published process "How a pandemic spreads and is brought under control" (https://forks.world/p/cmv21y860001bif06pqad7qw2; full text at https://forks.world/api/public/cmv21y860001bif06pqad7qw2/export)
   - (no next step recorded)
8. **Fluids and rest, and no antibiotics** [task; Doctor; id `e6`]
   - then Vaccines protect people who never got sick

```mermaid
flowchart LR
  subgraph l_you["You"]
    n_e1(["Catch something"])
    n_e3[["Rest and sleep to recover"]]
  end
  subgraph l_doctor["Doctor"]
    n_e4{"Is it bacterial?"}
    n_e5[["Prescribe antibiotics and finish the course"]]
    n_e6["Fluids and rest, and no antibiotics"]
  end
  subgraph l_body["Your body"]
    n_e2[["Your immune system responds"]]
  end
  subgraph l_health["Public health"]
    n_e7[["Vaccines protect people who never got sick"]]
    n_e8[["If it spreads fast, treat it as an outbreak"]]
  end
  n_e1 --> n_e2
  n_e2 --> n_e3
  n_e3 --> n_e4
  n_e4 -->|"Yes"| n_e5
  n_e4 -->|"No"| n_e6
  n_e5 --> n_e7
  n_e6 --> n_e7
  n_e7 --> n_e8
```

## Full data (JSON)

```json
{
  "title": "From a germ to a healthy community",
  "maps": {
    "m_root": {
      "id": "m_root",
      "lanes": [
        {
          "id": "you",
          "name": "You",
          "type": "person"
        },
        {
          "id": "doctor",
          "name": "Doctor",
          "type": "person"
        },
        {
          "id": "body",
          "name": "Your body",
          "type": "person"
        },
        {
          "id": "health",
          "name": "Public health",
          "type": "person"
        }
      ],
      "steps": [
        {
          "id": "e1",
          "kind": "start",
          "lane": "you",
          "next": [
            {
              "to": "e2"
            }
          ],
          "uses": [],
          "label": "Catch something"
        },
        {
          "id": "e2",
          "kind": "subprocess",
          "lane": "body",
          "link": {
            "id": "cmv21nlb90002l206rdu6yn55",
            "scope": "public",
            "title": "How your immune system fights an infection"
          },
          "next": [
            {
              "to": "e3"
            }
          ],
          "uses": [],
          "label": "Your immune system responds"
        },
        {
          "id": "e3",
          "kind": "subprocess",
          "lane": "you",
          "link": {
            "id": "cmv21nmlt000cl206lsp3u9ka",
            "scope": "public",
            "title": "What happens in your body when you sleep"
          },
          "next": [
            {
              "to": "e4"
            }
          ],
          "uses": [],
          "label": "Rest and sleep to recover"
        },
        {
          "id": "e4",
          "kind": "decision",
          "lane": "doctor",
          "next": [
            {
              "to": "e5",
              "label": "Yes"
            },
            {
              "to": "e6",
              "label": "No"
            }
          ],
          "uses": [],
          "label": "Is it bacterial?"
        },
        {
          "id": "e5",
          "kind": "subprocess",
          "lane": "doctor",
          "link": {
            "id": "cmv21nlze0007l206u7zyu86x",
            "scope": "public",
            "title": "How bacteria become resistant to antibiotics"
          },
          "next": [
            {
              "to": "e7"
            }
          ],
          "uses": [],
          "label": "Prescribe antibiotics and finish the course"
        },
        {
          "id": "e6",
          "kind": "task",
          "lane": "doctor",
          "next": [
            {
              "to": "e7"
            }
          ],
          "uses": [],
          "label": "Fluids and rest, and no antibiotics"
        },
        {
          "id": "e7",
          "kind": "subprocess",
          "lane": "health",
          "link": {
            "id": "cmv0ie1q40018jw06ksu339x2",
            "scope": "public",
            "title": "From lab idea to vaccine in your arm"
          },
          "next": [
            {
              "to": "e8"
            }
          ],
          "uses": [],
          "label": "Vaccines protect people who never got sick"
        },
        {
          "id": "e8",
          "kind": "subprocess",
          "lane": "health",
          "link": {
            "id": "cmv21y860001bif06pqad7qw2",
            "scope": "public",
            "title": "How a pandemic spreads and is brought under control"
          },
          "next": [],
          "uses": [],
          "label": "If it spreads fast, treat it as an outbreak"
        }
      ],
      "title": "From a germ to a healthy community",
      "parent": null
    }
  }
}
```
