# abachaa/medquad architecture

> Architecture diagram of the GitHub repository abachaa/medquad, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/abachaa/medquad
- Repository: https://github.com/abachaa/medquad

## Overview

MedQuAD is a static medical question-answer dataset, not an application with an implemented request-processing pipeline. Its principal use is for researchers to retrieve or evaluate answers to medical questions using question-answer pairs drawn from NIH websites. The README documents question-type and focus annotations, plus synonyms and UMLS identifiers; it also notes that answers are omitted from three MedlinePlus subsets. The tree shows the collection directories, but no source excerpts, so internal data relationships are not inferred.

Main entry points: [`10_MPlus_ADAM_QA`](https://github.com/abachaa/medquad/tree/master/10_MPlus_ADAM_QA) (A.D.A.M. QA), [`11_MPlusDrugs_QA`](https://github.com/abachaa/medquad/tree/master/11_MPlusDrugs_QA) (Drug QA), [`12_MPlusHerbsSupplements_QA`](https://github.com/abachaa/medquad/tree/master/12_MPlusHerbsSupplements_QA) (Herbs QA), [`1_CancerGov_QA`](https://github.com/abachaa/medquad/tree/master/1_CancerGov_QA) (CancerGov QA)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_medlineplus["MedlinePlus collections"]
  node_adam[("A.D.A.M. QA")]
  node_drugs[("Drug QA")]
  node_herbs[("Herbs QA")]
end

subgraph group_nih["Other NIH collections"]
  node_cancer[("CancerGov QA")]
  node_gard[("GARD QA")]
  node_ghr[("GHR QA")]
  node_topics[("Health Topics QA")]
  node_niddk[("NIDDK QA")]
  node_ninds[("NINDS QA")]
  node_senior[("SeniorHealth QA")]
  node_nhlbi[("NHLBI QA")]
  node_cdc[("CDC QA")]
end

subgraph group_research["Research use"]
  node_annotations["Question annotations"]
  node_evaluation["QA evaluation"]
end

node_researcher(("Researcher"))

node_researcher -->|"uses"| node_adam
node_researcher -->|"uses"| node_drugs
node_researcher -->|"uses"| node_herbs
node_researcher -->|"uses"| node_cancer
node_researcher -->|"uses"| node_gard
node_researcher -->|"uses"| node_ghr
node_researcher -->|"uses"| node_topics
node_researcher -->|"uses"| node_niddk
node_researcher -->|"uses"| node_ninds
node_researcher -->|"uses"| node_senior
node_researcher -->|"uses"| node_nhlbi
node_researcher -->|"uses"| node_cdc
node_researcher -->|"uses"| node_annotations
node_researcher -->|"evaluates with"| node_evaluation

click node_adam "https://github.com/abachaa/medquad/tree/master/10_MPlus_ADAM_QA"
click node_drugs "https://github.com/abachaa/medquad/tree/master/11_MPlusDrugs_QA"
click node_herbs "https://github.com/abachaa/medquad/tree/master/12_MPlusHerbsSupplements_QA"
click node_cancer "https://github.com/abachaa/medquad/tree/master/1_CancerGov_QA"
click node_gard "https://github.com/abachaa/medquad/tree/master/2_GARD_QA"
click node_ghr "https://github.com/abachaa/medquad/tree/master/3_GHR_QA"
click node_topics "https://github.com/abachaa/medquad/tree/master/4_MPlus_Health_Topics_QA"
click node_niddk "https://github.com/abachaa/medquad/tree/master/5_NIDDK_QA"
click node_ninds "https://github.com/abachaa/medquad/tree/master/6_NINDS_QA"
click node_senior "https://github.com/abachaa/medquad/tree/master/7_SeniorHealth_QA"
click node_nhlbi "https://github.com/abachaa/medquad/tree/master/8_NHLBI_QA_XML"
click node_cdc "https://github.com/abachaa/medquad/tree/master/9_CDC_QA"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_adam,node_drugs,node_herbs toneBlue
class node_cancer,node_gard,node_ghr,node_topics,node_niddk,node_ninds,node_senior,node_nhlbi,node_cdc toneAmber
class node_annotations,node_evaluation toneMint
class node_researcher toneIndigo
```

## Components

### MedlinePlus collections

- [A.D.A.M. QA](https://github.com/abachaa/medquad/tree/master/10_MPlus_ADAM_QA): `10_MPlus_ADAM_QA`
- [Drug QA](https://github.com/abachaa/medquad/tree/master/11_MPlusDrugs_QA): `11_MPlusDrugs_QA`
- [Herbs QA](https://github.com/abachaa/medquad/tree/master/12_MPlusHerbsSupplements_QA): `12_MPlusHerbsSupplements_QA`

### Other NIH collections

- [CancerGov QA](https://github.com/abachaa/medquad/tree/master/1_CancerGov_QA): `1_CancerGov_QA`
- [GARD QA](https://github.com/abachaa/medquad/tree/master/2_GARD_QA): `2_GARD_QA`
- [GHR QA](https://github.com/abachaa/medquad/tree/master/3_GHR_QA): `3_GHR_QA`
- [Health Topics QA](https://github.com/abachaa/medquad/tree/master/4_MPlus_Health_Topics_QA): `4_MPlus_Health_Topics_QA`
- [NIDDK QA](https://github.com/abachaa/medquad/tree/master/5_NIDDK_QA): `5_NIDDK_QA`
- [NINDS QA](https://github.com/abachaa/medquad/tree/master/6_NINDS_QA): `6_NINDS_QA`
- [SeniorHealth QA](https://github.com/abachaa/medquad/tree/master/7_SeniorHealth_QA): `7_SeniorHealth_QA`
- [NHLBI QA](https://github.com/abachaa/medquad/tree/master/8_NHLBI_QA_XML): `8_NHLBI_QA_XML`
- [CDC QA](https://github.com/abachaa/medquad/tree/master/9_CDC_QA): `9_CDC_QA`

### Research use

- **Question annotations**
- **QA evaluation**

### Other components

- **Researcher**

## Connections

- Researcher → A.D.A.M. QA: uses
- Researcher → Drug QA: uses
- Researcher → Herbs QA: uses
- Researcher → CancerGov QA: uses
- Researcher → GARD QA: uses
- Researcher → GHR QA: uses
- Researcher → Health Topics QA: uses
- Researcher → NIDDK QA: uses
- Researcher → NINDS QA: uses
- Researcher → SeniorHealth QA: uses
- Researcher → NHLBI QA: uses
- Researcher → CDC QA: uses
- Researcher → Question annotations: uses
- Researcher → QA evaluation: evaluates with
