CMS-0057-F Test Workflow.
A test walkthrough for CRD, DTR and PAS $submit/$inquire on the Redix demo, with simulated decisions and two synthetic sample scenarios. FHIR to X12 278 response conversion is a separate step, available for online evaluation of supported inputs.
Looking for the full compliance suite? CMS-0057-F Compliance Suite →
Quick Start
https://demo.redix.com/docs
X-API-Key: demo-key-12345
Demo uses de-identified sample data only (no PHI). Demo key is public and rate-limited; production is customer-managed on customer infrastructure.
Sample Scenarios
The two synthetic scenarios offered on the compliance demo. The fields below summarize each scenario; they are not a complete PAS test fixture. The published sample request bundle linked in Step 3 is a separate, generic synthetic sample, not either scenario.
Total Knee Replacement
CPT 27447 | Questionnaire TotalKneeArthroplastyMRI Brain with and without Contrast
CPT 70553 | Questionnaire MRIBrainWorkflow Steps
CRD check, DTR forms, PAS submission and status polling on the demo. Step 5 runs separately in the CMS PAS 278 tool (the simulated flow does not feed it automatically); step 6, billing integration, is yours.
CRD — Check If PA Required
Input
CDS Hook request with ServiceRequest context (procedure code, patient, coverage)
Output
- CDS Hooks cards, for example “Prior Authorization Required” or “Documentation Required” with a DTR link: proceed to Step 2
- No PA requirement for the service: stop; no PA request is needed. This is not a coverage or payment decision.
DTR — Get Required Forms
Input
Questionnaire id from the CRD card, or from GET /fhir/Questionnaire (for example TotalKneeArthroplasty)
Output
FHIR Questionnaire resource with required documentation fields. Answer it and POST the QuestionnaireResponse to /fhir/QuestionnaireResponse.
$submit checks only for a Claim entry. This step does not include an EHR launch or automatic clinical prefill.Submit PA Request
Input
- JSON FHIR Bundle (
Content-Type: application/fhir+json) containing aClaimentry and the resources it references - X12 278 or RMap is not accepted here. Convert it first (for X12 278,
POST /api/v2/hipaa-to-fhir/278-request) and submit the Bundle from thefhir_bundlefield of the converter response - With the public demo key, only the published sample request bundle is accepted, sent with the
X-Submission-Method: sampleheader; your own bundles need an evaluation key
Output
- HTTP 202 with a FHIR
Bundle(type collection) - The Bundle contains a
ClaimResponsewith apreAuthRefand a pended review action - Demo decisions are simulated, not payer decisions
Key Resources
Claim, Patient, Practitioner, Organization, Coverage, ServiceRequest
Poll PA Status
Input
Demo contract: simple JSON {"claimId": "<preAuthRef from Step 3>"}. This is not the Bundle-based inquiry defined by the Da Vinci PAS guide.
Output
- A FHIR
Bundlecontaining the currentClaimResponse preAuthRefif approved- Decisions are simulated in the demo
Retry-After headers. Demo returns quickly; production may take minutes to hours.Convert Response to X12 278 (separate step)
Input
This is a separate step: the simulated $submit/$inquire flow above does not send its response to the converter. Use a FHIR Bundle that contains the ClaimResponse together with its original request Claim. The original Claim supplies the request context; a bundle without it is refused with a named reason. The published matched-pair sample runs for anyone in the CMS PAS 278 tool; your own de-identified bundles need an approved evaluation key.
Output
- X12 278 Response from the native Redix converter, for supported inputs
- The X12 is offered only when the conversion completes; a refused input produces no X12 and names the reason
(Your System) Link to Billing
What You Do
Use the preAuthRef from Step 4 in your billing system when submitting claims. This references the approved PA on the claim; a PA reference is not a guarantee of claim payment.
Common Errors & Fixes
Authentication, key and rate-limit errors come from the demo gateway as JSON messages. PAS operation errors are FHIR OperationOutcome resources.
| Error Code | Cause | Fix |
|---|---|---|
| 401 Unauthorized | Missing API key (JSON error from the demo gateway) | Add the X-API-Key header (demo key shown above; production is customer-managed) |
| 403 Forbidden | Invalid, disabled or expired key, or the public demo key used with content other than the published sample | Send the published sample with X-Submission-Method: sample, or request an evaluation key |
| 400 Bad Request | Body is not JSON, not a FHIR Bundle, or has no Claim entry ($submit); no claimId ($inquire) |
Read the OperationOutcome diagnostics |
| 429 Too Many Requests | A demo rate limit was reached | Wait and retry later |
| 500 Server Error | Internal error during the operation (OperationOutcome) | Contact support with the endpoint, time and response body |
Live Sandbox Tools
Test the CMS-PAS workflow with these sandbox tools
Interactive workflow demo: The CMS-0057-F Compliance Demo walks through CRD, DTR and PAS submit on sample data, with a simulated approval and a simulated payment, in a single guided page. Launch the demo. The X12 278 to PAS FHIR tool page describes the conversion tool.