← All tools · Prior Authorization Workflow and API Sandbox · CMS PAS 278 converter

Prior authorization, end to end: a recorded run

One synthetic prior-authorization request followed from the order to the X12 278, recorded on 2026-10-12 with the Redix PA Hub prototype. Each step below shows what happened and, under "Raw", the exact data that was produced. Nothing on this page is executed when you open it, and no sign-in is needed. The live SMART on FHIR launch demonstrations are temporarily unavailable on this server.

Versions in this run: FHIR R4 (4.0.1); Da Vinci PAS 2.0.1 for the request bundle; X12 278 request 005010X217; Redix V9 engine with the October 2026 FHIR-to-RMap and RMap-to-278 maps; HL7 FHIR validator 6.6.3. The coverage answer comes from a CDS Hooks order-sign call and the questionnaire from the prototype's own questionnaire engine: no claim is made here about a CRD or DTR implementation-guide version. Words used below: "Hub rules" are the payer rules configured in the prototype; "SIMULATED" marks everything a real payer would do.

Run 20261012T022449095345Z · outcome: completed: SIMULATED approved (case SIM-CASE-000001)

1. Order (synthetic)

Patient ALEX SAMPLE (pat-e2e-0001), order ord-e2e-0001: CPT 27447 Total knee arthroplasty on 2026-11-02; organization ORG_MAIN, payer PAYER_A.

Raw CRD request (JSON)
{
 "hook": "order-sign",
 "hookInstance": "99d3c670-79f0-4e0f-81ed-73428c94f5fd",
 "context": {
  "userId": "Practitioner/pract-e2e-0001",
  "patientId": "pat-e2e-0001",
  "draftOrders": {
   "resourceType": "Bundle",
   "entry": [
    {
     "resource": {
      "resourceType": "ServiceRequest",
      "id": "ord-e2e-0001",
      "status": "draft",
      "intent": "order",
      "subject": {
       "reference": "Patient/pat-e2e-0001"
      },
      "occurrenceDateTime": "2026-11-02",
      "code": {
       "coding": [
        {
         "system": "http://www.ama-assn.org/go/cpt",
         "code": "27447",
         "display": "Total knee arthroplasty"
        }
       ]
      }
     }
    }
   ]
  }
 },
 "prefetch": {
  "patient": {
   "resourceType": "Patient",
   "id": "pat-e2e-0001",
   "name": [
    {
     "family": "SAMPLE",
     "given": [
      "ALEX"
     ]
    }
   ],
   "birthDate": "1958-04-12",
   "gender": "female"
  },
  "coverage": {
   "resourceType": "Bundle",
   "type": "searchset",
   "entry": [
    {
     "resource": {
      "resourceType": "Coverage",
      "id": "cov-e2e-0001",
      "status": "active",
      "beneficiary": {
       "reference": "Patient/pat-e2e-0001"
      },
      "payor": [
       {
        "identifier": {
         "system": "http://example.org/fhir/sid/synthetic-payer-id",
         "value": "SYN-MAIN-PAYER-A"
        }
       }
      ]
     }
    }
   ]
  }
 }
}

2. Coverage requirements (CRD)

Prior authorization: auth-needed from captured Hub rules · documentation: clinical from captured Hub rules · coverage: covered SYNTHETIC coverage fact

Questionnaire requested: urn:redix:pa-hub:PAYER_A:questionnaire:knee-tka|TKA-DTR-2026.1

DTR link (shown as text, not a link): https://dtr.pa-hub.trial.invalid/launch?questionnaire=urn:redix:pa-hub:PAYER_A:questionnaire:knee-tka|TKA-DTR-2026.1&order=ServiceRequest/ord-e2e-0001&coverage-assertion-id=d438c475a97a4250bf5a73c37c799dca

Raw CRD response (JSON)
{
 "cards": [
  {
   "summary": "Documentation required: complete questionnaire knee-tka",
   "indicator": "info",
   "source": {
    "label": "Redix PA Hub (trial)"
   },
   "detail": "Order ord-e2e-0001: payer PAYER_A requires prior authorization; questionnaire knee-tka version TKA-DTR-2026.1.",
   "links": [
    {
     "label": "Complete questionnaire (DTR)",
     "type": "absolute",
     "url": "https://dtr.pa-hub.trial.invalid/launch?questionnaire=urn:redix:pa-hub:PAYER_A:questionnaire:knee-tka|TKA-DTR-2026.1&order=ServiceRequest/ord-e2e-0001&coverage-assertion-id=d438c475a97a4250bf5a73c37c799dca"
    }
   ]
  }
 ],
 "systemActions": [
  {
   "type": "update",
   "description": "Coverage information (Redix PA Hub trial)",
   "resource": {
    "resourceType": "ServiceRequest",
    "id": "ord-e2e-0001",
    "status": "draft",
    "intent": "order",
    "subject": {
     "reference": "Patient/pat-e2e-0001"
    },
    "occurrenceDateTime": "2026-11-02",
    "code": {
     "coding": [
      {
       "system": "http://www.ama-assn.org/go/cpt",
       "code": "27447",
       "display": "Total knee arthroplasty"
      }
     ]
    },
    "extension": [
     {
      "url": "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information",
      "extension": [
       {
        "url": "coverage",
        "valueReference": {
         "reference": "Coverage/cov-e2e-0001"
        }
       },
       {
        "url": "covered",
        "valueCode": "covered"
       },
       {
        "url": "pa-needed",
        "valueCode": "auth-needed"
       },
       {
        "url": "doc-needed",
        "valueCode": "clinical"
       },
       {
        "url": "questionnaire",
        "valueCanonical": "urn:redix:pa-hub:PAYER_A:questionnaire:knee-tka|TKA-DTR-2026.1"
       },
       {
        "url": "date",
        "valueDate": "2026-10-12"
       },
       {
        "url": "coverage-assertion-id",
        "valueString": "d438c475a97a4250bf5a73c37c799dca"
       }
      ]
     }
    ]
   }
  }
 ]
}

3. Questionnaire completed (DTR)

Questionnaire knee-tka|TKA-DTR-2026.1 from published bundle 1 v1 (ORG_MAIN), completed with the Hub questionnaire engine (in-process).

ItemQuestionAnswerSource
1.1Patient nameALEX SAMPLEprefilled from patient record
1.2Date of birth1958-04-12prefilled from patient record
2.1Provider nameADA CARTERentered (synthetic)
2.2NPI1999999984entered (synthetic)
3.1.1Primary knee diagnosisPrimary osteoarthritis of the kneeentered (synthetic)
3.1.2Affected sideRightentered (synthetic)
3.1.3Duration of symptoms (months)18entered (synthetic)
3.2.1Pain severity with activity (0-10)8entered (synthetic)
3.2.4Effect on activities of daily livingSevere limitationentered (synthetic)
3.2.5Requires an assistive device (cane / walker)?Trueentered (synthetic)
3.3.1Weight-bearing radiographs obtained?Trueentered (synthetic)
3.3.2Kellgren-Lawrence osteoarthritis gradeGrade 4 (severe)entered (synthetic)
3.3.4Date of imaging2026-09-15entered (synthetic)
3.4.1Has the patient completed at least 3 months of conservative therapy?Trueentered (synthetic)
3.4.3Duration of physical therapy (weeks)12entered (synthetic)
3.4.4Response to conservative treatmentFailed - symptoms progressingentered (synthetic)
3.6Clinical notes supporting medical necessitySynthetic demonstration note: end-stage OA, failed 6 months conservative care.entered (synthetic)
4.1ProcedureTotal knee arthroplasty (CPT 27447)entered (synthetic)
4.2Site of serviceOutpatient / Ambulatory Surgery Centerentered (synthetic)
4.3Planned date of surgery2026-11-02entered (synthetic)
Raw QuestionnaireResponse (JSON)
{
 "resourceType": "QuestionnaireResponse",
 "questionnaire": "Questionnaire/knee-tka|TKA-DTR-2026.1",
 "status": "completed",
 "item": [
  {
   "linkId": "1",
   "text": "Patient / Beneficiary Demographics",
   "item": [
    {
     "linkId": "1.1",
     "text": "Patient name",
     "answer": [
      {
       "valueString": "ALEX SAMPLE"
      }
     ]
    },
    {
     "linkId": "1.2",
     "text": "Date of birth",
     "answer": [
      {
       "valueDate": "1958-04-12"
      }
     ]
    }
   ]
  },
  {
   "linkId": "2",
   "text": "Ordering Physician / NPP Demographics",
   "item": [
    {
     "linkId": "2.1",
     "text": "Provider name",
     "answer": [
      {
       "valueString": "ADA CARTER"
      }
     ]
    },
    {
     "linkId": "2.2",
     "text": "NPI",
     "answer": [
      {
       "valueString": "1999999984"
      }
     ]
    }
   ]
  },
  {
   "linkId": "3",
   "text": "Coverage Requirements",
   "item": [
    {
     "linkId": "3.1",
     "text": "Diagnosis",
     "item": [
      {
       "linkId": "3.1.1",
       "text": "Primary knee diagnosis",
       "answer": [
        {
         "valueCoding": {
          "code": "Primary osteoarthritis of the knee",
          "display": "Primary osteoarthritis of the knee"
         }
        }
       ]
      },
      {
       "linkId": "3.1.2",
       "text": "Affected side",
       "answer": [
        {
         "valueCoding": {
          "code": "Right",
          "display": "Right"
         }
        }
       ]
      },
      {
       "linkId": "3.1.3",
       "text": "Duration of symptoms (months)",
       "answer": [
        {
         "valueInteger": 18
        }
       ]
      }
     ]
    },
    {
     "linkId": "3.2",
     "text": "Symptoms and Function",
     "item": [
      {
       "linkId": "3.2.1",
       "text": "Pain severity with activity (0-10)",
       "answer": [
        {
         "valueInteger": 8
        }
       ]
      },
      {
       "linkId": "3.2.4",
       "text": "Effect on activities of daily living",
       "answer": [
        {
         "valueCoding": {
          "code": "Severe limitation",
          "display": "Severe limitation"
         }
        }
       ]
      },
      {
       "linkId": "3.2.5",
       "text": "Requires an assistive device (cane / walker)?",
       "answer": [
        {
         "valueBoolean": true
        }
       ]
      }
     ]
    },
    {
     "linkId": "3.3",
     "text": "Imaging",
     "item": [
      {
       "linkId": "3.3.1",
       "text": "Weight-bearing radiographs obtained?",
       "answer": [
        {
         "valueBoolean": true
        }
       ]
      },
      {
       "linkId": "3.3.2",
       "text": "Kellgren-Lawrence osteoarthritis grade",
       "answer": [
        {
         "valueCoding": {
          "code": "Grade 4 (severe)",
          "display": "Grade 4 (severe)"
         }
        }
       ]
      },
      {
       "linkId": "3.3.4",
       "text": "Date of imaging",
       "answer": [
        {
         "valueDate": "2026-09-15"
        }
       ]
      }
     ]
    },
    {
     "linkId": "3.4",
     "text": "Conservative (non-surgical) treatment - required, at least 3 months",
     "item": [
      {
       "linkId": "3.4.1",
       "text": "Has the patient completed at least 3 months of conservative therapy?",
       "answer": [
        {
         "valueBoolean": true
        }
       ]
      },
      {
       "linkId": "3.4.3",
       "text": "Duration of physical therapy (weeks)",
       "answer": [
        {
         "valueInteger": 12
        }
       ]
      },
      {
       "linkId": "3.4.4",
       "text": "Response to conservative treatment",
       "answer": [
        {
         "valueCoding": {
          "code": "Failed - symptoms progressing",
          "display": "Failed - symptoms progressing"
         }
        }
       ]
      }
     ]
    },
    {
     "linkId": "3.6",
     "text": "Clinical notes supporting medical necessity",
     "answer": [
      {
       "valueString": "Synthetic demonstration note: end-stage OA, failed 6 months conservative care."
      }
     ]
    }
   ]
  },
  {
   "linkId": "4",
   "text": "Procedure Requested",
   "item": [
    {
     "linkId": "4.1",
     "text": "Procedure",
     "answer": [
      {
       "valueCoding": {
        "code": "Total knee arthroplasty (CPT 27447)",
        "display": "Total knee arthroplasty (CPT 27447)"
       }
      }
     ]
    },
    {
     "linkId": "4.2",
     "text": "Site of service",
     "answer": [
      {
       "valueCoding": {
        "code": "Outpatient / Ambulatory Surgery Center",
        "display": "Outpatient / Ambulatory Surgery Center"
       }
      }
     ]
    },
    {
     "linkId": "4.3",
     "text": "Planned date of surgery",
     "answer": [
      {
       "valueDate": "2026-11-02"
      }
     ]
    }
   ]
  }
 ]
}

4. Prior-authorization request (Da Vinci PAS 2.0.1 bundle, 1 known validation error)

Claim claim-e2e-0001: diagnosis M17.11 (Unilateral primary osteoarthritis, right knee), procedure 27447 (Total knee arthroplasty), order referral ServiceRequest/ord-e2e-0001, questionnaire attached QuestionnaireResponse/qr-e2e-0001.

PAS 2.0.1 validation (validator_cli, terminology OFF): errors 1, warnings 29, information 11.

The 29 warnings by kind: 7 best-practice notes (dom-6, a resource without a narrative); 7 codes sent without a code system; 5 code systems and 3 value sets the validator could not load with terminology off; 3 codings outside a preferred value set; 2 value-set membership checks not possible; 2 references to the questionnaire, which the validator could not resolve. To repeat the check: java -jar validator_cli.jar 05_pas_bundle.json -version 4.0.1 -ig hl7.fhir.us.davinci-pas#2.0.1 -tx n/a -profile http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle (validator 6.6.3; the bundle names no profile itself, so the profile is given on the command line), on the bundle shown under "Raw PAS bundle". The same validator version and the PAS 2.0.1 package are needed to reproduce the recorded result.

Unresolved error: A definition for CodeSystem 'http://hl7.org/fhir/sid/icd-10-cm' could not be found, so the code cannot be validated

Raw PAS bundle (JSON)
{
 "resourceType": "Bundle",
 "id": "pas-e2e-0001",
 "type": "collection",
 "timestamp": "2026-10-12T02:24:49Z",
 "identifier": {
  "system": "https://pa-hub.trial.invalid/pas-bundle-id",
  "value": "pas-e2e-0001"
 },
 "entry": [
  {
   "fullUrl": "https://pa-hub.trial.invalid/fhir/Claim/claim-e2e-0001",
   "resource": {
    "resourceType": "Claim",
    "id": "claim-e2e-0001",
    "meta": {
     "profile": [
      "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim"
     ]
    },
    "status": "active",
    "use": "preauthorization",
    "type": {
     "coding": [
      {
       "system": "http://terminology.hl7.org/CodeSystem/claim-type",
       "code": "professional"
      }
     ]
    },
    "patient": {
     "reference": "Patient/pat-e2e-0001"
    },
    "created": "2026-10-12T02:24:49Z",
    "insurer": {
     "reference": "Organization/org-payer-a"
    },
    "provider": {
     "reference": "Organization/org-ortho-0001"
    },
    "priority": {
     "coding": [
      {
       "system": "http://terminology.hl7.org/CodeSystem/processpriority",
       "code": "normal"
      }
     ]
    },
    "payee": {
     "type": {
      "coding": [
       {
        "system": "http://terminology.hl7.org/CodeSystem/payeetype",
        "code": "provider"
       }
      ]
     }
    },
    "identifier": [
     {
      "system": "https://pa-hub.trial.invalid/claim-id",
      "value": "claim-e2e-0001"
     }
    ],
    "insurance": [
     {
      "sequence": 1,
      "focal": true,
      "coverage": {
       "reference": "Coverage/cov-e2e-0001"
      }
     }
    ],
    "billablePeriod": {
     "start": "2026-11-02",
     "end": "2026-11-02"
    },
    "item": [
     {
      "extension": [
       {
        "url": "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType",
        "valueCodeableConcept": {
         "coding": [
          {
           "system": "https://x12.org/codes/request-category-code",
           "code": "HS"
          }
         ]
        }
       },
       {
        "url": "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType",
        "valueCodeableConcept": {
         "coding": [
          {
           "system": "https://x12.org/codes/certification-type-code",
           "code": "I"
          }
         ]
        }
       }
      ],
      "category": {
       "coding": [
        {
         "system": "https://x12.org/codes/service-type-code",
         "code": "2"
        }
       ]
      },
      "locationCodeableConcept": {
       "coding": [
        {
         "system": "https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set",
         "code": "22"
        }
       ]
      },
      "sequence": 1,
      "productOrService": {
       "coding": [
        {
         "system": "http://www.ama-assn.org/go/cpt",
         "code": "27447",
         "display": "Total knee arthroplasty"
        }
       ]
      },
      "quantity": {
       "value": 1
      },
      "informationSequence": [
       4
      ],
      "servicedDate": "2026-11-02",
      "diagnosisSequence": [
       1
      ]
     }
    ],
    "supportingInfo": [
     {
      "sequence": 1,
      "category": {
       "coding": [
        {
         "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory",
         "code": "info"
        }
       ]
      },
      "valueReference": {
       "reference": "QuestionnaireResponse/qr-e2e-0001"
      }
     }
    ],
    "diagnosis": [
     {
      "sequence": 1,
      "diagnosisCodeableConcept": {
       "coding": [
        {
         "system": "http://hl7.org/fhir/sid/icd-10-cm",
         "code": "M17.11",
         "display": "Unilateral primary osteoarthritis, right knee"
        }
       ]
      }
     }
    ],
    "referral": {
     "reference": "ServiceRequest/ord-e2e-0001"
    }
   }
  },
  {
   "fullUrl": "https://pa-hub.trial.invalid/fhir/Organization/org-payer-a",
   "resource": {
    "resourceType": "Organization",
    "id": "org-payer-a",
    "meta": {
     "profile": [
      "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer"
     ]
    },
    "identifier": [
     {
      "system": "https://redix.com/fhir/NamingSystem/organization-id",
      "value": "SYNPAYERA01"
     }
    ],
    "active": true,
    "name": "PAYER A HEALTH PLAN"
   }
  },
  {
   "fullUrl": "https://pa-hub.trial.invalid/fhir/Practitioner/pract-e2e-0001",
   "resource": {
    "resourceType": "Practitioner",
    "id": "pract-e2e-0001",
    "meta": {
     "profile": [
      "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner"
     ]
    },
    "identifier": [
     {
      "system": "http://hl7.org/fhir/sid/us-npi",
      "value": "1999999984"
     }
    ],
    "name": [
     {
      "family": "CARTER",
      "given": [
       "ADA"
      ]
     }
    ]
   }
  },
  {
   "fullUrl": "https://pa-hub.trial.invalid/fhir/Organization/org-ortho-0001",
   "resource": {
    "resourceType": "Organization",
    "id": "org-ortho-0001",
    "meta": {
     "profile": [
      "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor"
     ]
    },
    "active": true,
    "identifier": [
     {
      "system": "http://terminology.hl7.org/NamingSystem/USEIN",
      "value": "991234567"
     }
    ],
    "name": "SYNTHETIC ORTHO CLINIC"
   }
  },
  {
   "fullUrl": "https://pa-hub.trial.invalid/fhir/Patient/pat-e2e-0001",
   "resource": {
    "resourceType": "Patient",
    "id": "pat-e2e-0001",
    "meta": {
     "profile": [
      "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary"
     ]
    },
    "identifier": [
     {
      "type": {
       "coding": [
        {
         "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
         "code": "MB"
        }
       ]
      },
      "system": "https://redix.com/fhir/NamingSystem/member-id",
      "value": "SYNMEM0001"
     }
    ],
    "name": [
     {
      "use": "official",
      "family": "SAMPLE",
      "given": [
       "ALEX"
      ]
     }
    ],
    "birthDate": "1958-04-12",
    "gender": "female"
   }
  },
  {
   "fullUrl": "https://pa-hub.trial.invalid/fhir/Coverage/cov-e2e-0001",
   "resource": {
    "resourceType": "Coverage",
    "id": "cov-e2e-0001",
    "meta": {
     "profile": [
      "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage"
     ]
    },
    "status": "active",
    "identifier": [
     {
      "type": {
       "coding": [
        {
         "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
         "code": "MB"
        }
       ]
      },
      "system": "https://redix.com/fhir/NamingSystem/member-id",
      "value": "SYNMEM0001"
     }
    ],
    "beneficiary": {
     "reference": "Patient/pat-e2e-0001"
    },
    "subscriber": {
     "reference": "Patient/pat-e2e-0001"
    },
    "relationship": {
     "coding": [
      {
       "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship",
       "code": "self"
      }
     ]
    },
    "payor": [
     {
      "reference": "Organization/org-payer-a"
     }
    ]
   }
  },
  {
   "fullUrl": "https://pa-hub.trial.invalid/fhir/QuestionnaireResponse/qr-e2e-0001",
   "resource": {
    "resourceType": "QuestionnaireResponse",
    "questionnaire": "urn:redix:pa-hub:PAYER_A:questionnaire:knee-tka|TKA-DTR-2026.1",
    "status": "completed",
    "item": [
     {
      "linkId": "1",
      "text": "Patient / Beneficiary Demographics",
      "item": [
       {
        "linkId": "1.1",
        "text": "Patient name",
        "answer": [
         {
          "valueString": "ALEX SAMPLE"
         }
        ]
       },
       {
        "linkId": "1.2",
        "text": "Date of birth",
        "answer": [
         {
          "valueDate": "1958-04-12"
         }
        ]
       }
      ]
     },
     {
      "linkId": "2",
      "text": "Ordering Physician / NPP Demographics",
      "item": [
       {
        "linkId": "2.1",
        "text": "Provider name",
        "answer": [
         {
          "valueString": "ADA CARTER"
         }
        ]
       },
       {
        "linkId": "2.2",
        "text": "NPI",
        "answer": [
         {
          "valueString": "1999999984"
         }
        ]
       }
      ]
     },
     {
      "linkId": "3",
      "text": "Coverage Requirements",
      "item": [
       {
        "linkId": "3.1",
        "text": "Diagnosis",
        "item": [
         {
          "linkId": "3.1.1",
          "text": "Primary knee diagnosis",
          "answer": [
           {
            "valueCoding": {
             "code": "Primary osteoarthritis of the knee",
             "display": "Primary osteoarthritis of the knee"
            }
           }
          ]
         },
         {
          "linkId": "3.1.2",
          "text": "Affected side",
          "answer": [
           {
            "valueCoding": {
             "code": "Right",
             "display": "Right"
            }
           }
          ]
         },
         {
          "linkId": "3.1.3",
          "text": "Duration of symptoms (months)",
          "answer": [
           {
            "valueInteger": 18
           }
          ]
         }
        ]
       },
       {
        "linkId": "3.2",
        "text": "Symptoms and Function",
        "item": [
         {
          "linkId": "3.2.1",
          "text": "Pain severity with activity (0-10)",
          "answer": [
           {
            "valueInteger": 8
           }
          ]
         },
         {
          "linkId": "3.2.4",
          "text": "Effect on activities of daily living",
          "answer": [
           {
            "valueCoding": {
             "code": "Severe limitation",
             "display": "Severe limitation"
            }
           }
          ]
         },
         {
          "linkId": "3.2.5",
          "text": "Requires an assistive device (cane / walker)?",
          "answer": [
           {
            "valueBoolean": true
           }
          ]
         }
        ]
       },
       {
        "linkId": "3.3",
        "text": "Imaging",
        "item": [
         {
          "linkId": "3.3.1",
          "text": "Weight-bearing radiographs obtained?",
          "answer": [
           {
            "valueBoolean": true
           }
          ]
         },
         {
          "linkId": "3.3.2",
          "text": "Kellgren-Lawrence osteoarthritis grade",
          "answer": [
           {
            "valueCoding": {
             "code": "Grade 4 (severe)",
             "display": "Grade 4 (severe)"
            }
           }
          ]
         },
         {
          "linkId": "3.3.4",
          "text": "Date of imaging",
          "answer": [
           {
            "valueDate": "2026-09-15"
           }
          ]
         }
        ]
       },
       {
        "linkId": "3.4",
        "text": "Conservative (non-surgical) treatment - required, at least 3 months",
        "item": [
         {
          "linkId": "3.4.1",
          "text": "Has the patient completed at least 3 months of conservative therapy?",
          "answer": [
           {
            "valueBoolean": true
           }
          ]
         },
         {
          "linkId": "3.4.3",
          "text": "Duration of physical therapy (weeks)",
          "answer": [
           {
            "valueInteger": 12
           }
          ]
         },
         {
          "linkId": "3.4.4",
          "text": "Response to conservative treatment",
          "answer": [
           {
            "valueCoding": {
             "code": "Failed - symptoms progressing",
             "display": "Failed - symptoms progressing"
            }
           }
          ]
         }
        ]
       },
       {
        "linkId": "3.6",
        "text": "Clinical notes supporting medical necessity",
        "answer": [
         {
          "valueString": "Synthetic demonstration note: end-stage OA, failed 6 months conservative care."
         }
        ]
       }
      ]
     },
     {
      "linkId": "4",
      "text": "Procedure Requested",
      "item": [
       {
        "linkId": "4.1",
        "text": "Procedure",
        "answer": [
         {
          "valueCoding": {
           "code": "Total knee arthroplasty (CPT 27447)",
           "display": "Total knee arthroplasty (CPT 27447)"
          }
         }
        ]
       },
       {
        "linkId": "4.2",
        "text": "Site of service",
        "answer": [
         {
          "valueCoding": {
           "code": "Outpatient / Ambulatory Surgery Center",
           "display": "Outpatient / Ambulatory Surgery Center"
          }
         }
        ]
       },
       {
        "linkId": "4.3",
        "text": "Planned date of surgery",
        "answer": [
         {
          "valueDate": "2026-11-02"
         }
        ]
       }
      ]
     }
    ],
    "id": "qr-e2e-0001",
    "subject": {
     "reference": "Patient/pat-e2e-0001"
    }
   }
  },
  {
   "fullUrl": "https://pa-hub.trial.invalid/fhir/ServiceRequest/ord-e2e-0001",
   "resource": {
    "resourceType": "ServiceRequest",
    "id": "ord-e2e-0001",
    "status": "draft",
    "intent": "order",
    "subject": {
     "reference": "Patient/pat-e2e-0001"
    },
    "occurrenceDateTime": "2026-11-02",
    "code": {
     "coding": [
      {
       "system": "http://www.ama-assn.org/go/cpt",
       "code": "27447",
       "display": "Total knee arthroplasty"
      }
     ]
    }
   }
  }
 ]
}

5. X12 278 request (real local conversion)

Converted locally by the existing converter and the Redix V9 engine: engine code -901 (-901 = warnings), 2 warning(s); structural completeness checked; not implementation-guide validated.

ISA*00*          *00*          *ZZ*PROVIDER       *ZZ*SYNPAYERA01    *261012*0224*^*00501*771889146*0*T*:
GS*HI*PROVIDER*SYNPAYERA01*20261012*0224*771889146*X*005010X217
ST*278*9146*005010X217
BHT*0007*13*claim-e2e-0001*20261012*0224
HL*1**20*1
NM1*X3*2*PAYER A HEALTH PLAN*****PI*SYNPAYERA01
HL*2*1*21*1
NM1*1P*2*SYNTHETIC ORTHO CLINIC*****24*991234567
HL*3*2*22*1
NM1*IL*1*SAMPLE*ALEX****MI*SYNMEM0001
DMG*D8*19580412*F
HL*4*3*EV*1
UM*HS*I*2*22
DTP*AAH*D8*20261102
HI*ABK:M1711
HL*5*4*SS*0
SV1*HC:27447**UN*1
SE*16*9146
GE*1*771889146
IEA*1*771889146

About the two engine warnings below: they refer to intermediate records of this conversion path (named DX0 and SV0, with their own line numbers), not to lines of the 278 shown above. The engine reports "data element too long" for the values ABK and HC:27447, which the 278 above carries inside the composites HI*ABK:M1711 and SV1*HC:27447. As the limits below say, the 278 was checked for structural completeness only, not against the X12 implementation guide.

Engine warnings
Warning: Element Error occurs at Line Number = 7; Segment Name = DX0; Element Position = 1; Invalid data = (ABK); Element Number = eDX01; Error Number = 39: Data element too long;
Warning: Element Error occurs at Line Number = 8; Segment Name = SV0; Element Position = 11; Invalid data = (HC:27447); Element Number = eSV011; Error Number = 39: Data element too long;

6. Outcome: SIMULATED (not a payer approval)

SIMULATED Simulated case SIM-CASE-000001, harness-set status: approved.

SIMULATED: status 'approved' set by this demonstration harness on the SIM-RECV/1 simulated receiver, which received artifact references only (not the PAS bundle or X12). This ClaimResponse is built locally by the harness. Not a payer decision.

Raw SIMULATED ClaimResponse (JSON)
{
 "resourceType": "ClaimResponse",
 "id": "cr-claim-e2e-0001",
 "status": "active",
 "use": "preauthorization",
 "patient": {
  "reference": "Patient/pat-e2e-0001"
 },
 "request": {
  "reference": "Claim/claim-e2e-0001"
 },
 "created": "2026-10-12T02:24:49.225676+00:00",
 "insurer": {
  "reference": "Organization/org-payer-a"
 },
 "outcome": "complete",
 "preAuthRef": "SIM-CASE-000001",
 "disposition": "SIMULATED: status 'approved' set by this demonstration harness on the SIM-RECV/1 simulated receiver, which received artifact references only (not the PAS bundle or X12). This ClaimResponse is built locally by the harness. Not a payer decision.",
 "meta": {
  "tag": [
   {
    "system": "https://pa-hub.trial.invalid/tags",
    "code": "SIMULATED"
   }
  ]
 }
}

What the X12 278 in this run does not carry

Limits of this demonstration

Evidence

Recorded on 2026-10-12 with the Redix PA Hub prototype (run 20261012T022449095345Z). SHA-256 of each artifact displayed:

Artifactsha256
01_crd_request.jsonbde31c21cae261b45c9823f2a2abd31835d664a110f8a5142265311aa0bb54a6
02_crd_response.json281c313454b99f83fa856e58c0fc919f4aeb56588f2b72fe85531d9fb98511e7
03_questionnaire.jsonb5c643151ddc6a87ac14b615df5c7898c27a707bfeadc54e79a47db8db8046c0
04_questionnaire_response.jsond1439aabe1e6dfb2fa78d74fbd6b2fd523409dbcba8d15d9883c080948ef80eb
05_pas_bundle.jsond4073b85f903bef64a8ef3c18284723a03ebb0a8781b12d15ec29034af08b961
06_conversion/out.x12d9aeaa6625a97c9e5c15cdb24b0400a3788bf3e7082a18f88aa13d6c9db13398
06_conversion/out.rercb1c017c7dea540bf158d283130665dcd6b6a98bca36146a7335f09a8ed2da9f
09_claim_response_SIMULATED.jsonac13b5aa3a5da538d151e0552a9e677af8f021200eda485f6190dc539a518cd7
10_validation_pas_2.0.1.jsonb3675ce520810bee7648719ee3f79eb7cb7bf7d318f81b9b8fdafba8397bca50
summary.json575a66b5375b19624f386c4d7c0cf06368f22adbc5645e3925a8bafd985d4ea7

To see this with your own data, or to ask how it would connect to a system you already run, write to Redix at sales@redix.com.