import json

data = {
 "topic": "Cow Milk Protein Sensitivity",
 "slug": "cow-milk-protein-sensitivity",
 "category_id": 15938,
 "summary": "Cow milk protein sensitivity is the most common food allergy in infants, spanning IgE-mediated immediate reactions to non-IgE-mediated GI syndromes, diagnosed by elimination and rechallenge and managed with hydrolyzed or amino-acid formula, with most children outgrowing it by school age.",
 "written_by": "claude-sonnet",
 "references": [
  {"title": "Textbook of Pediatric Gastroenterology, Hepatology and Nutrition (Stefano Guandalini, Anil Dhawan)", "author": None, "pages": [146, 366]},
  {"title": "Pediatric Nutrition Handbook", "author": "Kleinman, Ronald E.", "pages": [662, 844]},
  {"title": "Cover", "author": "Vitalsource Download", "pages": [564, 5510, 5788, 5789]},
  {"title": "Berkowitz's Pediatrics", "author": "Berkowitz, Carol D.;", "pages": [714]},
  {"title": "Algorithms in Pediatrics", "author": None, "pages": [378]},
  {"title": "Pediatric Nutrition (Ronald E. Kleinman, Frank R. Greer)", "author": None, "pages": [114]},
  {"title": "Signs and Symptoms in Pediatrics", "author": "Henry M. Adam,Jane Meschan Foy", "pages": [215]},
  {"title": "Gomella's Neonatology: Management, Procedures, On-Call Problems, Diseases, and Drugs, Eighth Edition", "author": "Tricia Lacy Gomella, Fabien G. Eyal and Fayez Bany-Mohammed", "pages": [188]}
 ],
 "short": [
  {"title": "In short", "content": (
   "- Cow milk protein allergy/sensitivity is the most common food allergy in infants, affecting an estimated 2-8% of children in the first years of life depending on the source (2.2-2.8% by one estimate, 2-5% in Western countries by another, 6-8% for dietary protein hypersensitivity broadly)\n"
   "- Two broad reaction patterns: immediate IgE-mediated (within minutes of ingestion - vomiting, pallor, shock-like state, urticaria, lip swelling, seen in 10-20% of reactions) and delayed/non-IgE-mediated (GI-predominant - colitis, enterocolitis, food protein-induced enterocolitis syndrome, or allergic proctocolitis with blood-streaked stool)\n"
   "- Allergic proctocolitis presents in infants on first exposure to cow's milk protein (including via breastfeeding) with mild symptoms limited to blood-streaked stool\n"
   "- Heiner syndrome is a rare IgG-mediated reaction causing recurrent otitis, bronchitis, sinusitis, eosinophilia, and pulmonary hemosiderosis with anemia - alleviated by milk elimination\n"
   "- Diagnosis is generally made by elimination diet (maternal avoidance if breastfed, or hydrolyzed/hypoallergenic formula if formula-fed) with symptom improvement, and confirmed by relapse on reintroduction/challenge - there is no reliable confirmatory lab test; skin testing is not indicated for non-IgE forms\n"
   "- 30-50% of children with cow milk protein intolerance are also intolerant to soy protein (cited elsewhere as 17-47%, or up to 60% for milk protein allergy with soy cross-reactivity); AAP does not recommend routine soy formula for colic, and soy increases osteopenia risk in preterm infants\n"
   "- First-line formula choice for significant cow milk allergy is an extensively hydrolyzed casein/whey formula or an amino-acid (elemental) formula; a trial should last at least 1 month in infants with mild symptoms to allow mucosal healing\n"
   "- Prognosis is favorable: about 80% of children with cow milk hypersensitivity outgrow it by age 4; for delayed-type, GI-predominant reactions, roughly 45-50% are tolerant by age 1, 60-75% by age 2, and 85-90% by age 3, while some 25% with IgE-mediated reactions continue to react\n"
   "- Skin-prick testing at age 1 can help predict outcome and likelihood of developing other food sensitivities; addition of probiotic L. reuteri to an extensively hydrolyzed casein formula may accelerate recovery from milk-related hematochezia and accelerate tolerance development\n"
   "- Reintroduction of cow milk or soy protein in a previously highly sensitized child should be done under medical supervision because of residual reaction risk"
  )}
 ],
 "long": [
  {"title": "Definition", "content": (
   "Cow milk protein sensitivity encompasses a spectrum of adverse immune reactions to proteins in cow's milk (such as casein and whey), ranging from immediate IgE-mediated allergy to delayed, non-IgE-mediated gastrointestinal syndromes such as allergic proctocolitis and food protein-induced enterocolitis syndrome (FPIES). It is distinct from lactose intolerance, which is a non-immune enzymatic (lactase deficiency) problem. Milk protein intolerance more specifically refers to the nonallergic, non-IgE-mediated GI form of sensitivity."
  )},
  {"title": "Epidemiology", "content": (
   "Cow milk protein allergy is the most common food allergy in infants. Estimates of prevalence vary by definition and population: cow milk hypersensitivity develops in about 2.2-2.8% of infants by one estimate, cow's milk protein allergy affects 2-5% of children in Western countries with the highest prevalence in the first year of life, and dietary protein hypersensitivity more broadly (predominantly to cow milk) occurs in 6-8% of children during the first 5 years of life. In India, cow milk protein allergy accounts for approximately 13% of malabsorption cases in children under 2 years. Nonallergic milk protein intolerance specifically has an estimated prevalence of 0.5-1.0% and is more common in males, in young infants, and in those with a family history of atopy. A temporal association with introduction of animal or formula milk is often noted, and coexisting wheeze, eczema, and atopy occur in 20-30% of affected children, with a similar family history present in about 10%."
  )},
  {"title": "Etiology", "content": (
   "There are two broad immunologic categories of reaction to cow's milk protein. Immediate, IgE-mediated reactions occur within minutes of ingestion and resemble anaphylaxis - vomiting, pallor, a shock-like state, urticaria, and lip swelling, seen in 10-20% of reported cases in one series. Delayed, non-IgE-mediated reactions have a more gastrointestinal-predominant presentation and include allergic (eosinophilic) proctocolitis, milk protein-induced enteropathy, and food protein-induced enterocolitis syndrome (FPIES). Heiner syndrome is a rare, distinct IgG-mediated reaction to cow's milk protein producing recurrent otitis, bronchitis, sinusitis, and eosinophilia, sometimes with pulmonary hemosiderosis, anemia, and hemosiderin-laden cells detectable in saliva; it resolves with milk elimination. A family history of atopy is common across these presentations, and exposure to cow's milk protein can occur via infant formula or, in a breastfed infant, transmitted through breast milk from the mother's diet."
  )},
  {"title": "Clinical features", "content": (
   "IgE-mediated reactions present acutely and can include vomiting, pallor, shock-like state, urticaria, and lip/facial swelling, occasionally progressing to anaphylaxis. Non-IgE-mediated, GI-predominant disease more commonly presents in an otherwise healthy-appearing infant with flecks of blood in the stool or loose, mucoid, blood-streaked stools (allergic/eosinophilic proctocolitis); symptoms may occur even in an exclusively breastfed infant via maternal dietary protein transmitted in breast milk. Other reported features include diarrhea, vomiting, failure to thrive, protein-losing enteropathy, peripheral eosinophilia, and extraintestinal allergic manifestations such as eczema, hives, or wheeze/asthma. Cow milk protein allergy symptoms substantially overlap with those of gastroesophageal reflux disease (GERD) - persistent regurgitation and vomiting can be a manifestation of either - and the two conditions can coexist, complicating diagnosis based on symptoms alone."
  )},
  {"title": "Diagnostics", "content": (
   "There is no single reliable confirmatory laboratory test for the GI-predominant, non-IgE-mediated forms of cow milk protein sensitivity; skin-prick testing is not indicated for these presentations, though it can have value for IgE-mediated allergy and, performed at 1 year of age, can help predict clinical outcome and the likelihood of developing other food sensitivities. The diagnostic cornerstone across presentations is a positive clinical response to a trial of cow milk protein elimination from the diet, followed by relapse of symptoms on reintroduction (challenge). A time-limited, typically 2-week, trial of directed dietary elimination is a reasonable initial diagnostic step for suspected food protein-induced proctocolitis, and a similar 2-week trial of a hypoallergenic formula can be used when cow milk allergy is suspected to mimic or coexist with GERD, given the identical symptom overlap. Neither occult blood-positive stool, eczema, nor positive allergy testing is required to make the diagnosis or to justify a hypoallergenic formula trial - many infants have only spitting up and/or fussiness as their sole symptoms."
  )},
  {"title": "Differential diagnosis", "content": (
   "Because symptoms of cow's milk protein allergy in infants can be identical to those of GERD, the two conditions must be distinguished (or their coexistence recognized) using a hypoallergenic formula trial with close symptom observation. Lactose intolerance is a separate, non-immune enzymatic condition (lactase deficiency) that should not be confused with cow milk protein allergy, though both can cause GI symptoms after dairy intake. Soy protein allergy commonly coexists with cow milk protein allergy - reported cross-reactivity/coexistence rates range widely across sources (17-47% in one citation, up to 60% in another, and 30-50% in a third), which is important because soy formula is not automatically a safe substitute."
  )},
  {"title": "Treatment", "content": (
   "For significant cow milk protein sensitivity, the recommended formula choice is an extensively hydrolyzed cow milk protein (casein/whey) hydrolysate or an amino-acid-based (elemental) formula, rather than soy formula as a first substitute, given the substantial rate of soy cross-reactivity, particularly in infants with GI-predominant (colitis, enterocolitis, FPIES-type) presentations. Soy protein formula is more appropriate to consider in classic IgE-mediated cow milk allergy (rash, wheezing, anaphylaxis), where soy cross-reaction is less common (though still occurs in 10-14% of cases), but soy is no longer favored as the automatic next choice after cow milk formula. Soy formula should be avoided in preterm infants because it increases the risk of osteopenia, and the AAP does not recommend routine soy formula use for infant colic. A hydrolyzed formula trial should last at least 1 month in infants with mild symptoms to allow adequate time for mucosal healing before judging its effectiveness; protein hydrolysate formulas tend to be hyperosmolar, less palatable, and more expensive, which can affect compliance. Emerging evidence suggests that adding the probiotic Lactobacillus reuteri to an extensively hydrolyzed casein formula may accelerate recovery from milk-related hematochezia, accelerate development of tolerance in milk-allergic infants, and reduce other allergic symptoms. Management of food allergy syndromes overall requires fastidious avoidance of the offending allergen; for anaphylactic-type reactions, provision of a medical alert bracelet and training in epinephrine autoinjector use for home management of acute anaphylaxis is appropriate. Reintroduction of cow milk or soy protein into the diet of a previously highly sensitized child should be performed under medical supervision because of residual reaction risk."
  )},
  {"title": "Complications", "content": (
   "Untreated or unrecognized cow milk protein allergy can contribute to failure to thrive, protein-losing enteropathy, and, in Heiner syndrome specifically, recurrent respiratory infections and pulmonary hemosiderosis with anemia. Because roughly 30-50% of affected children are also intolerant to soy, switching to soy formula without recognizing this risk can perpetuate symptoms rather than resolve them. Fortunately, most children have a favorable trajectory: about 80% of children with cow milk hypersensitivity outgrow it by age 4, and for delayed-type reactions with predominantly GI manifestations, roughly 45-50% achieve full tolerance by age 1, 60-75% by age 2, and 85-90% by age 3, though about 25% of those with severe IgE-mediated type I reactions continue to react beyond that."
  )}
 ],
 "clinical": [
  {"title": "Diagnostic and management approach at the bedside", "content": (
   "In an infant with blood-streaked or mucoid stools, persistent regurgitation/vomiting, unexplained fussiness, or eczema/wheeze alongside GI symptoms, consider cow milk protein sensitivity and start with a time-limited elimination trial: maternal avoidance of cow milk protein if the infant is breastfed, or a switch to an extensively hydrolyzed formula (not soy, given the high rate of soy cross-reactivity, particularly with GI-predominant presentations) if formula-fed. Run the trial for at least 1 month in infants with mild symptoms to allow mucosal healing before judging response; a shorter 2-week trial can be used when the picture more closely overlaps with GERD. Do not require occult-blood-positive stool, eczema, or positive allergy testing before starting the trial - many infants have only spitting up or fussiness as their sole symptom, and the diagnosis rests on clinical response, not a lab test.\n\nIf symptoms resolve on elimination, confirm the diagnosis with reintroduction/rechallenge under medical supervision, watching for relapse. For acute, IgE-mediated presentations (vomiting, urticaria, facial swelling, shock-like state within minutes of ingestion), manage as an allergic/anaphylactic emergency and equip the family with an epinephrine autoinjector and a medical alert bracelet going forward, with strict future avoidance. Counsel families on the generally favorable prognosis - most children with GI-predominant sensitivity are tolerant by age 2-3, and most with IgE-mediated hypersensitivity by age 4 - while cautioning that a switch to soy formula is often not a reliable solution given frequent soy co-sensitization, and that reintroducing milk or soy at home without medical supervision in a previously reactive child carries residual risk."
  )}
 ]
}

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