{"uid":"cap_NRL9hcJ-mUatb1Ao09SBc","slug":"magent-rbc-abo-rh-compatibility-checker-f94a32d9","name":"magent RBC ABO/Rh Compatibility Checker","description":"AABB Standards 28th ed. Standard 5.14 RBC ABO/Rh compatibility from caller-assigned recipient and unit ABO (o, a, b, ab) and RhD (positive, negative). Group O RBCs to O/A/B/AB; A to A/AB; B to B/AB; AB to AB. RhD-negative units to either RhD; RhD-positive units only to RhD-positive recipients. Not a transfusion order. magent does not type blood. Does not encode emergency RhD-positive-to-negative exceptions, plasma, or platelets.","url":"https://api.magentlab.com/api/calc/rbc_abo","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":["recipient_abo","recipient_rhd","unit_abo","unit_rhd"],"properties":{"unit_abo":{"enum":["o","a","b","ab"],"type":"string","description":"Caller-assigned RBC unit ABO group: o, a, b, or ab (case-insensitive). Required. magent does not type blood."},"unit_rhd":{"enum":["positive","negative"],"type":"string","description":"Caller-assigned RBC unit RhD: positive or negative (case-insensitive). Required. magent does not type blood."},"recipient_abo":{"enum":["o","a","b","ab"],"type":"string","description":"Caller-assigned recipient ABO group: o, a, b, or ab (case-insensitive). Required. magent does not type blood."},"recipient_rhd":{"enum":["positive","negative"],"type":"string","description":"Caller-assigned recipient RhD: positive or negative (case-insensitive). Required. magent does not type blood."}}}},"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_1ZcrnjAph6VBD2QjacVMa","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":"Determines AABB Standards 28th ed. Standard 5.14 compatibility between a red blood cell unit and a recipient based on ABO group and RhD type","exampleAgentPrompt":"Can you check if a group A RhD-negative RBC unit is compatible with a group O RhD-negative recipient using AABB Standard 5.14 rules?","exampleUseCases":[{"title":"Pre-transfusion compatibility screen","prompt":"I have a group B RhD-positive RBC unit and my patient is group B RhD-negative — is this unit compatible for transfusion?"},{"title":"Universal donor unit verification","prompt":"We have a group O RhD-negative RBC unit and want to give it to an AB RhD-positive recipient — please confirm it's compatible."},{"title":"Rh-positive unit to Rh-negative recipient check","prompt":"Can you check whether an A RhD-positive RBC unit can be transfused to an A RhD-negative patient? I need the AABB compatibility result."}],"resultDescription":"Returns a compatibility determination (compatible or incompatible) for the given RBC unit and recipient pairing based on AABB Standards 28th edition Standard 5.14 ABO and RhD rules. ABO compatibility follows universal donor/recipient rules (O to any, A to A/AB, B to B/AB, AB to AB); RhD-negative units are compatible with either RhD type, while RhD-positive units are only compatible with RhD-positive recipients.","failureModes":["Missing required query parameters (recipient_abo, recipient_rhd, unit_abo, unit_rhd) returns an error","Invalid enum values (e.g. 'type_a' instead of 'a') return a validation error","Payment failure via x402 protocol returns 402 status","Does not encode emergency exceptions for RhD-positive units to RhD-negative recipients","Does not apply to plasma or platelet compatibility — results for those would be clinically incorrect"],"whenToPreferThis":"Use this endpoint when you need a quick, standards-based (AABB 28th ed. Standard 5.14) ABO and RhD compatibility check for red blood cell units only. It is ideal for automated pre-transfusion workflows where the caller has already determined blood types and needs a programmatic compatibility decision. Do not use for plasma or platelet compatibility, emergency RhD override scenarios, or when blood typing itself is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:46:08.641Z","isFirstParty":false}