{"uid":"cap_YMkNu4QiwvDa-FssD_1eI","slug":"maxwell-2008-nottingham-hip-fracture-score-nhfs-calculator-ca96fbd7","name":"Maxwell 2008 Nottingham Hip Fracture Score (NHFS) Calculator","description":"Maxwell 2008 Nottingham hip fracture score: age <=65 0, 66-85 3, >=86 4; male 1; hemoglobin <=10 g/dL 1 (g/L / 10); caller-assigned AMTS <=6, lives in institution, >=2 comorbidities, and malignancy 1 each. Max 10. Integer score only; no predicted 30-day mortality percent. magent does not administer AMTS or clear a patient for surgery. Not the 2012 or 2015 recalibrations.","url":"https://api.magentlab.com/api/calc/nhfs","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":["age","sex","amts_le_6","lives_in_institution","comorbidities_ge_2","malignancy"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). ≤65 scores 0; 66-85 scores 3; ≥86 scores 4 (Maxwell 2008)."},"sex":{"enum":["female","male"],"type":"string","description":"female or male. Male scores 1; female scores 0."},"amts_le_6":{"type":"boolean","description":"Abbreviated Mental Test Score ≤6/10 as assigned by the caller (Maxwell 2008). true or false. magent does not administer AMTS. 1 point if true."},"malignancy":{"type":"boolean","description":"Active malignancy (Maxwell 2008: within 20 years) as assigned by the caller. true or false. magent does not take a cancer history. 1 point if true."},"hemoglobin_g_l":{"type":"number","description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both."},"hemoglobin_g_dl":{"type":"number","description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. ≤10 g/dL scores 1 (10.0 scores; 10.1 does not)."},"comorbidities_ge_2":{"type":"boolean","description":"Two or more comorbidities as defined in Maxwell 2008, as assigned by the caller. true or false. magent does not enumerate comorbidities. 1 point if true."},"lives_in_institution":{"type":"boolean","description":"Lives in an institution as assigned by the caller (Maxwell 2008). true or false. 1 point if true."}}}},"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_J5dSccMAG5HrOYm1aIX6Z","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":"Computes the integer Nottingham Hip Fracture Score (Maxwell 2008) from patient age, sex, hemoglobin, and four caller-assigned clinical flags, returning a score of 0–10.","exampleAgentPrompt":"Calculate the Nottingham Hip Fracture Score for a 78-year-old male patient with hemoglobin of 9.5 g/dL, AMTS ≤6, living in a nursing home, with two or more comorbidities, and no active malignancy.","exampleUseCases":[{"title":"Pre-op hip fracture risk stratification","prompt":"I have an 88-year-old female hip fracture patient with hemoglobin 8 g/L (so 0.8 g/dL — wait, 80 g/L), AMTS is above 6, she lives at home, has three comorbidities, and no known malignancy. What's her Nottingham Hip Fracture Score?"},{"title":"Male patient with active cancer","prompt":"Can you compute the Maxwell 2008 NHFS for a 70-year-old male with hemoglobin 10.0 g/dL, AMTS is 5 so that's ≤6, lives independently, one comorbidity, and has an active malignancy?"},{"title":"Borderline anemia in institutional resident","prompt":"Score this hip fracture patient on the Nottingham scale: age 66, female, hemoglobin 11 g/dL, AMTS above 6, lives in a care home, two or more comorbidities, and no cancer history."}],"resultDescription":"Returns a single integer NHFS score from 0 to 10 based on the Maxwell 2008 criteria. No predicted 30-day mortality percentage is returned. Age contributes 0 (≤65), 3 (66–85), or 4 (≥86); male sex adds 1; hemoglobin ≤10 g/dL adds 1; each of AMTS ≤6, institutional residence, ≥2 comorbidities, and active malignancy adds 1 point.","failureModes":["Missing required parameters (age, sex, amts_le_6, lives_in_institution, comorbidities_ge_2, malignancy) returns a 400 error","Providing both hemoglobin_g_l and hemoglobin_g_dl simultaneously is rejected","Age outside 18–120 or hemoglobin outside valid range returns a validation error","Payment failure or missing x402 payment header returns 402 Payment Required","Invalid enum value for sex (not 'male' or 'female') causes a 400 error"],"whenToPreferThis":"Use this endpoint when you need the original Maxwell 2008 NHFS integer score for hip fracture patients — specifically when the scoring rubric must match the 2008 publication (not the 2012 or 2015 recalibrations). Ideal for clinical decision support agents that have already assessed AMTS and comorbidity counts externally, as this endpoint does not administer AMTS or enumerate comorbidities itself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:45:38.788Z","isFirstParty":false}