{"bundle_type":"pith_open_graph_bundle","bundle_version":"1.0","pith_number":"pith:2024:R7NYFXJBW7CDBBH6ZWRMQBRDMX","short_pith_number":"pith:R7NYFXJB","canonical_record":{"source":{"id":"2403.09226","kind":"arxiv","version":2},"metadata":{"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.CL","submitted_at":"2024-03-14T09:45:05Z","cross_cats_sorted":[],"title_canon_sha256":"314eba9c5be6ca3f8b19a844880574e3bf1b31d7267c40ac5c11a1b4e2b664a3","abstract_canon_sha256":"028730d70d04b48475146d590ed54a340fb954e06509d63767725d8d9b75fd19"},"schema_version":"1.0"},"canonical_sha256":"8fdb82dd21b7c43084fecda2c8062365ee19d875a74523b455a48e42aa9de65a","source":{"kind":"arxiv","id":"2403.09226","version":2},"source_aliases":[{"alias_kind":"arxiv","alias_value":"2403.09226","created_at":"2026-07-05T09:57:40Z"},{"alias_kind":"arxiv_version","alias_value":"2403.09226v2","created_at":"2026-07-05T09:57:40Z"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.2403.09226","created_at":"2026-07-05T09:57:40Z"},{"alias_kind":"pith_short_12","alias_value":"R7NYFXJBW7CD","created_at":"2026-07-05T09:57:40Z"},{"alias_kind":"pith_short_16","alias_value":"R7NYFXJBW7CDBBH6","created_at":"2026-07-05T09:57:40Z"},{"alias_kind":"pith_short_8","alias_value":"R7NYFXJB","created_at":"2026-07-05T09:57:40Z"}],"events":[{"event_type":"record_created","subject_pith_number":"pith:2024:R7NYFXJBW7CDBBH6ZWRMQBRDMX","target":"record","payload":{"canonical_record":{"source":{"id":"2403.09226","kind":"arxiv","version":2},"metadata":{"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.CL","submitted_at":"2024-03-14T09:45:05Z","cross_cats_sorted":[],"title_canon_sha256":"314eba9c5be6ca3f8b19a844880574e3bf1b31d7267c40ac5c11a1b4e2b664a3","abstract_canon_sha256":"028730d70d04b48475146d590ed54a340fb954e06509d63767725d8d9b75fd19"},"schema_version":"1.0"},"canonical_sha256":"8fdb82dd21b7c43084fecda2c8062365ee19d875a74523b455a48e42aa9de65a","receipt":{"kind":"pith_receipt","key_id":"pith-v1-2026-05","algorithm":"ed25519","signed_at":"2026-07-05T09:57:40.407519Z","signature_b64":"+VkrSaMVf9Fn3AaqYn/wN5LkxH3y5QHadMxhTKLfV1tS9QH5w0k0GQMUc4tdan1LK/xMN5BhV/85Upp3kAqsCw==","signed_message":"canonical_sha256_bytes","builder_version":"pith-number-builder-2026-05-17-v1","receipt_version":"0.3","canonical_sha256":"8fdb82dd21b7c43084fecda2c8062365ee19d875a74523b455a48e42aa9de65a","last_reissued_at":"2026-07-05T09:57:40.407020Z","signature_status":"signed_v1","first_computed_at":"2026-07-05T09:57:40.407020Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"source_kind":"arxiv","source_id":"2403.09226","source_version":2,"attestation_state":"computed"},"signer":{"signer_id":"pith.science","signer_type":"pith_registry","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"created_at":"2026-07-05T09:57:40Z","supersedes":[],"prev_event":null,"signature":{"signature_status":"signed_v1","algorithm":"ed25519","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signature_b64":"MsH3HWf8mayQDUS2kRnfPGJkkDt8CpFdgqrrh8/q7pBbdsn2oIMyIGhXgipATVHvB1NJMnVTLbXAH3fu515QAg==","signed_message":"open_graph_event_sha256_bytes","signed_at":"2026-08-14T08:37:51.400407Z"},"content_sha256":"0b4d9aee718ef01cf2a1edcaee146255c47fec9ada02aec6260f1b46143d29f6","schema_version":"1.0","event_id":"sha256:0b4d9aee718ef01cf2a1edcaee146255c47fec9ada02aec6260f1b46143d29f6"},{"event_type":"graph_snapshot","subject_pith_number":"pith:2024:R7NYFXJBW7CDBBH6ZWRMQBRDMX","target":"graph","payload":{"graph_snapshot":{"paper":{"title":"Retrieval augmented text-to-SQL generation for epidemiological question answering using electronic health records","license":"http://creativecommons.org/licenses/by/4.0/","headline":"","cross_cats":[],"primary_cat":"cs.CL","authors_text":"Angelo Ziletti, Leonardo D'Ambrosi","submitted_at":"2024-03-14T09:45:05Z","abstract_excerpt":"Electronic health records (EHR) and claims data are rich sources of real-world data that reflect patient health status and healthcare utilization. Querying these databases to answer epidemiological questions is challenging due to the intricacy of medical terminology and the need for complex SQL queries. Here, we introduce an end-to-end methodology that combines text-to-SQL generation with retrieval augmented generation (RAG) to answer epidemiological questions using EHR and claims data. We show that our approach, which integrates a medical coding step into the text-to-SQL process, significantl"},"claims":{"count":0,"items":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"source":{"id":"2403.09226","kind":"arxiv","version":2},"verdict":{"id":null,"model_set":{},"created_at":null,"strongest_claim":"","one_line_summary":"","pipeline_version":null,"weakest_assumption":"","pith_extraction_headline":""},"integrity":{"clean":true,"summary":{"advisory":0,"critical":0,"by_detector":{},"informational":0},"endpoint":"/pith/2403.09226/integrity.json","findings":[],"available":true,"detectors_run":[],"snapshot_sha256":"c28c3603d3b5d939e8dc4c7e95fa8dfce3d595e45f758748cecf8e644a296938"},"references":{"count":0,"sample":[],"resolved_work":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57","internal_anchors":0},"formal_canon":{"evidence_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"author_claims":{"count":0,"strong_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"builder_version":"pith-number-builder-2026-05-17-v1"},"verdict_id":null},"signer":{"signer_id":"pith.science","signer_type":"pith_registry","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"created_at":"2026-07-05T09:57:40Z","supersedes":[],"prev_event":null,"signature":{"signature_status":"signed_v1","algorithm":"ed25519","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signature_b64":"tiQS98iLtpfIN88c+n6eMoIYx7xJVYr7U1A5Tj3gYIwLzs6/ibZc7zftN/b/AzWrKpCrDX6tXxWa4KFZhPAWAA==","signed_message":"open_graph_event_sha256_bytes","signed_at":"2026-08-14T08:37:51.400886Z"},"content_sha256":"4d8ed0e1c11cadf8dca7dfae16cd4725c9e18b535f6dbb061754153d01590dc2","schema_version":"1.0","event_id":"sha256:4d8ed0e1c11cadf8dca7dfae16cd4725c9e18b535f6dbb061754153d01590dc2"}],"timestamp_proofs":[],"mirror_hints":[{"mirror_type":"https","name":"Pith Resolver","base_url":"https://pith.science","bundle_url":"https://pith.science/pith/R7NYFXJBW7CDBBH6ZWRMQBRDMX/bundle.json","state_url":"https://pith.science/pith/R7NYFXJBW7CDBBH6ZWRMQBRDMX/state.json","well_known_bundle_url":"https://pith.science/.well-known/pith/R7NYFXJBW7CDBBH6ZWRMQBRDMX/bundle.json","status":"primary"}],"public_keys":[{"key_id":"pith-v1-2026-05","algorithm":"ed25519","format":"raw","public_key_b64":"stVStoiQhXFxp4s2pdzPNoqVNBMojDU/fJ2db5S3CbM=","public_key_hex":"b2d552b68890857171a78b36a5dccf368a953413288c353f7c9d9d6f94b709b3","fingerprint_sha256_b32_first128bits":"RVFV5Z2OI2J3ZUO7ERDEBCYNKS","fingerprint_sha256_hex":"8d4b5ee74e4693bcd1df2446408b0d54","rotates_at":null,"url":"https://pith.science/pith-signing-key.json","notes":"Pith uses this Ed25519 key to sign canonical record SHA-256 digests. Verify with: ed25519_verify(public_key, message=canonical_sha256_bytes, signature=base64decode(signature_b64))."}],"merge_version":"pith-open-graph-merge-v1","built_at":"2026-08-14T08:37:51Z","links":{"resolver":"https://pith.science/pith/R7NYFXJBW7CDBBH6ZWRMQBRDMX","bundle":"https://pith.science/pith/R7NYFXJBW7CDBBH6ZWRMQBRDMX/bundle.json","state":"https://pith.science/pith/R7NYFXJBW7CDBBH6ZWRMQBRDMX/state.json","well_known_bundle":"https://pith.science/.well-known/pith/R7NYFXJBW7CDBBH6ZWRMQBRDMX/bundle.json"},"state":{"state_type":"pith_open_graph_state","state_version":"1.0","pith_number":"pith:2024:R7NYFXJBW7CDBBH6ZWRMQBRDMX","merge_version":"pith-open-graph-merge-v1","event_count":2,"valid_event_count":2,"invalid_event_count":0,"equivocation_count":0,"current":{"canonical_record":{"metadata":{"abstract_canon_sha256":"028730d70d04b48475146d590ed54a340fb954e06509d63767725d8d9b75fd19","cross_cats_sorted":[],"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.CL","submitted_at":"2024-03-14T09:45:05Z","title_canon_sha256":"314eba9c5be6ca3f8b19a844880574e3bf1b31d7267c40ac5c11a1b4e2b664a3"},"schema_version":"1.0","source":{"id":"2403.09226","kind":"arxiv","version":2}},"source_aliases":[{"alias_kind":"arxiv","alias_value":"2403.09226","created_at":"2026-07-05T09:57:40Z"},{"alias_kind":"arxiv_version","alias_value":"2403.09226v2","created_at":"2026-07-05T09:57:40Z"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.2403.09226","created_at":"2026-07-05T09:57:40Z"},{"alias_kind":"pith_short_12","alias_value":"R7NYFXJBW7CD","created_at":"2026-07-05T09:57:40Z"},{"alias_kind":"pith_short_16","alias_value":"R7NYFXJBW7CDBBH6","created_at":"2026-07-05T09:57:40Z"},{"alias_kind":"pith_short_8","alias_value":"R7NYFXJB","created_at":"2026-07-05T09:57:40Z"}],"graph_snapshots":[{"event_id":"sha256:4d8ed0e1c11cadf8dca7dfae16cd4725c9e18b535f6dbb061754153d01590dc2","target":"graph","created_at":"2026-07-05T09:57:40Z","signer":{"key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signer_id":"pith.science","signer_type":"pith_registry"},"payload":{"graph_snapshot":{"author_claims":{"count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57","strong_count":0},"builder_version":"pith-number-builder-2026-05-17-v1","claims":{"count":0,"items":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"formal_canon":{"evidence_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"integrity":{"available":true,"clean":true,"detectors_run":[],"endpoint":"/pith/2403.09226/integrity.json","findings":[],"snapshot_sha256":"c28c3603d3b5d939e8dc4c7e95fa8dfce3d595e45f758748cecf8e644a296938","summary":{"advisory":0,"by_detector":{},"critical":0,"informational":0}},"paper":{"abstract_excerpt":"Electronic health records (EHR) and claims data are rich sources of real-world data that reflect patient health status and healthcare utilization. Querying these databases to answer epidemiological questions is challenging due to the intricacy of medical terminology and the need for complex SQL queries. Here, we introduce an end-to-end methodology that combines text-to-SQL generation with retrieval augmented generation (RAG) to answer epidemiological questions using EHR and claims data. We show that our approach, which integrates a medical coding step into the text-to-SQL process, significantl","authors_text":"Angelo Ziletti, Leonardo D'Ambrosi","cross_cats":[],"headline":"","license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.CL","submitted_at":"2024-03-14T09:45:05Z","title":"Retrieval augmented text-to-SQL generation for epidemiological question answering using electronic health records"},"references":{"count":0,"internal_anchors":0,"resolved_work":0,"sample":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"source":{"id":"2403.09226","kind":"arxiv","version":2},"verdict":{"created_at":null,"id":null,"model_set":{},"one_line_summary":"","pipeline_version":null,"pith_extraction_headline":"","strongest_claim":"","weakest_assumption":""}},"verdict_id":null}}],"author_attestations":[],"timestamp_anchors":[],"storage_attestations":[],"citation_signatures":[],"replication_records":[],"corrections":[],"mirror_hints":[],"record_created":{"event_id":"sha256:0b4d9aee718ef01cf2a1edcaee146255c47fec9ada02aec6260f1b46143d29f6","target":"record","created_at":"2026-07-05T09:57:40Z","signer":{"key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signer_id":"pith.science","signer_type":"pith_registry"},"payload":{"attestation_state":"computed","canonical_record":{"metadata":{"abstract_canon_sha256":"028730d70d04b48475146d590ed54a340fb954e06509d63767725d8d9b75fd19","cross_cats_sorted":[],"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.CL","submitted_at":"2024-03-14T09:45:05Z","title_canon_sha256":"314eba9c5be6ca3f8b19a844880574e3bf1b31d7267c40ac5c11a1b4e2b664a3"},"schema_version":"1.0","source":{"id":"2403.09226","kind":"arxiv","version":2}},"canonical_sha256":"8fdb82dd21b7c43084fecda2c8062365ee19d875a74523b455a48e42aa9de65a","receipt":{"algorithm":"ed25519","builder_version":"pith-number-builder-2026-05-17-v1","canonical_sha256":"8fdb82dd21b7c43084fecda2c8062365ee19d875a74523b455a48e42aa9de65a","first_computed_at":"2026-07-05T09:57:40.407020Z","key_id":"pith-v1-2026-05","kind":"pith_receipt","last_reissued_at":"2026-07-05T09:57:40.407020Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","receipt_version":"0.3","signature_b64":"+VkrSaMVf9Fn3AaqYn/wN5LkxH3y5QHadMxhTKLfV1tS9QH5w0k0GQMUc4tdan1LK/xMN5BhV/85Upp3kAqsCw==","signature_status":"signed_v1","signed_at":"2026-07-05T09:57:40.407519Z","signed_message":"canonical_sha256_bytes"},"source_id":"2403.09226","source_kind":"arxiv","source_version":2}}},"equivocations":[],"invalid_events":[],"applied_event_ids":["sha256:0b4d9aee718ef01cf2a1edcaee146255c47fec9ada02aec6260f1b46143d29f6","sha256:4d8ed0e1c11cadf8dca7dfae16cd4725c9e18b535f6dbb061754153d01590dc2"],"state_sha256":"bdc630cdae8c4660fd47b1f7c1d76662bb79b6501697369a4b7d4f95a3f2b052"},"bundle_signature":{"signature_status":"signed_v1","algorithm":"ed25519","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signature_b64":"pYNEUK83NKMP6J4wlzfOv/4PNC0rwiAi7HviPvHG0Hk/qoIlTB43gORIVxGYly8w+D+OT1LiEnS0ajroolwfBA==","signed_message":"bundle_sha256_bytes","signed_at":"2026-08-14T08:37:51.405279Z","bundle_sha256":"fdb367323ddae909ee44e11eef057421e6753656fd825592e73ed2f71dd69b31"}}