import json

data = {
 "topic": "Vesicoureteral Reflux",
 "slug": "vesicoureteral-reflux",
 "category_id": 15248,
 "summary": "Vesicoureteral reflux is the retrograde flow of urine from the bladder into the ureter and kidney, most often from a congenitally short ureterovesical junction tunnel, graded I-V by severity, and important because it predisposes to febrile UTI and renal scarring.",
 "written_by": "claude-sonnet",
 "references": [
  {"title": "Kliegman R. Nelson Textbook of Pediatrics 2-Volume Set 22ed 2024", "author": None, "pages": [3304, 3305, 3306, 3308]},
  {"title": "Update in Pediatrics", "author": None, "pages": [512, 712]},
  {"title": "Berkowitz's Pediatrics", "author": "Berkowitz, Carol D.;", "pages": [865]},
  {"title": "Illustrated Textbook of Paediatrics (Tom Lissauer, Will Carroll)", "author": "Lissauer, Tom,Carroll, Will", "pages": [364]},
  {"title": "Diagnostic Imaging: Pediatrics", "author": "A. Carlson Merrow Jr. MD", "pages": [614, 615, 617]},
  {"title": "Pediatric ICD-10-CM 2023", "author": "American Academy of Pediatrics Committee on Coding and Nomenclature;", "pages": [297]},
  {"title": "Algorithms in Pediatrics", "author": None, "pages": [675]}
 ],
 "short": [
  {"title": "In short", "content": (
   "- Vesicoureteral reflux (VUR) is the retrograde (backward) flow of urine from the bladder into one or both ureters and/or the renal pelvis\n"
   "- Normally, the ureter tunnels obliquely under the bladder mucosa for about 2 cm before entering the bladder lumen, and this submucosal segment is compressed shut during bladder filling/voiding (a flap-valve mechanism) to prevent reflux\n"
   "- Primary VUR - the most common form - results from a congenitally short or absent submucosal ureteral tunnel with a laterally displaced ureteral opening at the ureterovesical junction\n"
   "- Secondary VUR results from abnormally elevated bladder pressure (posterior urethral valves, neurogenic or nonneuropathic bladder dysfunction, bladder outlet obstruction) or from inflammatory/infectious processes (severe bacterial cystitis) or prior surgery near the ureterovesical junction; reflux can occur with normal ureteral anatomy once bladder pressure exceeds about 40 cm H2O\n"
   "- VUR affects an estimated 1-2% of children overall, is often familial, and is present in about 30% of girls who have had a urinary tract infection and in 5-15% of infants with antenatal hydronephrosis\n"
   "- Graded I-V by the International Reflux Study Committee system: I = reflux into the ureter without reaching the renal pelvis; II = reaches the pelvis without calyceal blunting; III = mild calyceal blunting; IV = progressive calyceal and ureteral dilation; V = very dilated, tortuous collecting system\n"
   "- Diagnosed by voiding cystourethrogram (VCUG) or radionuclide cystogram; VCUG can additionally show functional findings such as bladder/sphincter dysfunction during voiding\n"
   "- About 80% of children with primary VUR outgrow it spontaneously, presumed due to maturational changes (lengthening of the submucosal tunnel) at the ureterovesical junction as the child grows\n"
   "- Spontaneous resolution rates vary by initial grade, laterality, and age at presentation - lower grades and younger age at diagnosis are generally associated with higher resolution rates over the following years\n"
   "- Untreated or recurrent reflux with infection predisposes to renal scarring, and the risk of hypertension in childhood or early adulthood after VUR-related scarring is estimated at up to 10%"
  )}
 ],
 "long": [
  {"title": "Definition", "content": (
   "Vesicoureteral reflux (VUR) is the retrograde flow of urine from the urinary bladder into one or both ureters and, in more severe cases, into the renal pelvis and collecting system. Normally, the ureteral attachment to the bladder is oblique, tunneling through the mucosa for approximately 2 cm before opening into the bladder lumen; this creates a flap-valve mechanism, whereby the submucosal segment is compressed closed as the bladder fills and during voiding, preventing urine from backing up the ureter. VUR occurs when this submucosal tunnel is too short, absent, or otherwise incompetent."
  )},
  {"title": "Epidemiology", "content": (
   "VUR affects an estimated 1-2% of children, is usually congenital, and is often familial. It is found in approximately 30% of girls who have had a documented urinary tract infection and in 5-15% of infants identified with antenatal hydronephrosis, making these two clinical scenarios common triggers for VUR evaluation."
  )},
  {"title": "Etiology", "content": (
   "Primary VUR, the most common form, results from congenital incompetence of the valvular mechanism at the ureterovesical junction - typically a short submucosal ureteral tunnel with a more laterally placed ureteral orifice than normal. Primary VUR can also occur in association with other malformations of the ureterovesical junction, including ureteral duplication, ureterocele with duplication, ureteral ectopia, and paraureteral diverticula. Secondary VUR arises from conditions that raise intravesical pressure above the threshold the ureterovesical valve mechanism can withstand (reflux can occur with otherwise normal ureteral anatomy once bladder pressure exceeds about 40 cm of water) - causes include posterior urethral valves, neuropathic bladder, and nonneuropathic bladder dysfunction or bladder outlet obstruction. Secondary VUR can also follow inflammatory processes (severe bacterial cystitis, foreign bodies, vesical calculi, clinical cystitis) or prior surgery involving the ureterovesical junction."
  )},
  {"title": "Diagnostics", "content": (
   "VUR is most commonly diagnosed and graded using a voiding cystourethrogram (VCUG), in which contrast is instilled into the bladder and fluoroscopic images are taken during filling and voiding; a radionuclide (nuclear) cystogram is a lower-radiation alternative for follow-up. Reflux severity is classified using the International Reflux Study Committee's five-grade system: Grade I - reflux of contrast into the ureter without reaching the renal pelvis; Grade II - reflux reaching the renal pelvis without calyceal blunting; Grade III - mild calyceal blunting; Grade IV - progressive calyceal and ureteral dilation; Grade V - a very dilated and tortuous collecting system with intrarenal reflux possible. On sonographic mimics, care must be taken to distinguish true VUR from a normally peristalsing ureter or renal pelvis, a distended distal ureter in a very full bladder, or other causes of ureteral/pelvic obstruction; ventriculoperitoneal shunt tubing or other intra-abdominal catheters can also resemble a contrast-filled ureter on imaging, and a staghorn calculus's density can simulate contrast within the renal pelvis - reviewing the scout image and watching for postvoid drainage helps clarify these mimics."
  )},
  {"title": "Clinical features", "content": (
   "VUR itself is often clinically silent and is typically discovered during evaluation for a urinary tract infection or antenatal/postnatal hydronephrosis rather than from direct symptoms of the reflux. Its clinical significance lies in predisposing the upper urinary tract to infection (pyelonephritis) and, over time, renal scarring, since refluxed infected urine can reach the renal parenchyma. The risk of developing hypertension in childhood or early adult life after VUR-associated renal scarring is variously estimated at up to 10%."
  )},
  {"title": "Treatment", "content": (
   "Management approaches for primary VUR include antibiotic prophylaxis (to reduce the risk of febrile UTI while awaiting spontaneous resolution), and surgical (open or endoscopic) intervention in appropriate candidates - for example, higher-grade reflux, breakthrough febrile UTIs on prophylaxis, or reflux that fails to resolve over time. Endoscopic subureteric injection is one option that has also been studied for its potential to downregulate activation of the renin-angiotensin system associated with reflux nephropathy. Because approximately 80% of children with primary VUR outgrow the condition spontaneously - presumed to result from maturational lengthening and reorientation of the ureterovesical junction as the child grows - a substantial proportion of children, particularly those with lower-grade reflux, can be managed expectantly with observation and prompt treatment of any UTIs, reserving surgery for those who do not resolve or who have recurrent infections."
  )},
  {"title": "Complications", "content": (
   "The principal long-term complications of VUR are recurrent febrile urinary tract infection/pyelonephritis and renal scarring, which can progress to chronic kidney disease and hypertension. Reported spontaneous resolution follows a pattern related to reflux grade, laterality, and age at diagnosis, with lower-grade, unilateral reflux diagnosed at a younger age generally showing higher rates of resolution over subsequent years than higher-grade, bilateral reflux diagnosed in older children."
  )}
 ],
 "clinical": [
  {"title": "Approach at the bedside", "content": (
   "Suspect VUR in a child presenting with a febrile urinary tract infection (especially a girl, given the roughly 30% prevalence of VUR in this group) or in an infant found to have antenatal hydronephrosis (5-15% will have VUR). Confirm and grade with a voiding cystourethrogram, using the International Reflux Study grading system (I-V) to communicate severity, and consider a radionuclide cystogram for lower-radiation follow-up imaging once the initial diagnosis and anatomy are established.\n\nFor most children, particularly those with lower-grade reflux diagnosed at a younger age, a reasonable approach is expectant management: antibiotic prophylaxis to reduce febrile UTI risk while watching for spontaneous resolution, which occurs in about 80% of primary VUR cases as the ureterovesical junction matures. Reserve surgical correction (open or endoscopic) for higher-grade reflux, breakthrough febrile infections despite prophylaxis, or reflux that persists without improvement over serial follow-up. Counsel families that the goal of management is preventing recurrent pyelonephritis and renal scarring - since scarring, not the reflux itself, is what drives the downstream risk of hypertension and chronic kidney disease - so prompt treatment of any febrile UTI in a child with known VUR is a priority regardless of which management strategy (prophylaxis vs. surgery) is chosen."
  )}
 ]
}

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