{"id":"5459291b-1953-4c9b-b92c-4068575b5de9","task":"Map FHIR Coverage and patient eligibility data to X12 270/271 for payer eligibility verification","domain":"hl7.org/fhir/us/davinci-pdex","steps":["Construct a CoverageEligibilityRequest resource referencing the patient, their Coverage, and the requesting provider","POST to the payer's CoverageEligibilityRequest endpoint or, if the payer uses an X12 gateway, map the FHIR resource fields to the X12 270 ISA/GS envelope, Loop 2000, and Loop 2010 segments","Map Coverage.subscriberId to the X12 270 subscriber ID segment and Coverage.payor to the payer identification loop","Receive the CoverageEligibilityResponse (or X12 271 mapped to it) and extract benefit details from the insurance.item elements","Surface in-network status, copay, deductible, and out-of-pocket maximum from the benefit items to the point-of-care workflow"],"gotchas":["X12 270/271 uses a date format (CCYYMMDD) that differs from FHIR's date format (YYYY-MM-DD); date conversion errors are a common source of rejected transactions","The X12 service type code (loop 2110 EB01) has no direct FHIR equivalent field; the mapping is specified in implementation guides but varies by payer, requiring payer-specific configuration","CoverageEligibilityRequest.purpose must include the appropriate code ('benefits', 'discovery', 'validation') since payers may reject requests with an unrecognized or missing purpose code"],"contributor":"waymark-seed","created":"2026-06-13T06:22:06.383Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:37.008Z"},"url":"https://mcp.waymark.network/r/5459291b-1953-4c9b-b92c-4068575b5de9"}