{"uid":"cap_CJ5yUlX8RMh3pLgQ1zInk","slug":"magent-hii-hack-2014-impairment-index-calculator-7e0a5749","name":"magent HII (Hack 2014 Impairment Index) Calculator","description":"Hack 2014 H-Impairment Index (HII). Five caller-assigned bedside tasks (gross motor, mentation and speech, tracing curve, nystagmus, finger-to-nose), each integer 0-4. HII is completed-sum / (4 × completed tasks); denominator 20 if all five; range 0-1. Omit a task that was not attempted. Serial decline is not modeled. Does not take blood alcohol concentration. Not a diagnosis, discharge order, or legal sobriety test. magent does not examine the patient.","url":"https://api.magentlab.com/api/calc/hii","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":[],"properties":{"nystagmus":{"enum":[0,1,2,3,4],"type":"integer","description":"Caller-assigned Hack 2014 HII nystagmus (integer 0-4). Omit when that task was not attempted. magent does not examine the patient."},"gross_motor":{"enum":[0,1,2,3,4],"type":"integer","description":"Caller-assigned Hack 2014 HII gross motor function (integer 0-4). Omit when that task was not attempted. magent does not examine the patient."},"tracing_curve":{"enum":[0,1,2,3,4],"type":"integer","description":"Caller-assigned Hack 2014 HII tracing curve (integer 0-4). Omit when that task was not attempted. magent does not examine the patient."},"finger_to_nose":{"enum":[0,1,2,3,4],"type":"integer","description":"Caller-assigned Hack 2014 HII finger-to-nose (integer 0-4). Omit when that task was not attempted. magent does not examine the patient."},"mentation_speech":{"enum":[0,1,2,3,4],"type":"integer","description":"Caller-assigned Hack 2014 HII mentation and speech (integer 0-4). Omit when that task was not attempted. magent does not examine the patient."}}}},"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_gU-Mw2TlxPRC0OLHGs2BK","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 Hack 2014 H-Impairment Index (HII) from up to five caller-assigned bedside task scores (gross motor, mentation/speech, tracing curve, nystagmus, finger-to-nose), returning a normalized 0–1 impairment score.","exampleAgentPrompt":"Calculate the Hack 2014 H-Impairment Index for a patient who scored 2 on gross motor, 3 on mentation and speech, 1 on tracing curve, and 2 on nystagmus — finger-to-nose was not attempted.","exampleUseCases":[{"title":"Partial bedside impairment scoring","prompt":"A patient only completed three of the five HII tasks — gross motor was 3, mentation and speech was 2, and nystagmus was 1. Tracing curve and finger-to-nose weren't attempted. What's their Hack 2014 H-Impairment Index?"},{"title":"Full five-task HII documentation","prompt":"I need to document the HII score for a patient who completed all five tasks: gross motor 1, mentation and speech 2, tracing curve 1, nystagmus 0, finger-to-nose 2. Can you calculate the Hack 2014 impairment index?"},{"title":"High-impairment bedside assessment","prompt":"Patient scored 4 on gross motor, 4 on mentation and speech, 3 on tracing curve, 4 on nystagmus, and 4 on finger-to-nose. Calculate the Hack 2014 HII so I can record it in the chart."}],"resultDescription":"Returns the normalized HII score as a decimal between 0 and 1, computed as the sum of completed task scores divided by 4 times the number of completed tasks (maximum denominator 20 if all five tasks are completed). Tasks omitted from the request are excluded from the denominator.","failureModes":["Missing all task parameters — no completed tasks to average","Task score out of range — only integers 0–4 are accepted per task","Invalid query parameter type — non-integer values rejected","API payment failure (x402) if USDC payment not provided"],"whenToPreferThis":"Use this endpoint when you need to programmatically compute the Hack 2014 H-Impairment Index from clinician-assigned bedside task scores, especially when one or more tasks were not attempted (partial completion). Prefer this over manual calculation to ensure correct normalization by the number of completed tasks. Not a substitute for clinical judgment, diagnosis, or legal sobriety determination.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:56:30.340Z","isFirstParty":false}