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

REST API Demo (Swagger) https://demo.redix.com/docs
Auth Header 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 TotalKneeArthroplasty
Patient: John Smith (synthetic; Patient/patient-001, MRN PAT001)
Procedure: CPT 27447 — Total knee replacement
Provider: Dr. Sarah Wilson (synthetic; NPI 1234567890)
Payer: Demo Health Plan (synthetic)

MRI Brain with and without Contrast

CPT 70553 | Questionnaire MRIBrain
Patient: John Smith (synthetic; Patient/patient-001, MRN PAT001)
Procedure: CPT 70553 — MRI brain with and without contrast
Provider: Dr. Sarah Wilson (synthetic; NPI 1234567890)
Payer: Demo Health Plan (synthetic)

Workflow 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.

1

CRD — Check If PA Required

POST /cds-services/order-sign-crd

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.
Demo-only fallback: If the demo CRD service is unavailable, you can still exercise Step 3 with the published sample bundle. This is a testing shortcut, not production advice.
2

DTR — Get Required Forms

GET /fhir/Questionnaire/{id}

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.

Note: Fetching the Questionnaire alone does not complete DTR. Attaching the QuestionnaireResponse to the PA request (for example, in the submitted Bundle) is part of your integration; the demo $submit checks only for a Claim entry. This step does not include an EHR launch or automatic clinical prefill.
3

Submit PA Request

POST /api/pas/Claim/$submit

Input

  • JSON FHIR Bundle (Content-Type: application/fhir+json) containing a Claim entry 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 the fhir_bundle field of the converter response
  • With the public demo key, only the published sample request bundle is accepted, sent with the X-Submission-Method: sample header; your own bundles need an evaluation key

Output

  • HTTP 202 with a FHIR Bundle (type collection)
  • The Bundle contains a ClaimResponse with a preAuthRef and a pended review action
  • Demo decisions are simulated, not payer decisions

Key Resources

Claim, Patient, Practitioner, Organization, Coverage, ServiceRequest

Validation error? The demo returns an OperationOutcome (HTTP 400) when the body is not JSON, is not a FHIR Bundle, or has no Claim entry. It does not perform full PAS profile validation.
4

Poll PA Status

POST /api/pas/Claim/$inquire

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 Bundle containing the current ClaimResponse
  • preAuthRef if approved
  • Decisions are simulated in the demo
Polling: Use exponential backoff (5s → 15s → 30s → 60s) and respect Retry-After headers. Demo returns quickly; production may take minutes to hours.
5

Convert Response to X12 278 (separate step)

POST /api/v2/fhir-278-response/convert

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
Status: FHIR ClaimResponse → X12 278 conversion is available for online evaluation of supported inputs; production delivery is scoped per customer.
6

(Your System) Link to Billing

Your billing/claims system

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.

Scope: This step is outside Redix PAS — it is your responsibility to integrate with your billing workflow.

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

All Redix tools are available here. X12 278 to PAS FHIR tool page here. Interactive ePA workflow demo (simulated decisions) here. Swagger API explorer here.

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.