{"uid":"cap_wPlJb7caKHjfg3UfPmS1G","slug":"bops-behavioural-observational-pain-scale-calculator-103ff6b0","name":"BOPS (Behavioural Observational Pain Scale) Calculator","description":"Hesselgard 2007 Behavioural Observational Pain Scale from three caller-assigned 0-2 items (facial_expression, verbalization, body_position) using that paper's 0/1/2 descriptors. magent sums only (max 6) and does not observe the child. No named analgesic cutoff. Not a pain diagnosis or analgesic order. Not FLACC. Not Abbey.","url":"https://api.magentlab.com/api/calc/bops","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":["facial_expression","verbalization","body_position"],"properties":{"body_position":{"type":"integer","description":"Caller-assigned Hesselgard 2007 BOPS body position (integer 0-2): 0 inactive, lying relaxed with all extremities or sitting/walking; 1 restless movements, shifting, and/or touching the wound area; 2 lying rigid and/or drawn up with arms and legs close to the body. magent does not observe the child."},"verbalization":{"type":"integer","description":"Caller-assigned Hesselgard 2007 BOPS verbalization (integer 0-2): 0 normal conversation/laughing/crowing; 1 completely quiet, sobbing, and/or complaining not because of pain; 2 crying, screaming, and/or complaining about pain. magent does not observe the child."},"facial_expression":{"type":"integer","description":"Caller-assigned Hesselgard 2007 BOPS facial expression (integer 0-2): 0 neutral/positive composed; 1 negative/concerned; 2 grimacing/distorted. magent does not observe the child."}}}},"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_BapsMLtg3u9SnQldPPST-","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 Hesselgard 2007 BOPS total score (0–6) by summing three caller-assigned integer items: facial expression, verbalization, and body position.","exampleAgentPrompt":"Calculate the BOPS score for a child who is grimacing (facial expression 2), crying and screaming about pain (verbalization 2), and lying rigid with arms and legs drawn up (body position 2).","exampleUseCases":[{"title":"Postoperative pediatric pain check","prompt":"I'm observing a child after surgery — their face looks negative and concerned (1), they're completely quiet (1), and they're restless and shifting around touching their wound (1). What's their BOPS score?"},{"title":"Calm child baseline scoring","prompt":"The child looks neutral and relaxed (facial expression 0), is laughing and having normal conversation (verbalization 0), and is lying calmly with all limbs relaxed (body position 0) — can you run the BOPS calculation for me?"},{"title":"High-distress pain observation","prompt":"Score this child on the BOPS: grimacing face (2), screaming and complaining of pain (2), body rigid with legs drawn up tight (2). What's the total?"}],"resultDescription":"Returns a numeric BOPS total score between 0 and 6, computed as the arithmetic sum of the three caller-supplied subscores (facial_expression + verbalization + body_position). No analgesic cutoff, diagnosis, or treatment recommendation is included.","failureModes":["Missing required query parameter (facial_expression, verbalization, or body_position) returns an error","Non-integer or out-of-range values (e.g. 3 or -1) cause a validation error","Payment not included or insufficient USDC triggers a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic BOPS score per Hesselgard 2007 and you have already observed and rated the three subscores yourself. Prefer this over FLACC or Abbey when the clinical context specifically calls for BOPS. Do not use if you need automated observation, a pain diagnosis, or an analgesic recommendation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:54:23.726Z","isFirstParty":false}