import json

data = {
 "topic": "Hashimoto Thyroiditis",
 "slug": "hashimoto-thyroiditis",
 "category_id": 15820,
 "summary": "Hashimoto (chronic lymphocytic/autoimmune) thyroiditis is the most common cause of goiter and hypothyroidism in children over 6, driven by autoimmune destruction of the thyroid gland, occasionally causing a transient hyperthyroid phase called hashitoxicosis.",
 "written_by": "claude-sonnet",
 "references": [
  {"title": "MedStudy Pediatrics Core 11th Edition 2024-2025", "author": None, "pages": [626]},
  {"title": "Cover", "author": "Vitalsource Download", "pages": [7994, 7995, 7996, 8011, 8019]},
  {"title": "Netters Pediatrics (Florin Т., Ludwig St.)", "author": None, "pages": [447]},
  {"title": "Pediatric Board Study Guide", "author": None, "pages": [418]},
  {"title": "Zitelli and Davis' Atlas of Pediatric Physical Diagnosis: Expert Consult - Online", "author": None, "pages": [404]},
  {"title": "Kliegman R. Nelson Textbook of Pediatrics 2-Volume Set 22ed 2024", "author": None, "pages": [3746]}
 ],
 "short": [
  {"title": "In short", "content": (
   "- Hashimoto thyroiditis (chronic lymphocytic/autoimmune thyroiditis) is the most common thyroid disorder in children and the most common cause of goiter and hypothyroidism in children over 6 years of age in the US/North America\n"
   "- Girls are affected 2-3 times more often than boys; there is a strong genetic predisposition, with 30-40% of patients having a family history of thyroid disease (Hashimoto or Graves)\n"
   "- 5-6% of school-age children have positive thyroid antibodies; monozygotic twins show about 50% concordance for Graves disease versus 5% in fraternal twins, and thyroid autoantibodies appear in about 50% of siblings of patients with Graves disease, reflecting shared genetic susceptibility across autoimmune thyroid disease\n"
   "- Increased incidence in trisomy 21 (Down syndrome), Turner syndrome, Klinefelter syndrome, and autoimmune polyglandular syndromes; occurs in 10-15% of children with type 1 diabetes, typically about 5 years after diabetes onset - the AAP/consensus recommends annual thyroid autoimmunity screening in all children with type 1 diabetes\n"
   "- Classic presentation: nontender, firm, irregularly enlarged (bosselated) goiter with euthyroid status or mild hypothyroidism; other features include growth retardation, fatigue, constipation, dry skin, cold intolerance, hair loss, weight gain, depression, and decreased school performance\n"
   "- Diagnostic antibodies: antithyroglobulin (Tg-Ab) and thyroid peroxidase (TPO-Ab) antibodies are typically present but are NOT specific to Hashimoto - positive titers occur in 15-20% of adults without thyroiditis and in untreated Graves disease\n"
   "- 5-10% of children with Hashimoto thyroiditis develop an initial transient hyperthyroid phase called hashitoxicosis, from autonomous release of preformed thyroid hormone during gland destruction - it lasts only months (versus years for Graves), lacks Graves ophthalmopathy, and shows low/absent (or non-homogeneous) radioactive iodine uptake versus the high, diffuse uptake of Graves disease\n"
   "- Thyroid ultrasound should be obtained if the goiter is asymmetric or nodular; a thyroid scan/uptake study is used to distinguish hashitoxicosis from Graves disease when hyperthyroidism is present\n"
   "- Course is variable if untreated: the gland may progressively atrophy leading to hypothyroidism without a preceding hypertrophic phase, or spontaneous remission can occur in about 30% of adolescent patients\n"
   "- Hashimoto encephalopathy (steroid-responsive encephalopathy with autoimmune thyroiditis, SREAT) is a rare, controversial, corticosteroid-responsive encephalopathy defined by TPO antibodies plus acute/subacute neurologic symptoms (strokelike episodes, tremor, myoclonus, aphasia, seizures, ataxia), diagnosed by exclusion of other causes"
  )}
 ],
 "long": [
  {"title": "Definition", "content": (
   "Hashimoto thyroiditis, also called chronic lymphocytic thyroiditis or chronic autoimmune thyroiditis, is part of the spectrum of autoimmune thyroid disease, characterized by destruction of thyroid follicular cells through various cell- and antibody-mediated immune processes. It is the most common cause of hypothyroidism in individuals older than 6 years in the United States."
  )},
  {"title": "Epidemiology", "content": (
   "Hashimoto thyroiditis is the most common thyroid disorder in children, with a marked predilection for females (2-3 times more common than in boys) and for Caucasians. Approximately 5-6% of school-age children have positive thyroid antibodies. There is a strong genetic predisposition: 30-40% of patients have a family history of thyroid disease (either Hashimoto disease or Graves disease), and studies in twins support a shared genetic susceptibility across autoimmune thyroid disease more broadly - monozygotic twins show about 50% concordance for Graves disease compared with about 5% in fraternal twins, and there are reported monozygotic twin pairs in which one twin developed Graves disease and the other developed Hashimoto thyroiditis. Thyroid autoantibodies have been found in approximately 50% of siblings of patients with Graves disease. Hashimoto thyroiditis occurs with increased frequency in children with Down syndrome (trisomy 21), Turner syndrome, Klinefelter syndrome, and autoimmune polyglandular syndromes; it occurs in 10-15% of children with type 1 diabetes, typically presenting about 5 years after the diabetes diagnosis, which is why consensus guidance recommends annual screening for autoimmune thyroid disease in all children with type 1 diabetes."
  )},
  {"title": "Pathophysiology", "content": (
   "Autoimmune destruction of the thyroid gland in Hashimoto thyroiditis is driven by circulating antithyroglobulin (Tg-Ab) and thyroid peroxidase (TPO-Ab) antibodies, along with T-cell-mediated processes; TPO antibodies in particular are considered markers of ongoing thyroid inflammation and directly contribute to it. Patients may also have thyroglobulin antibodies or, in a related presentation (atrophic thyroiditis), blocking TSH-receptor antibodies, both of which can destroy thyroid cells. In a subset of patients (5-10%), lymphocytic infiltration and gland destruction cause disordered release of preformed, stored thyroid hormone, producing a transient hyperthyroid phase called hashitoxicosis; this differs mechanistically from Graves disease, where hyperthyroidism results from a stimulating antibody against the TSH receptor (TRAb/TSI) driving increased hormone production rather than passive release from a damaged gland."
  )},
  {"title": "Clinical features", "content": (
   "Disease onset is typically insidious, most often presenting with a euthyroid goiter or a goiter with mild hypothyroidism. The thyroid gland is characteristically nontender, irregularly enlarged, and firm, with accentuation of its normal lobular architecture (described as bosselated); it can occasionally cause a sensation of local pressure or difficulty swallowing. Systemic features of the resulting hypothyroidism include growth retardation, fatigue, constipation, dry skin, cold intolerance, hair loss, weight gain, and neuropsychiatric symptoms including depression and decreased school performance. In the 5-10% of children who develop hashitoxicosis, presenting features instead include tachycardia, nervousness, and other signs of thyroid hormone excess with elevated free T4 and suppressed TSH early in the illness, most commonly in adolescents; this phase is typically shorter-lived than Graves hyperthyroidism (months rather than years) and lacks the ophthalmopathy characteristic of Graves disease."
  )},
  {"title": "Diagnostics", "content": (
   "Laboratory findings in classic Hashimoto thyroiditis show either normal thyroid function tests or an elevated TSH with normal free T4 (subclinical or early hypothyroidism). Antithyroglobulin and TPO antibodies are typically present but are not specific to Hashimoto thyroiditis - positive titers occur in 15-20% of adults without any thyroiditis and are also found in untreated Graves disease - so antibody positivity should be interpreted in clinical context rather than as a standalone diagnostic marker; familial clustering of positive antibodies supports a genetic predisposition to autoimmune thyroid disease more broadly. Thyroid ultrasound should be obtained if the goiter is asymmetric or nodular. When a patient presents with hyperthyroidism, a thyroid scan and radioactive iodine (RAI) uptake study helps distinguish hashitoxicosis from Graves disease: uptake is high and diffusely distributed in Graves disease, whereas in hashitoxicosis uptake is typically low or absent and, if present, is non-homogeneous. Thyroid scintigraphy is not necessary unless the diagnosis remains uncertain."
  )},
  {"title": "Differential diagnosis", "content": (
   "The principal differential for a child presenting with hyperthyroid features is Graves disease, distinguished from hashitoxicosis by the presence of a stimulating TSH-receptor antibody (TRAb/TSI, absent in hashitoxicosis), diffusely high RAI uptake (versus low/absent uptake in hashitoxicosis), Graves ophthalmopathy (absent in hashitoxicosis), and a longer expected duration of hyperthyroidism (years in Graves versus months in hashitoxicosis). Other, less common causes of pediatric hyperthyroidism to consider include autonomously functioning thyroid adenomas, toxic multinodular goiter, activating TSH-receptor mutations, selective pituitary T3 resistance, and exogenous thyroid hormone intake. For a nontender goiter with normal or mildly reduced thyroid function, other causes of goiter (iodine deficiency, dyshormonogenesis) should also be considered, particularly if antibodies are negative or the clinical picture is atypical."
  )},
  {"title": "Treatment", "content": (
   "There is no explicit standard treatment protocol detailed for straightforward Hashimoto thyroiditis presenting with euthyroid goiter beyond monitoring, since spontaneous remission occurs in about 30% of adolescent patients and the disease course is variable if untreated - some patients progress to gland atrophy and hypothyroidism without an intervening compensatory hypertrophic phase. Beta-blockers can be used for symptomatic relief during a hashitoxicosis phase. Once overt hypothyroidism is present, standard management is thyroid hormone replacement (levothyroxine), guided by periodic reassessment of thyroid function; children with type 1 diabetes should be screened annually for autoimmune thyroid disease to catch Hashimoto thyroiditis, given its 10-15% prevalence in this population."
  )},
  {"title": "Complications", "content": (
   "If untreated, Hashimoto thyroiditis can progress to overt hypothyroidism with associated growth retardation and neuropsychiatric effects (depression, decreased school performance, and, if hypothyroidism is severe and prolonged, other cognitive effects). Hashimoto encephalopathy, also known as steroid-responsive encephalopathy with autoimmune thyroiditis (SREAT), is a rare and controversial complication defined by TPO antibodies in a patient with acute or subacute encephalitis-like features - strokelike episodes, tremor, myoclonus, transient aphasia, sleep and behavior abnormalities, hallucinations, seizures, and ataxia - that responds to corticosteroids; CSF, MRI, and EEG findings are nonspecific, and diagnosis requires excluding other inflammatory and autoimmune causes of encephalopathy."
  )}
 ],
 "clinical": [
  {"title": "Approach at the bedside", "content": (
   "In a child, especially a girl, presenting with a firm, nontender, irregularly enlarged (bosselated) goiter - with or without symptoms of hypothyroidism (growth deceleration, fatigue, constipation, dry skin, cold intolerance, weight gain, or declining school performance) - check TSH and free T4, and send antithyroglobulin and TPO antibodies, recognizing that positive antibodies support but do not confirm the diagnosis given their prevalence in unaffected people and in Graves disease. Obtain a thyroid ultrasound if the goiter is asymmetric or nodular rather than diffusely enlarged. Ask specifically about a family history of thyroid disease and screen for associated conditions (Down syndrome, Turner or Klinefelter syndrome, type 1 diabetes, other autoimmune polyglandular features), and ensure any child with type 1 diabetes is receiving the recommended annual autoimmune thyroid screening.\n\nIf the child instead presents with hyperthyroid features (tachycardia, nervousness, heat intolerance, weight loss) without ophthalmopathy, consider hashitoxicosis rather than assuming Graves disease - order a thyroid scan/RAI uptake study, expecting low or non-homogeneous uptake in hashitoxicosis versus high diffuse uptake in Graves disease, and counsel the family that this hyperthyroid phase is typically self-limited over a period of months. Use beta-blockade for symptomatic relief during this phase as needed. Once hypothyroidism is confirmed, start levothyroxine replacement and follow thyroid function periodically, while keeping in mind that a minority of adolescents (about 30%) can have spontaneous remission, so ongoing reassessment of the need for continued therapy is appropriate rather than assuming lifelong treatment from the outset in every case. If a patient with known TPO antibodies develops unexplained acute or subacute neurologic/psychiatric symptoms, consider the rare possibility of Hashimoto encephalopathy (SREAT) after excluding other causes, given its responsiveness to corticosteroids."
  )}
 ]
}

with open("/tmp/hashimoto.article.json", "w") as f:
    json.dump(data, f, indent=1)
print("written")
