{
  "tool_id": "art-399-lint-x12-claim-records",
  "tool_version": "1.0.0",
  "display_name": "X12 837/835 Healthcare-Claim Records Lint",
  "mcp_name": "lint_x12_claim_records",
  "mandate_type": "compliance_mandate",
  "wave": 47,
  "gpu": false,
  "url": "https://ainumbers.co/chaingraph/art-399-lint-x12-claim-records.html",
  "description": "Lints X12 837 (health-care claim) and 835 (claim payment/remittance advice) ENVELOPE control-number continuity (ISA13/IEA02, GS06/GE02, ST02/SE02) and 835 payment-amount balancing (total paid ties to the sum of claim-level payments, pure arithmetic). FORMAT-ONLY and structurally PHI-IMPOSSIBLE: the schema defines only envelope control numbers, claim/payment identifiers, and monetary amounts -- no patient name, DOB, diagnosis, or clinical field exists. Derived from public CMS companion-guide summaries, not the licensed X12 implementation guide. Part of the record-integrity family alongside lint_metro2_record (art-398), check_official_statement_completeness (art-400), and validate_form5500_schedules (art-401).",
  "input_schema_ref": "chaingraph/art-399-lint-x12-claim-records.html#manifest",
  "consumes": [],
  "feeds": [],
  "status": "live",
  "conformance_fixtures": true,
  "compute_capability": "server",
  "compute_images": [
    {
      "system": "sha256-source",
      "image_id": "sha256:b3acb2f4a9c067913ed0abcc7a47a783f033fbb08a6c467341233bae5def2a1f",
      "valid_from": "2026-07-10"
    },
    {
      "system": "risc0",
      "image_id": "sha256:a1a0bc89b5b1febaeda3519f6dbade0fa5ac16beeb143c4e1b01689573567bc6",
      "valid_from": "2026-07-10"
    }
  ],
  "export_capability": [
    "json"
  ],
  "compute_proof_ready": "ready",
  "compute_proof": {
    "type": "ZkVmReceipt",
    "system": "risc0",
    "receiptFormat": "groth16-bn254",
    "imageId": "sha256:a1a0bc89b5b1febaeda3519f6dbade0fa5ac16beeb143c4e1b01689573567bc6",
    "seal": "K2cmjYRfB6GdMvUHkeW7cogHQ6I377rodK7IVxl5IhIfqLi98lRGkmeNVAId/5IazcwlswIgTCXRCBdhTrVncBb6ErU+V6smnXBkrNTStJ0hcU3fpemKSvMRuqzopH/ZA13m4IYl46s92o3+ezePx3RGeyyMK+DIq1vLAcNwpQgsJVDmY2M6iYB5k0bNM/6uc1eH2BzxfoA0tVp025HdOC5xr428sy/WBWkrETDoC4tk2MycjOciJ4eedpJT/1aZGXs3/J6XG0tL26e+ruvw5LbBQsldCpwetzsYm2DPAlcViDE9KYK4ZHE2pgVBHBp78a+PWzSUoeDKHWLmTyIC1Q==",
    "journal": {
      "chaingraph_version": "0.4.0",
      "kernel_digest": "sha256:b3acb2f4a9c067913ed0abcc7a47a783f033fbb08a6c467341233bae5def2a1f",
      "output": {
        "claim_count": 2,
        "compliant": true,
        "disambiguation": "lint_x12_claim_records checks X12 837/835 ENVELOPE control-number continuity and, for 835, payment-amount balancing (arithmetic only) -- a FORMAT-ONLY validator over identifiers and amounts, never claim content.",
        "error_count": 0,
        "issues": [],
        "message_type": "837",
        "phi_note": "This schema is structurally PHI-IMPOSSIBLE: it defines only envelope control numbers, claim/payment identifiers, and monetary amounts -- no patient name, DOB, diagnosis, or any clinical field exists in the input or output. See the HIPAA-Security WATCH row for the separate, un-triggered security-rule surface.",
        "regulatory_basis": "ASC X12 005010 837/835 transaction sets; CMS companion-guide public summaries; HIPAA Administrative Simplification transaction-standard rule (45 CFR Part 162).",
        "subset_coverage_statement": "This lints X12 837/835 ENVELOPE structure and 835 payment balancing only, from public CMS companion-guide summaries. It does not implement the full licensed X12 implementation guide, and defines no clinical/PHI fields whatsoever.",
        "table_source": "CMS X12 837/835 Companion Guide public summaries (cms.gov); ASC X12 005010 envelope structure (public control-number continuity rules: ISA13/IEA02, GS06/GE02, ST02/SE02).",
        "table_version": "X12-837-835-ENVELOPE-BALANCE-PUBLIC-SUBSET-V1",
        "total_charge_amount": 325.5,
        "warning_count": 0
      }
    }
  }
}
