{"uid":"cap_QNzqMaHXTHt42e-onUZw_","slug":"aap-2022-kemper-kas-neonatal-phototherapy-threshold-calculator-6417f778","name":"AAP 2022 Kemper KAS Neonatal Phototherapy Threshold Calculator","description":"AAP 2022 Kemper KAS 10 intensive phototherapy threshold from Supplemental Tables 1 and 2 by completed GA, age in hours, TSB, and caller-assigned extra neurotoxicity risk factors. Linear interpolation between tabulated hours. Do not subtract conjugated bilirubin. Not a phototherapy order. magent does not assay TSB.","url":"https://api.magentlab.com/api/calc/aap_tsb","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["gestational_age_weeks","age_hours","tsb_mg_dl","isoimmune_hemolytic_disease","g6pd_deficiency","other_hemolytic_condition","sepsis","albumin_lt_3","clinical_instability_24h"],"properties":{"sepsis":{"type":"boolean","description":"Caller-assigned sepsis or suspected sepsis from Kemper 2022 Table 2. true or false. magent does not diagnose sepsis."},"age_hours":{"type":"number","description":"Chronologic age in hours (1-336). Supplemental Tables 1 and 2 are tabulated hourly; ages between adjacent hours are linearly interpolated. Hour 0 is not tabulated. magent does not convert days."},"tsb_mg_dl":{"type":"number","description":"Total serum bilirubin in mg/dL (0-40). Use TSB; do not subtract direct-reacting or conjugated bilirubin. magent does not assay TSB."},"albumin_lt_3":{"type":"boolean","description":"Caller-assigned albumin <3.0 g/dL from Kemper 2022 Table 2. true or false. magent does not assay albumin."},"g6pd_deficiency":{"type":"boolean","description":"Caller-assigned glucose-6-phosphate dehydrogenase (G6PD) deficiency from Kemper 2022 Table 2. true or false. magent does not assay G6PD."},"gestational_age_weeks":{"type":"integer","description":"Completed gestational age in weeks, integer 35-45. Table 1 uses distinct curves for 35, 36, 37, 38, 39, and ≥40. Table 2 groups ≥38 together. magent does not convert days."},"clinical_instability_24h":{"type":"boolean","description":"Caller-assigned significant clinical instability in the previous 24 hours from Kemper 2022 Table 2. true or false. magent does not examine the infant."},"other_hemolytic_condition":{"type":"boolean","description":"Caller-assigned other hemolytic condition (Kemper 2022 Table 2, same neurotoxicity-risk row as isoimmune disease and G6PD deficiency). true or false."},"isoimmune_hemolytic_disease":{"type":"boolean","description":"Caller-assigned isoimmune hemolytic disease (positive direct antiglobulin test) from Kemper 2022 Table 2. true or false. magent does not interpret DAT."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Inipc1avB1Ha7RUoC52TN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the AAP 2022 intensive phototherapy TSB threshold for a neonate given gestational age, age in hours, and neurotoxicity risk factors, using linear interpolation between tabulated hourly values.","exampleAgentPrompt":"Using the AAP 2022 Kemper KAS guidelines, what is the intensive phototherapy TSB threshold for a 37-week infant who is 48 hours old with G6PD deficiency and no other risk factors — the TSB is 14.5 mg/dL?","exampleUseCases":[{"title":"Late preterm infant with hemolytic disease","prompt":"I have a 35-week baby who is 30 hours old with a TSB of 11.2 mg/dL, isoimmune hemolytic disease, and no other risk factors. Does the TSB exceed the AAP 2022 Kemper intensive phototherapy threshold?"},{"title":"Term infant with multiple neurotoxicity risks","prompt":"This is a 40-week newborn at 72 hours of age, TSB is 18 mg/dL, the baby has suspected sepsis and albumin less than 3. What does the Kemper 2022 KAS say the intensive phototherapy threshold is, and is it met?"},{"title":"Near-term infant mid-day bilirubin check","prompt":"Can you look up the 2022 AAP phototherapy threshold for a 38-week baby at 55 hours of age with G6PD deficiency and clinical instability in the last 24 hours? The TSB is 13.8 mg/dL."}],"resultDescription":"Returns the linearly interpolated intensive phototherapy TSB threshold in mg/dL from AAP 2022 Kemper KAS Supplemental Tables 1 and 2, based on gestational age, chronologic age in hours, and caller-assigned neurotoxicity risk factors. Also indicates whether the provided TSB meets or exceeds the threshold. Does not order phototherapy or measure TSB.","failureModes":["gestational_age_weeks out of range 35–45 returns an error","age_hours of 0 or outside 1–336 is not tabulated and returns an error","tsb_mg_dl outside 0–40 may return a range error","Missing required boolean risk factor fields return a validation error","Non-integer gestational age returns a schema error"],"whenToPreferThis":"Use this endpoint when you need to apply the specific AAP 2022 Kemper KAS phototherapy thresholds with linear interpolation between hourly table values, including stratification by gestational age curve and all six neurotoxicity risk factors from Table 2. Prefer this over general neonatal jaundice tools when the clinical workflow requires adherence to the 2022 guidelines specifically, or when the infant's age falls between tabulated hours and interpolation is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:45:52.365Z","isFirstParty":false}