About this project

receiptisan is a CLI tool for analyzing Japanese electronic receipt files (RECEIPTC.UKE) to generate SVG preview and structured data (JSON/YAML) from medical claims data. This tool generates visual previews based on paper receipt formats and transfers them to HTML for output. It also outputs medical facility information in JSON format (location, bed count) to embed in previews via SVG. For structured data, it generates YAMLL/JSON data for standard output (stdout) and input (stdin) to other tools. Additional features include searching medical master data (treatment, medication, special equipment, injury name) using names or codes, and caching results via Rake tasks for faster processing. The caching mechanism supports specific years or full-year datasets. For compatibility, the current version uses v0.1.0 branch for CSV conversion and VSCode extension for IDE-based receipt viewing. DPC receipts (RECEIPTD.UKE) and detailed case notes are not fully supported.