{"openapi":"3.0.3","info":{"title":"ABM Prepay DME Claim API-1.0.1","version":"1.0.1","description":"The Ancillary Benefits Management Pre-Pay DME API supports Optum's Ancillary Benefit Management (ABM) durable medical equipment (DME) products exchange information in real time enabling enforcement of DME policies, utilization management and claims management.\n\n**Response.** The response echoes the claim, then returns `<edits>` (the edit flags that fired, per line). The `<applied-edits>` element is always returned empty for DME.\n\nClaim edit rule failures and processing errors (for example an unknown `enterprise-id` or missing claim data) are not API failures: they are returned with HTTP 200 as a claim-level flag with mnemonic `ERR` or `DDERR` and a message describing the problem.\n\nThe `enterprise-id` is assigned by Optum per client.\n\n**Authentication.** Requires an OAuth 2.0 bearer token, obtained with the client-credentials grant from https://sandbox-apigw.optum.com/apip/auth/sntl/v1/token (send `grant_type=client_credentials`, `client_id` and `client_secret` as form fields with content type `application/x-www-form-urlencoded`). The Production token URL is https://apigw.optum.com/apip/auth/sntl/v1/token. Sandbox and Production use different client credentials.\n\n**XML notes.** Elements that carry an attribute plus a value (for example `<id type=\"npi\">`, `<claim-UDF ordinal=\"3\">`, `<user-defined id=\"8\">`, `<modifier order=\"1\">`, `<diagnosis order=\"1\">`) are listed as separate fields. The XML examples show the exact format to send and receive. Dates are `YYYY-MM-DD`.\n\n**Sample request.** The request body on the endpoint page is pre-filled with a complete XML request. Replace the bearer token with the token from the authentication step, and use an `enterprise-id` provided by Optum.\n"},"servers":[{"url":"https://sandbox-apigw.optum.com","description":"Sandbox"},{"url":"https://apigw.optum.com","description":"Production"}],"tags":[{"name":"ABM","description":"ABM Pre-Pay Post-Adjudication DME Claims API"},{"name":"prepaydme"}],"security":[{"oauth2":[]}],"paths":{"/abm/prepaydme/v1":{"post":{"summary":"PrePay DME API Endpoint","operationId":"postPrepayDME","tags":["prepaydme"],"security":[{"oauth2":[]}],"requestBody":{"$ref":"#/components/requestBodies/prepaydmedata"},"responses":{"200":{"$ref":"#/components/responses/prepaydmedata"},"400":{"description":"Malformed or invalid XML request"},"401":{"description":"Missing, invalid or expired bearer token"},"403":{"description":"Access denied. You do not have permission to access this resource","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":"<response>\n  <error>\n    <status>403</status>\n    <errorCode>Forbidden</errorCode>\n    <message>You do not have permission to access this resource.</message>\n    <path>/api/xml</path>\n    <timestamp>2026-12-02T06:33:46Z</timestamp>\n  </error>\n</response>"}}},"500":{"description":"Unexpected error while processing the request"}},"description":"**Request fields**\n\nEach section lists element paths relative to the element named in its heading. Attributes are shown as `@name`. Req = Yes means the element is required.\n\n**Request** - `request`\n\n| Element | Type | Req | Description |\n|---|---|---|---|\n| `environment` | string |  | Send test when you are testing, otherwise live. The same rule applies in Sandbox and Production. live is assumed if the tag is not sent |\n| `enterprise-id` | string ≤ 50 | Yes | Enterprise identifier provided by Optum, one per client |\n\n**Claim** - `request/claim` (required)\n\n| Element | Type | Req | Description |\n|---|---|---|---|\n| `@type` | string |  | Claim type. DME claims are professional |\n| `icd-version` | string |  | ICD version. ICD-10: 10, ICD10, ICD-10 or 0. ICD-9: 9, ICD9 or ICD-9. If not sent, the version configured for your enterprise is used |\n| `id` | string ≤ 50 | Yes | Payer claim ID (unique health plan claim identifier) |\n| `subscriber-id` | string ≤ 80 | Yes | Subscriber client ID |\n| `plan` | string ≤ 50 |  | Client ID, value provided by Optum |\n| `account` | string ≤ 50 |  | Subscriber group or policy number |\n\n**Patient** - `request/claim/patient` (required)\n\n| Element | Type | Req | Description |\n|---|---|---|---|\n| `id[@type=\"mrn\"]` | string ≤ 256 | Yes | Subscriber client ID + patient dependent code. |\n| `id[@type=\"other\"]` | string ≤ 40 |  | Patient client master ID. |\n| `gender` | string ≤ 1 |  | Patient sex: M = Male; F = Female; U = Unknown |\n| `date-of-birth` | date |  | Patient date of birth, YYYY-MM-DD |\n| `name/first` | string ≤ 35 |  | Patient first name |\n| `name/last` | string ≤ 60 |  | Patient last name or organization name |\n\n**Claim user-defined fields** - `request/claim`\n\n| Element | Type | Req | Description |\n|---|---|---|---|\n| `claim-UDF[@ordinal=\"1\"]` | string ≤ 255 |  | Subscriber client ID + patient dependent code, if not in patient element. |\n| `claim-UDF[@ordinal=\"2\"]` | string ≤ 255 |  | Patient client master ID, if not in patient element. |\n| `claim-UDF[@ordinal=\"3\"]` | string ≤ 5 |  | Payer claim ITS claim indicator, if applicable (Home / Host / Local; null otherwise). |\n| `claim-UDF[@ordinal=\"4\"]` | string ≤ 60 |  | Subscriber plan LOB / client native value. |\n| `claim-UDF[@ordinal=\"5\"]` | string ≤ 60 |  | Subscriber plan product type / client native value. |\n| `claim-UDF[@ordinal=\"6\"]` | string ≤ 255 |  | Payer prior claim ID or payer claim version. |\n| `claim-UDF[@ordinal=\"11\"]` | string ≤ 255 |  | Subscriber group or policy number, if not in account element. |\n| `claim-UDF[@ordinal=\"15\"]` | string ≤ 255 |  | Client ID provided by Optum, if not in plan element. |\n| `claim-UDF[@ordinal=\"17\"]` | string ≤ 255 |  | Client name provided by Optum (for example ABCHealthPlan). |\n| `claim-UDF[@ordinal=\"22\"]` | string ≤ 255 |  | Diagnosis codes 1-12, comma delimited. |\n\n**Line (repeat for each line)** - `request/claim/line` (required)\n\n| Element | Type | Req | Description |\n|---|---|---|---|\n| `id` | string ≤ 3 | Yes | Payer line number |\n| `status` | string ≤ 1 |  | Line status: A = active (default), P = profile (analyzed for statistics only, no action taken), D = deleted, X = deny |\n| `procedure-code` | string ≤ 5 | Yes | Line submitted procedure code |\n| `modifier[@order=1-4]` | string ≤ 25 |  | Line submitted procedure code modifier. Array position maps to the XML order attribute (1-4). |\n| `units` | number |  | Line submitted units of service (billed units). Whole numbers; fractional values are rounded by the service |\n| `charges` | number | Yes | Line billed amount |\n| `allowed-amount` | number |  | Line allowed amount. For prepay, provide if available (for example, when the claim is being sent after pricing) |\n| `service-date` | date |  | Line service from date, YYYY-MM-DD |\n| `service-through` | date |  | Line service to date, YYYY-MM-DD |\n| `icd-version` | string |  | ICD version. ICD-10: 10, ICD10, ICD-10 or 0. ICD-9: 9, ICD9 or ICD-9. If not sent, the version configured for your enterprise is used |\n| `diagnosis[@order=1-4]` | string ≤ 10 |  | Line diagnosis pointer or code. Array position maps to the XML order attribute (1-4) |\n| `place-of-service` | string ≤ 2 |  | Line place of service code |\n| `authorization` | string ≤ 50 |  | Line prior authorization number. Overrides the claim-level number. |\n\n**Line billing provider** - `request/claim/line/provider[@type=\"billing\"]`\n\n| Element | Type | Req | Description |\n|---|---|---|---|\n| `id[@type=\"npi\"]` | string ≤ 10 |  | Billing Provider NPI. |\n| `id[@type=\"tin\"]` | string ≤ 9 |  | Billing Provider TIN. |\n| `address/state` | string ≤ 2 |  | State code |\n| `address/zip-code` | string ≤ 15 |  | Zip code |\n| `name/first` | string ≤ 35 |  | Billing Provider first name |\n| `name/last` | string ≤ 60 |  | Billing Provider last name or organization name |\n\n**Line servicing provider** - `request/claim/line/provider[@type=\"servicing\"]`\n\n| Element | Type | Req | Description |\n|---|---|---|---|\n| `id[@type=\"npi\"]` | string ≤ 10 |  | Line Rendering Provider NPI. |\n| `id[@type=\"tin\"]` | string ≤ 9 |  | Line Rendering Provider TIN. |\n| `address/state` | string ≤ 2 |  | State code |\n| `address/zip-code` | string ≤ 15 |  | Zip code |\n| `name/first` | string ≤ 35 |  | Line Rendering Provider first name. |\n| `name/last` | string ≤ 60 |  | Line Rendering Provider last name or organization name. |\n\n**Line user-defined fields** - `request/claim/line`\n\n| Element | Type | Req | Description |\n|---|---|---|---|\n| `user-defined[@id=\"7\"]` | string ≤ 50 |  | Subscriber group or policy number. |\n| `user-defined[@id=\"8\"]` | string ≤ 1 |  | Line rendering par indicator (P = Par; N = Non-Par). |\n| `user-defined[@id=\"9\"]` | string ≤ 255 |  | Other editor indicator. |\n| `user-defined[@id=\"10\"]` | string ≤ 1 |  | Payer responsibility sequence (P/null = Primary; S = Secondary; T = Tertiary; U = Unknown). |\n| `user-defined[@id=\"16\"]` | string ≤ 50 |  | Billing provider line control number. |\n| `user-defined[@id=\"17\"]` | string ≤ 10 |  | Line rendering provider NPI. |\n| `user-defined[@id=\"18\"]` | string ≤ 80 |  | Line submitted procedure code description (for example INTERMIT URIN CATH). |\n| `user-defined[@id=\"19\"]` | string ≤ 10 |  | Line CLIA number. |\n| `user-defined[@id=\"23\"]` | string ≤ 50 |  | Prior authorization number matched to this claim line. Returned by the service when a matching prior authorization is found; leave empty on the request. |"}}},"components":{"securitySchemes":{"oauth2":{"type":"oauth2","description":"Client credentials grant against the Optum API gateway.","flows":{"clientCredentials":{"tokenUrl":"https://sandbox-apigw.optum.com/apip/auth/sntl/v1/token","scopes":{}}}}},"requestBodies":{"prepaydmedata":{"description":"Prepay DME claim payload, sent as an XML document. The field-by-field reference is in the Request fields table in this endpoint's description.","required":true,"content":{"application/xml":{"schema":{"type":"string","description":"XML request document (root element `request`).","default":"<request>\n  <environment>live</environment>\n  <enterprise-id>ABCHealthPlan_DME_Professional</enterprise-id>\n  <claim type=\"professional\">\n    <icd-version>10</icd-version>\n    <id>CLM2026120200001</id>\n    <subscriber-id>SUB123456789</subscriber-id>\n    <plan>PLAN01</plan>\n    <account>GRP98765</account>\n    <patient>\n      <id type=\"mrn\">SUB12345678901</id>\n      <id type=\"other\">MASTER0000123</id>\n      <gender>M</gender>\n      <date-of-birth>1985-04-12</date-of-birth>\n      <name>\n        <first>JOHN</first>\n        <last>DOE</last>\n      </name>\n    </patient>\n    <claim-UDF ordinal=\"1\">SUB12345678901</claim-UDF>\n    <claim-UDF ordinal=\"2\">MASTER0000123</claim-UDF>\n    <claim-UDF ordinal=\"3\">Local</claim-UDF>\n    <claim-UDF ordinal=\"4\">COMMERCIAL_PPO</claim-UDF>\n    <claim-UDF ordinal=\"5\">PPO</claim-UDF>\n    <claim-UDF ordinal=\"6\">CLM2026110100099</claim-UDF>\n    <claim-UDF ordinal=\"11\">GRP98765</claim-UDF>\n    <claim-UDF ordinal=\"15\">8000</claim-UDF>\n    <claim-UDF ordinal=\"17\">ABCHealthPlan</claim-UDF>\n    <claim-UDF ordinal=\"22\">R339,N319,K592</claim-UDF>\n    <line>\n      <id>1</id>\n      <status>A</status>\n      <procedure-code>A4351</procedure-code>\n      <modifier order=\"1\">KX</modifier>\n      <modifier order=\"2\">NU</modifier>\n      <modifier order=\"3\">RR</modifier>\n      <modifier order=\"4\">KE</modifier>\n      <units>10</units>\n      <charges>676.50</charges>\n      <allowed-amount>0.00</allowed-amount>\n      <service-date>2026-11-01</service-date>\n      <service-through>2026-11-30</service-through>\n      <icd-version>10</icd-version>\n      <diagnosis order=\"1\">1</diagnosis>\n      <diagnosis order=\"2\">2</diagnosis>\n      <diagnosis order=\"3\">3</diagnosis>\n      <diagnosis order=\"4\">4</diagnosis>\n      <place-of-service>12</place-of-service>\n      <provider type=\"billing\">\n        <id type=\"npi\">1234567893</id>\n        <id type=\"tin\">123456789</id>\n        <address>\n          <state>NC</state>\n          <zip-code>28803</zip-code>\n        </address>\n        <name>\n          <first></first>\n          <last>EXAMPLE MEDICAL SUPPLY LLC</last>\n        </name>\n      </provider>\n      <provider type=\"servicing\">\n        <id type=\"npi\">1234567893</id>\n        <id type=\"tin\">123456789</id>\n        <address>\n          <state>NC</state>\n          <zip-code>28803</zip-code>\n        </address>\n        <name>\n          <first></first>\n          <last>EXAMPLE MEDICAL SUPPLY LLC</last>\n        </name>\n      </provider>\n      <user-defined id=\"7\">GRP98765</user-defined>\n      <user-defined id=\"8\">N</user-defined>\n      <user-defined id=\"9\">N</user-defined>\n      <user-defined id=\"10\">P</user-defined>\n      <user-defined id=\"16\">LCN0001</user-defined>\n      <user-defined id=\"17\">1234567893</user-defined>\n      <user-defined id=\"18\">INTERMIT URIN CATH</user-defined>\n      <user-defined id=\"19\"/>\n      <user-defined id=\"23\"/>\n      <authorization>PA20261101001</authorization>\n    </line>\n  </claim>\n</request>","example":"<request>\n  <environment>live</environment>\n  <enterprise-id>ABCHealthPlan_DME_Professional</enterprise-id>\n  <claim type=\"professional\">\n    <icd-version>10</icd-version>\n    <id>CLM2026120200001</id>\n    <subscriber-id>SUB123456789</subscriber-id>\n    <plan>PLAN01</plan>\n    <account>GRP98765</account>\n    <patient>\n      <id type=\"mrn\">SUB12345678901</id>\n      <id type=\"other\">MASTER0000123</id>\n      <gender>M</gender>\n      <date-of-birth>1985-04-12</date-of-birth>\n      <name>\n        <first>JOHN</first>\n        <last>DOE</last>\n      </name>\n    </patient>\n    <claim-UDF ordinal=\"1\">SUB12345678901</claim-UDF>\n    <claim-UDF ordinal=\"2\">MASTER0000123</claim-UDF>\n    <claim-UDF ordinal=\"3\">Local</claim-UDF>\n    <claim-UDF ordinal=\"4\">COMMERCIAL_PPO</claim-UDF>\n    <claim-UDF ordinal=\"5\">PPO</claim-UDF>\n    <claim-UDF ordinal=\"6\">CLM2026110100099</claim-UDF>\n    <claim-UDF ordinal=\"11\">GRP98765</claim-UDF>\n    <claim-UDF ordinal=\"15\">8000</claim-UDF>\n    <claim-UDF ordinal=\"17\">ABCHealthPlan</claim-UDF>\n    <claim-UDF ordinal=\"22\">R339,N319,K592</claim-UDF>\n    <line>\n      <id>1</id>\n      <status>A</status>\n      <procedure-code>A4351</procedure-code>\n      <modifier order=\"1\">KX</modifier>\n      <modifier order=\"2\">NU</modifier>\n      <modifier order=\"3\">RR</modifier>\n      <modifier order=\"4\">KE</modifier>\n      <units>10</units>\n      <charges>676.50</charges>\n      <allowed-amount>0.00</allowed-amount>\n      <service-date>2026-11-01</service-date>\n      <service-through>2026-11-30</service-through>\n      <icd-version>10</icd-version>\n      <diagnosis order=\"1\">1</diagnosis>\n      <diagnosis order=\"2\">2</diagnosis>\n      <diagnosis order=\"3\">3</diagnosis>\n      <diagnosis order=\"4\">4</diagnosis>\n      <place-of-service>12</place-of-service>\n      <provider type=\"billing\">\n        <id type=\"npi\">1234567893</id>\n        <id type=\"tin\">123456789</id>\n        <address>\n          <state>NC</state>\n          <zip-code>28803</zip-code>\n        </address>\n        <name>\n          <first></first>\n          <last>EXAMPLE MEDICAL SUPPLY LLC</last>\n        </name>\n      </provider>\n      <provider type=\"servicing\">\n        <id type=\"npi\">1234567893</id>\n        <id type=\"tin\">123456789</id>\n        <address>\n          <state>NC</state>\n          <zip-code>28803</zip-code>\n        </address>\n        <name>\n          <first></first>\n          <last>EXAMPLE MEDICAL SUPPLY LLC</last>\n        </name>\n      </provider>\n      <user-defined id=\"7\">GRP98765</user-defined>\n      <user-defined id=\"8\">N</user-defined>\n      <user-defined id=\"9\">N</user-defined>\n      <user-defined id=\"10\">P</user-defined>\n      <user-defined id=\"16\">LCN0001</user-defined>\n      <user-defined id=\"17\">1234567893</user-defined>\n      <user-defined id=\"18\">INTERMIT URIN CATH</user-defined>\n      <user-defined id=\"19\"/>\n      <user-defined id=\"23\"/>\n      <authorization>PA20261101001</authorization>\n    </line>\n  </claim>\n</request>"},"example":"<request>\n  <environment>live</environment>\n  <enterprise-id>ABCHealthPlan_DME_Professional</enterprise-id>\n  <claim type=\"professional\">\n    <icd-version>10</icd-version>\n    <id>CLM2026120200001</id>\n    <subscriber-id>SUB123456789</subscriber-id>\n    <plan>PLAN01</plan>\n    <account>GRP98765</account>\n    <patient>\n      <id type=\"mrn\">SUB12345678901</id>\n      <id type=\"other\">MASTER0000123</id>\n      <gender>M</gender>\n      <date-of-birth>1985-04-12</date-of-birth>\n      <name>\n        <first>JOHN</first>\n        <last>DOE</last>\n      </name>\n    </patient>\n    <claim-UDF ordinal=\"1\">SUB12345678901</claim-UDF>\n    <claim-UDF ordinal=\"2\">MASTER0000123</claim-UDF>\n    <claim-UDF ordinal=\"3\">Local</claim-UDF>\n    <claim-UDF ordinal=\"4\">COMMERCIAL_PPO</claim-UDF>\n    <claim-UDF ordinal=\"5\">PPO</claim-UDF>\n    <claim-UDF ordinal=\"6\">CLM2026110100099</claim-UDF>\n    <claim-UDF ordinal=\"11\">GRP98765</claim-UDF>\n    <claim-UDF ordinal=\"15\">8000</claim-UDF>\n    <claim-UDF ordinal=\"17\">ABCHealthPlan</claim-UDF>\n    <claim-UDF ordinal=\"22\">R339,N319,K592</claim-UDF>\n    <line>\n      <id>1</id>\n      <status>A</status>\n      <procedure-code>A4351</procedure-code>\n      <modifier order=\"1\">KX</modifier>\n      <modifier order=\"2\">NU</modifier>\n      <modifier order=\"3\">RR</modifier>\n      <modifier order=\"4\">KE</modifier>\n      <units>10</units>\n      <charges>676.50</charges>\n      <allowed-amount>0.00</allowed-amount>\n      <service-date>2026-11-01</service-date>\n      <service-through>2026-11-30</service-through>\n      <icd-version>10</icd-version>\n      <diagnosis order=\"1\">1</diagnosis>\n      <diagnosis order=\"2\">2</diagnosis>\n      <diagnosis order=\"3\">3</diagnosis>\n      <diagnosis order=\"4\">4</diagnosis>\n      <place-of-service>12</place-of-service>\n      <provider type=\"billing\">\n        <id type=\"npi\">1234567893</id>\n        <id type=\"tin\">123456789</id>\n        <address>\n          <state>NC</state>\n          <zip-code>28803</zip-code>\n        </address>\n        <name>\n          <first></first>\n          <last>EXAMPLE MEDICAL SUPPLY LLC</last>\n        </name>\n      </provider>\n      <provider type=\"servicing\">\n        <id type=\"npi\">1234567893</id>\n        <id type=\"tin\">123456789</id>\n        <address>\n          <state>NC</state>\n          <zip-code>28803</zip-code>\n        </address>\n        <name>\n          <first></first>\n          <last>EXAMPLE MEDICAL SUPPLY LLC</last>\n        </name>\n      </provider>\n      <user-defined id=\"7\">GRP98765</user-defined>\n      <user-defined id=\"8\">N</user-defined>\n      <user-defined id=\"9\">N</user-defined>\n      <user-defined id=\"10\">P</user-defined>\n      <user-defined id=\"16\">LCN0001</user-defined>\n      <user-defined id=\"17\">1234567893</user-defined>\n      <user-defined id=\"18\">INTERMIT URIN CATH</user-defined>\n      <user-defined id=\"19\"/>\n      <user-defined id=\"23\"/>\n      <authorization>PA20261101001</authorization>\n    </line>\n  </claim>\n</request>"}}}},"responses":{"prepaydmedata":{"description":"Edit results for the claim. Also returned (HTTP 200) when edit rules fail or the claim cannot be processed; look for a claim-level flag with mnemonic ERR or DDERR","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/PrepayDMEResponse"},"example":"<response>\n  <enterprise-id>ABCHealthPlan_DME_Professional</enterprise-id>\n  <environment>live</environment>\n  <claim type=\"professional\">\n    <icd-version>10</icd-version>\n    <id>CLM2026120200001</id>\n    <subscriber-id>SUB123456789</subscriber-id>\n    <plan>PLAN01</plan>\n    <account>GRP98765</account>\n    <patient>\n      <id type=\"mrn\">SUB12345678901</id>\n      <id type=\"other\">MASTER0000123</id>\n      <gender>M</gender>\n      <date-of-birth>1985-04-12</date-of-birth>\n      <name>\n        <first>JOHN</first>\n        <last>DOE</last>\n      </name>\n    </patient>\n    <claim-UDF ordinal=\"1\">SUB12345678901</claim-UDF>\n    <claim-UDF ordinal=\"2\">MASTER0000123</claim-UDF>\n    <claim-UDF ordinal=\"3\">Local</claim-UDF>\n    <claim-UDF ordinal=\"4\">COMMERCIAL_PPO</claim-UDF>\n    <claim-UDF ordinal=\"5\">PPO</claim-UDF>\n    <claim-UDF ordinal=\"6\">CLM2026110100099</claim-UDF>\n    <claim-UDF ordinal=\"11\">GRP98765</claim-UDF>\n    <claim-UDF ordinal=\"15\">8000</claim-UDF>\n    <claim-UDF ordinal=\"17\">ABCHealthPlan</claim-UDF>\n    <claim-UDF ordinal=\"22\">R339,N319,K592</claim-UDF>\n    <line>\n      <id>1</id>\n      <status>A</status>\n      <procedure-code>A4351</procedure-code>\n      <modifier order=\"1\">KX</modifier>\n      <modifier order=\"2\">NU</modifier>\n      <modifier order=\"3\">RR</modifier>\n      <modifier order=\"4\">KE</modifier>\n      <units>10</units>\n      <charges>676.50</charges>\n      <allowed-amount>0.00</allowed-amount>\n      <service-date>2026-11-01</service-date>\n      <service-through>2026-11-30</service-through>\n      <icd-version>10</icd-version>\n      <diagnosis order=\"1\">1</diagnosis>\n      <diagnosis order=\"2\">2</diagnosis>\n      <diagnosis order=\"3\">3</diagnosis>\n      <diagnosis order=\"4\">4</diagnosis>\n      <place-of-service>12</place-of-service>\n      <provider type=\"billing\">\n        <id type=\"npi\">1234567893</id>\n        <id type=\"tin\">123456789</id>\n        <address>\n          <state>NC</state>\n          <zip-code>28803</zip-code>\n        </address>\n        <name>\n          <first></first>\n          <last>EXAMPLE MEDICAL SUPPLY LLC</last>\n        </name>\n      </provider>\n      <provider type=\"servicing\">\n        <id type=\"npi\">1234567893</id>\n        <id type=\"tin\">123456789</id>\n        <address>\n          <state>NC</state>\n          <zip-code>28803</zip-code>\n        </address>\n        <name>\n          <first></first>\n          <last>EXAMPLE MEDICAL SUPPLY LLC</last>\n        </name>\n      </provider>\n      <user-defined id=\"7\">GRP98765</user-defined>\n      <user-defined id=\"8\">N</user-defined>\n      <user-defined id=\"9\">N</user-defined>\n      <user-defined id=\"10\">P</user-defined>\n      <user-defined id=\"16\">LCN0001</user-defined>\n      <user-defined id=\"17\">1234567893</user-defined>\n      <user-defined id=\"18\">INTERMIT URIN CATH</user-defined>\n      <user-defined id=\"19\"/>\n      <user-defined id=\"23\"/>\n      <authorization>PA20261101001</authorization>\n    </line>\n  </claim>\n  <edits>\n    <claim-edits>\n      <id>CLM2026120200001</id>\n    </claim-edits>\n    <line-edits>\n      <id>1</id>\n      <adjusted-units>0</adjusted-units>\n      <adjusted-decimal-units>000</adjusted-decimal-units>\n      <accountable-units>10</accountable-units>\n      <adjusted-charges>0.00</adjusted-charges>\n      <procedure-code>A4351</procedure-code>\n      <flag>\n        <id>10002</id>\n        <mnemonic>dVPX</mnemonic>\n        <message>[Pattern 71434] CARC 243. Services not authorized by network/primary care providers for procedure code A4351.</message>\n        <error-level>35000</error-level>\n        <action>deny</action>\n        <edit-type>Clinical</edit-type>\n        <pattern>\n          <id>11111111-2222-3333-4444-555555555555</id>\n          <short-name>dVPX</short-name>\n        </pattern>\n        <link type=\"flag\">10000</link>\n      </flag>\n      <flag>\n        <id>10003</id>\n        <mnemonic>PR-111</mnemonic>\n        <error-level>0</error-level>\n        <message>Carrier and LOB are invalid</message>\n      </flag>\n    </line-edits>\n  </edits>\n  <applied-edits/>\n</response>"}}}},"schemas":{"PrepayDMEClaim":{"type":"object","properties":{"type":{"type":"string","description":"Claim type. DME claims are professional","enum":["professional"],"xml":{"attribute":true},"default":"professional"},"icd-version":{"type":"string","description":"ICD version. ICD-10: 10, ICD10, ICD-10 or 0. ICD-9: 9, ICD9 or ICD-9. If not sent, the version configured for your enterprise is used"},"id":{"type":"string","description":"Payer claim ID (unique health plan claim identifier)","maxLength":50},"subscriber-id":{"type":"string","description":"Subscriber client ID","maxLength":80},"plan":{"type":"string","description":"Client ID, value provided by Optum","maxLength":50},"account":{"type":"string","description":"Subscriber group or policy number","maxLength":50},"patient":{"type":"object","properties":{"mrn":{"type":"string","description":"Subscriber client ID + patient dependent code. Serialized as `<id type=\"mrn\">value</id>`.","xml":{"name":"id"},"x-xml-attribute":{"type":"mrn"},"maxLength":256},"other":{"type":"string","description":"Patient client master ID. Serialized as `<id type=\"other\">value</id>`.","maxLength":40,"xml":{"name":"id"},"x-xml-attribute":{"type":"other"}},"gender":{"type":"string","description":"Patient sex: M = Male; F = Female; U = Unknown","maxLength":1,"enum":["M","F","U"]},"date-of-birth":{"type":"string","description":"Patient date of birth, YYYY-MM-DD","format":"date"},"name":{"type":"object","properties":{"first":{"type":"string","description":"Patient first name","maxLength":35},"last":{"type":"string","description":"Patient last name or organization name","maxLength":60}}}},"description":"Patient","required":["mrn"]},"claim-UDF-1":{"type":"string","description":"Subscriber client ID + patient dependent code, if not in patient element. Serialized as `<claim-UDF ordinal=\"1\">value</claim-UDF>`.","xml":{"name":"claim-UDF"},"x-xml-attribute":{"ordinal":"1"},"maxLength":255},"claim-UDF-2":{"type":"string","description":"Patient client master ID, if not in patient element. Serialized as `<claim-UDF ordinal=\"2\">value</claim-UDF>`.","xml":{"name":"claim-UDF"},"x-xml-attribute":{"ordinal":"2"},"maxLength":255},"claim-UDF-3":{"type":"string","description":"Payer claim ITS claim indicator, if applicable (Home / Host / Local; null otherwise). Serialized as `<claim-UDF ordinal=\"3\">value</claim-UDF>`.","maxLength":5,"xml":{"name":"claim-UDF"},"x-xml-attribute":{"ordinal":"3"}},"claim-UDF-4":{"type":"string","description":"Subscriber plan LOB / client native value. Serialized as `<claim-UDF ordinal=\"4\">value</claim-UDF>`.","maxLength":60,"xml":{"name":"claim-UDF"},"x-xml-attribute":{"ordinal":"4"}},"claim-UDF-5":{"type":"string","description":"Subscriber plan product type / client native value. Serialized as `<claim-UDF ordinal=\"5\">value</claim-UDF>`.","maxLength":60,"xml":{"name":"claim-UDF"},"x-xml-attribute":{"ordinal":"5"}},"claim-UDF-6":{"type":"string","description":"Payer prior claim ID or payer claim version. Serialized as `<claim-UDF ordinal=\"6\">value</claim-UDF>`.","xml":{"name":"claim-UDF"},"x-xml-attribute":{"ordinal":"6"},"maxLength":255},"claim-UDF-11":{"type":"string","description":"Subscriber group or policy number, if not in account element. Serialized as `<claim-UDF ordinal=\"11\">value</claim-UDF>`.","xml":{"name":"claim-UDF"},"x-xml-attribute":{"ordinal":"11"},"maxLength":255},"claim-UDF-15":{"type":"string","description":"Client ID provided by Optum, if not in plan element. Serialized as `<claim-UDF ordinal=\"15\">value</claim-UDF>`.","xml":{"name":"claim-UDF"},"x-xml-attribute":{"ordinal":"15"},"maxLength":255},"claim-UDF-17":{"type":"string","description":"Client name provided by Optum (for example ABCHealthPlan). Serialized as `<claim-UDF ordinal=\"17\">value</claim-UDF>`.","xml":{"name":"claim-UDF"},"x-xml-attribute":{"ordinal":"17"},"maxLength":255},"claim-UDF-22":{"type":"string","description":"Diagnosis codes 1-12, comma delimited. Serialized as `<claim-UDF ordinal=\"22\">value</claim-UDF>`.","xml":{"name":"claim-UDF"},"x-xml-attribute":{"ordinal":"22"},"maxLength":255},"line":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Payer line number","maxLength":3},"status":{"type":"string","description":"Line status: A = active (default), P = profile (analyzed for statistics only, no action taken), D = deleted, X = deny","maxLength":1,"enum":["A","P","D","X"],"default":"A"},"procedure-code":{"type":"string","description":"Line submitted procedure code","maxLength":5},"modifier":{"type":"array","items":{"type":"string","description":"Line submitted procedure code modifier. Array position maps to the XML order attribute (1-4).","maxLength":25},"xml":{"name":"modifier"},"maxItems":4,"description":"Serialized as `<modifier order=\"1\">..</modifier>` through `order=\"4\"`."},"units":{"type":"number","description":"Line submitted units of service (billed units). Whole numbers; fractional values are rounded by the service"},"charges":{"type":"number","description":"Line billed amount"},"allowed-amount":{"type":"number","description":"Line allowed amount. For prepay, provide if available (for example, when the claim is being sent after pricing)"},"service-date":{"type":"string","description":"Line service from date, YYYY-MM-DD","format":"date"},"service-through":{"type":"string","description":"Line service to date, YYYY-MM-DD","format":"date"},"icd-version":{"type":"string","description":"ICD version. ICD-10: 10, ICD10, ICD-10 or 0. ICD-9: 9, ICD9 or ICD-9. If not sent, the version configured for your enterprise is used"},"diagnosis":{"type":"array","items":{"type":"string","description":"Line diagnosis pointer or code. Array position maps to the XML order attribute (1-4)","maxLength":10},"xml":{"name":"diagnosis"},"maxItems":4,"description":"Serialized as `<diagnosis order=\"1\">..</diagnosis>` through order=\"4\""},"place-of-service":{"type":"string","description":"Line place of service code","maxLength":2},"billing-provider":{"type":"object","properties":{"type":{"type":"string","description":"Provider role. Always \"billing\" for this element.","enum":["billing"],"xml":{"attribute":true}},"npi":{"type":"string","description":"Billing Provider NPI. Serialized as `<id type=\"npi\">value</id>`","maxLength":10,"xml":{"name":"id"},"x-xml-attribute":{"type":"npi"}},"tin":{"type":"string","description":"Billing Provider TIN. Serialized as `<id type=\"tin\">value</id>`.","maxLength":9,"xml":{"name":"id"},"x-xml-attribute":{"type":"tin"}},"address":{"type":"object","properties":{"state":{"type":"string","description":"State code","maxLength":2},"zip-code":{"type":"string","description":"Zip code","maxLength":15}},"description":"Address"},"name":{"type":"object","properties":{"first":{"type":"string","description":"Billing Provider first name","maxLength":35},"last":{"type":"string","description":"Billing Provider last name or organization name","maxLength":60}}}},"description":"Billing provider","xml":{"name":"provider"}},"servicing-provider":{"type":"object","properties":{"type":{"type":"string","description":"Provider role. Always \"servicing\" for this element.","enum":["servicing"],"xml":{"attribute":true}},"npi":{"type":"string","description":"Line Rendering Provider NPI. Serialized as `<id type=\"npi\">value</id>`.","maxLength":10,"xml":{"name":"id"},"x-xml-attribute":{"type":"npi"}},"tin":{"type":"string","description":"Line Rendering Provider TIN. Serialized as `<id type=\"tin\">value</id>`.","maxLength":9,"xml":{"name":"id"},"x-xml-attribute":{"type":"tin"}},"address":{"type":"object","properties":{"state":{"type":"string","description":"State code","maxLength":2},"zip-code":{"type":"string","description":"Zip code","maxLength":15}},"description":"Address"},"name":{"type":"object","properties":{"first":{"type":"string","description":"Line Rendering Provider first name.","maxLength":35},"last":{"type":"string","description":"Line Rendering Provider last name or organization name.","maxLength":60}}}},"description":"Servicing provider","xml":{"name":"provider"}},"user-defined-7":{"type":"string","description":"Subscriber group or policy number. Serialized as `<user-defined id=\"7\">value</user-defined>`.","maxLength":50,"xml":{"name":"user-defined"},"x-xml-attribute":{"id":"7"}},"user-defined-8":{"type":"string","description":"Line rendering par indicator (P = Par; N = Non-Par). Serialized as `<user-defined id=\"8\">value</user-defined>`.","maxLength":1,"xml":{"name":"user-defined"},"x-xml-attribute":{"id":"8"}},"user-defined-9":{"type":"string","description":"Other editor indicator. Serialized as `<user-defined id=\"9\">value</user-defined>`.","xml":{"name":"user-defined"},"x-xml-attribute":{"id":"9"},"maxLength":255},"user-defined-10":{"type":"string","description":"Payer responsibility sequence (P/null = Primary; S = Secondary; T = Tertiary; U = Unknown). Serialized as `<user-defined id=\"10\">value</user-defined>`.","maxLength":1,"xml":{"name":"user-defined"},"x-xml-attribute":{"id":"10"}},"user-defined-16":{"type":"string","description":"Billing provider line control number. Serialized as `<user-defined id=\"16\">value</user-defined>`.","maxLength":50,"xml":{"name":"user-defined"},"x-xml-attribute":{"id":"16"}},"user-defined-17":{"type":"string","description":"Line rendering provider NPI. Serialized as `<user-defined id=\"17\">value</user-defined>`.","maxLength":10,"xml":{"name":"user-defined"},"x-xml-attribute":{"id":"17"}},"user-defined-18":{"type":"string","description":"Line submitted procedure code description (for example INTERMIT URIN CATH). Serialized as `<user-defined id=\"18\">value</user-defined>`.","maxLength":80,"xml":{"name":"user-defined"},"x-xml-attribute":{"id":"18"}},"user-defined-19":{"type":"string","description":"Line CLIA number. Serialized as `<user-defined id=\"19\">value</user-defined>`.","maxLength":10,"xml":{"name":"user-defined"},"x-xml-attribute":{"id":"19"}},"user-defined-23":{"type":"string","description":"Prior authorization number matched to this claim line. Returned by the service when a matching prior authorization is found; leave empty on the request. Serialized as `<user-defined id=\"23\">value</user-defined>`.","maxLength":50,"xml":{"name":"user-defined"},"x-xml-attribute":{"id":"23"}},"authorization":{"type":"string","description":"Line prior authorization number. Overrides the claim-level number.","maxLength":50}},"description":"Claim line","required":["id","procedure-code","charges"],"xml":{"name":"line"}},"xml":{"name":"line"},"minItems":1}},"description":"Claim","required":["id","subscriber-id","patient","line"],"xml":{"name":"claim"}},"PrepayDMEResponse":{"type":"object","properties":{"enterprise-id":{"type":"string","description":"Enterprise identifier, echoed from the request"},"environment":{"type":"string","description":"Environment the request ran in"},"claim":{"$ref":"#/components/schemas/PrepayDMEClaim"},"edits":{"type":"object","properties":{"claim-edits":{"type":"object","properties":{"id":{"type":"string","description":"Payer claim ID"},"flag":{"type":"array","items":{"$ref":"#/components/schemas/EditFlag"},"xml":{"name":"flag"},"description":"Claim-level edit flags. Rule failures and processing errors are returned here, with HTTP 200, as a flag with mnemonic ERR or DDERR and a message describing the problem"}},"description":"Edits that affect the whole claim rather than a single line"},"line-edits":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Payer line number the edits apply to"},"adjusted-units":{"type":"number","description":"Units after edits. 0 means the line is fully denied; between 0 and the submitted units means a partial denial; equal to the submitted units means no adjustment"},"adjusted-decimal-units":{"type":"string","description":"Decimal portion of the adjusted units, as a 3-digit string (for example \"000\")"},"accountable-units":{"type":"number","description":"Recommended units to pay. For a Deny disposition this is the number of denied units; for Pay it is the number of paid units"},"adjusted-charges":{"type":"number","description":"Line charges after edits are applied"},"procedure-code":{"type":"string","description":"Line submitted procedure code"},"flag":{"type":"array","items":{"$ref":"#/components/schemas/EditFlag"},"xml":{"name":"flag"},"description":"Edit flags fired on the line, one element per flag"},"allowed-amount":{"type":"number","description":"Line allowed amount, if sent on the request"},"source-id":{"type":"string","maxLength":25,"description":"Set when the edit service creates an additional line from one you sent (for example when a line is split or its units are transferred). Holds the id of the line you sent"}},"description":"Edits for one line","xml":{"name":"line-edits"}},"xml":{"name":"line-edits"},"description":"Edit results per line"}},"description":"Edits fired for the claim, at claim level and per line"},"applied-edits":{"type":"object","description":"Always returned empty for DME. The outcome for each line is in `edits`"}},"description":"Prepay DME response: the claim echoed from the request, and the edits that fired. Elements sent are returned as sent, and the service may add elements from your enterprise configuration (for example claim-UDF 15). The applied-edits element is always returned empty.","xml":{"name":"response"}},"EditFlag":{"type":"object","properties":{"id":{"type":"string","description":"Edit flag ID","maxLength":25},"mnemonic":{"type":"string","description":"Edit flag mnemonic","maxLength":20},"message":{"type":"string","description":"Edit message text, with parameters substituted","maxLength":2000},"error-level":{"type":"integer","description":"Edit severity. Higher numbers indicate greater severity"},"action":{"type":"string","description":"Recommended action: pay, deny, review or profile (letter case may vary)"},"edit-type":{"type":"string","description":"Edit type. Currently always Clinical"},"pattern":{"type":"object","properties":{"id":{"type":"string","description":"Edit pattern ID"},"short-name":{"type":"string","description":"Edit pattern short name"}},"description":"Edit pattern that fired"},"msg-parameters":{"type":"object","properties":{"template":{"type":"string","description":"Message template; @1@, @2@ ... mark where parameters are substituted"},"msg-param":{"type":"array","items":{"type":"string","description":"Parameter value. Serialized as `<msg-param context=\"CURRENT\" name=\"...\" order=\"1\" param-type=\"claim field\">value</msg-param>`; context, name, order and param-type are XML attributes","x-xml-attribute":{"context":"string","name":"string","order":"integer","param-type":"string"}},"xml":{"name":"msg-param"}}},"description":"Message template and the parameters substituted into it"},"link":{"type":"string","description":"Linked flag ID. Serialized as `<link type=\"flag\">ID</link>`","x-xml-attribute":{"type":"flag"}},"auto-fix":{"type":"string","description":"Suggested correction for the line. Serialized as `<auto-fix type=\"CHANGEPROC\">value</auto-fix>`. type is CHANGEPROC (change the procedure code), ADDPROC (add a procedure code), DELPROC (remove a procedure code), ADDMOD (add a modifier) or DELMOD (remove a modifier)","xml":{"name":"auto-fix"},"x-xml-attribute":{"type":"CHANGEPROC | ADDPROC | DELPROC | ADDMOD | DELMOD"}},"percent":{"type":"number","description":"Percentage of the submitted amount that should be paid. Returned only by edits that reduce payment"},"target-line":{"type":"string","description":"Line that units are transferred to, when the edit moves units between lines","maxLength":25},"vendor-code":{"type":"string","description":"Code mapped for your system, when applicable","maxLength":80},"disclosure":{"type":"object","description":"Rationale and source behind the edit, when available","properties":{"source":{"type":"array","items":{"type":"string"},"xml":{"name":"source"},"description":"Origin of the disclosure text"},"text":{"type":"array","items":{"type":"string"},"xml":{"name":"text"},"description":"Disclosure statement"}}}},"description":"Edit flag fired on the claim or on a line","xml":{"name":"flag"}},"ErrorResponse":{"type":"object","xml":{"name":"response"},"description":"Error returned by the API gateway","properties":{"error":{"type":"object","xml":{"name":"error"},"properties":{"status":{"type":"integer","description":"HTTP status code"},"errorCode":{"type":"string","description":"Short name of the error"},"message":{"type":"string","description":"Description of the error"},"path":{"type":"string","description":"The request path the error relates to"},"timestamp":{"type":"string","format":"date-time","description":"When the error occurred (UTC)"}}}}}}},"x-readme":{"explorer-enabled":true,"proxy-enabled":true}}