{"id":"08bbffd1-82c6-432d-b95b-5693e3b5ef1c","type":"DATASET","name":"RAKUS izrakstīšanās datu atskaite","slug":"rakus-checkout-report","description":"RAKUS check-out report: Event ID Diagnosis code Diagnosis name Age in years Age in days, months Gender, (S, V) Laboratory result Diagnostic result Exit date .","free_access_class":"FREE_NO_AUTH","auth_type":"NONE","homepage_url":null,"docs_url":null,"repo_url":"https://dagr.gov.lv/public/discharge_report_statistics_rakus?filename=discharge_report_statistics_rakus.csv","status":"ACTIVE","verification_state":"VERIFIED","tags":["health","vital-statistics"],"logo_url":"https://www.google.com/s2/favicons?sz=64&domain=dagr.gov.lv","primary_source_url":"https://dagr.gov.lv/public/discharge_report_statistics_rakus?filename=discharge_report_statistics_rakus.csv","extraction_confidence":"0.16","created_at":"2026-06-24T18:59:25.446Z","updated_at":"2026-12-01T07:44:15.475Z","last_verified_at":"2026-12-01T07:44:15.475Z","deprecated_at":null,"ranking_score":55,"last_ranked_at":"2026-11-23T17:10:35.899Z","last_seen_at":null,"last_validated_at":null,"last_uptime_at":"2026-11-25T04:09:12.817Z","popularity_score":"0.0000","maintenance_score":"0.6000","institution_id":null,"institution_type":null,"country_code":"LV","official_confidence":null,"proof_summary":null,"source_seed_url":null,"is_public_sector":true,"published_at":"2026-06-24T18:59:25.446Z","geographic_scope":"NATIONAL","name_en":"RAKUS discharge report","description_en":"This dataset provides discharge (checkout) records from RAKUS, a Latvian hospital, detailing individual patient events. Each record includes an event identifier, diagnosis code and diagnosis name, patient age expressed in years as well as days and months, gender, laboratory results, diagnostic findings, and the discharge (exit) date. The data is structured around clinical events rather than aggregated statistics, making it suitable for tracking diagnosis patterns, laboratory outcomes, and patient demographics associated with hospital discharges. It falls under national health and vital-statistics data for Latvia.","native_lang":"lv","access_level":"direct","formats":["CSV"],"capability_tier":"sample","trust_score":33.40384615384615,"merged_into_entry_id":null,"identity_key":"DATASET|https://dagr.gov.lv/public/discharge_report_statistics_rakus?filename=discharge_report_statistics_rakus.csv|rakus izrakstīšanās datu atskaite","upstream_ref":null,"content_changed_at":"2026-11-30T15:54:11.469Z","upstream_gone_checks":0,"upstream_gone_since":null,"description_en_local_failures":0,"institution":null,"title_qualifier":null,"access":{"level":"direct","primary":{"kind":"download","label":"Download CSV","method":"GET","url":"https://dagr.gov.lv/public/discharge_report_statistics_rakus?filename=discharge_report_statistics_rakus.csv","format":"CSV","source":"distribution","runnable":true},"actions":[{"kind":"download","label":"Download CSV","method":"GET","url":"https://dagr.gov.lv/public/discharge_report_statistics_rakus?filename=discharge_report_statistics_rakus.csv","format":"CSV","source":"distribution","runnable":true}],"formats":["CSV"]},"maturity":{"entry_id":"08bbffd1-82c6-432d-b95b-5693e3b5ef1c","granularity":"entry","granularity_label":"One unit = one catalog entry. A PROXY for the SCOPE.md §4 ladder, which governs source families, not entries: a family with 400 entries moves this reading 400 times as much as a family with one. Never compare or combine with the source_family reading.","level":"profiled","level_index":3,"level_label":"Profiled","meaning":"Schema, dimensions and licence understood","counts_as_coverage":false,"blocked_by":null,"rungs":[{"level":"discovered","level_index":1,"label":"Discovered","meaning":"Source and metadata recorded","evidence":"membership of the named population the ladder is taken over","counts_as_coverage":false,"met":true,"reached":true,"criterion":"TRUE"},{"level":"verified","level_index":2,"label":"Verified","meaning":"Access tested successfully","evidence":"entries.verification_state = 'VERIFIED'","counts_as_coverage":false,"met":true,"reached":true,"criterion":"entries.verification_state = 'VERIFIED'"},{"level":"profiled","level_index":3,"label":"Profiled","meaning":"Schema, dimensions and licence understood","evidence":"a data profile with at least one field (entry_data_profiles.field_count > 0)","counts_as_coverage":false,"met":true,"reached":true,"criterion":"EXISTS (SELECT 1 FROM entry_data_profiles p WHERE p.entry_id = entries.id AND COALESCE(p.field_count, 0) > 0)"},{"level":"executable","level_index":4,"label":"Executable","meaning":"Queries run through Commodity","evidence":"entries.capability_tier = 'live' — today's proxy for \"queryable through us\"","counts_as_coverage":true,"met":false,"reached":false,"criterion":"entries.capability_tier = 'live'"},{"level":"joinable","level_index":5,"label":"Joinable","meaning":"Canonical identifiers and concepts mapped","evidence":"a field link to a canonical identifier whose sampled VALUES match its format, on a field the current profile still has (entry_data_profiles.fields names it, field_count > 0)","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM entry_field_links efl JOIN entry_data_profiles jp ON jp.entry_id = efl.entry_id WHERE efl.entry_id = entries.id AND efl.identifier_id IS NOT NULL AND efl.value_status = 'match' AND COALESCE(jp.field_count, 0) > 0 AND COALESCE(jp.fields @> jsonb_build_array(jsonb_build_object('name', efl.field_name)), false))"},{"level":"reproducible","level_index":6,"label":"Reproducible","meaning":"Snapshots and transformation evidence retained","evidence":"at least one retained evidence manifest (migration 078) that names at least one column, every one of them a field of the current profile — except, on a grouped citation, the computed columns 'count' and '<fn>_<field>'","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM evidence_manifests em JOIN entry_data_profiles rp ON rp.entry_id = em.entry_id WHERE em.entry_id = entries.id AND COALESCE(rp.field_count, 0) > 0 AND jsonb_array_length(em.columns) > 0 AND (CASE WHEN em.query_params ? 'aggregate' THEN em.columns - 'count' - (COALESCE(em.query_params->'aggregate'->>'fn', '') || '_' || COALESCE(em.query_params->'aggregate'->>'field', '')) ELSE em.columns END) <@ COALESCE((SELECT jsonb_agg(f->'name') FROM jsonb_array_elements(CASE WHEN jsonb_typeof(rp.fields) = 'array' THEN rp.fields END) f), '[]'::jsonb))"},{"level":"guaranteed","level_index":7,"label":"Guaranteed","meaning":"Monitored against an operational reliability target","evidence":"an active reliability target with a named monitor (migration 096)","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM entry_reliability_targets rt WHERE rt.entry_id = entries.id AND rt.is_active = true)"}],"officialness":{"basis":"catalog_inherited","label":"Inherited from the upstream catalog: this item came from a trusted official government catalog, and that provenance — not per-item proof — is the warrant. Its own proof score is below 80 or it matched no registered institution (apps/worker/src/connectors/catalog/qualify-store.ts).","proof_confidence":null,"proven_threshold":80,"institution_id":null,"definition":"CASE WHEN COALESCE(entries.is_public_sector, false) IS NOT TRUE THEN 'not_official' WHEN COALESCE(entries.official_confidence, 0) >= 80 AND entries.institution_id IS NOT NULL THEN CASE WHEN EXISTS (SELECT 1 FROM api_candidates oc WHERE oc.merged_into_entry_id = entries.id AND oc.official_confidence >= 80 AND oc.proposed_institution_id IS NOT NULL) THEN 'per_item_proven' ELSE 'integrator_asserted' END ELSE 'catalog_inherited' END"},"source_family":{"key":"dagr.gov.lv","label":"One unit = one source family, approximated by the serving host of the entry's primary source URL (e.g. bdl.stat.gov.pl). A COMPUTED stand-in for the curated families of SCOPE.md §5, which no table holds yet. A family sits at the highest level any of its entries has reached, because a family is integrated to the depth of its deepest working integration. Never compare or combine with the entry reading."},"generated_at":"2026-12-01T07:51:58.494Z"},"update_schedule":{"last_update":null,"declared_frequency":null,"next_update":null,"next_update_basis":null,"next_update_source_url":null,"predicted":false,"next_update_tentative":false,"confidence":null,"overdue":false,"overdue_since":null,"method":"The source publishes no modification date, so no next update can be computed."},"legal_basis":{"source":"data.europa.eu High-Value Dataset records (dcatap:applicableLegislation), matched to this entry by URL","legislation":[],"statements":[],"record_publishers":[],"harvested_at":null},"distribution_role":null,"publisher_organisation":null,"api_details":null,"dataset_details":{"id":"88c8d03a-4611-4d45-adaf-02784d3e30f9","entry_id":"08bbffd1-82c6-432d-b95b-5693e3b5ef1c","upstream_issued":null,"upstream_modified":null,"themes":[],"update_frequency":null,"temporal_start":null,"temporal_end":null,"spatial_coverage":null,"landing_page":null,"license_id":null,"license_raw":null,"has_documentation":false,"has_data_dictionary":false,"has_versioning":false,"source_portal":null,"source_portal_url":null,"created_at":"2026-07-20T14:23:46.730Z","updated_at":"2026-07-20T14:23:46.730Z","publisher":null,"publisher_url":null,"record_origin":null,"record_source_catalogue":null,"record_source_url":null,"publisher_register_scheme":null,"publisher_register_id":null,"distributions":[{"id":"d3304076-7711-43fb-bfd1-5d204a82003b","dataset_details_id":"88c8d03a-4611-4d45-adaf-02784d3e30f9","title":"discharge_report_statistics_rakus","description":null,"access_url":"https://dagr.gov.lv/public/discharge_report_statistics_rakus?filename=discharge_report_statistics_rakus.csv","download_url":"https://dagr.gov.lv/public/discharge_report_statistics_rakus?filename=discharge_report_statistics_rakus.csv","media_type":"text/csv","format":"csv","byte_size":null,"license_id":null,"license_raw":null,"last_checked_at":"2026-12-01T07:44:14.292Z","is_available":true,"last_http_status":200,"created_at":"2026-07-20T14:23:47.150Z","updated_at":"2026-12-01T07:44:14.292Z","last_content_type":"text/csv; charset=UTF-8"}],"license":null},"license":null,"reuse":{"license_id":null,"license_name":null,"license_url":null,"commercial_use":{"status":"unknown","value":null},"redistribution":{"status":"unknown","value":null},"attribution_required":{"status":"unknown","value":null},"share_alike":{"status":"unknown","value":null},"personal_data_warning":{"status":"unknown","value":null},"cache_and_mirror":{"status":"unknown","value":null},"derivatives":{"status":"unknown","value":null},"undetermined":["commercial_use","redistribution","attribution_required","share_alike","personal_data_warning","cache_and_mirror","derivatives"],"basis":"unverified","confidence":0.1,"confidence_tier":"low","source_text":null,"source_url":null,"reviewed_at":null},"license_raw":null,"licence":{"licence_id":null,"status":"none_stated","basis":"no_licence_recorded","terms":[],"redistribution":"unknown","commercial":"unknown","licence_url":null,"licence_raw":null,"source_url":null,"notice":"licence: none stated — redistribution: not stated; commercial reuse: not stated"},"latest_check":{"id":"0d3f7f72-a180-4fa7-9164-6d7dfec5df1a","entry_id":"08bbffd1-82c6-432d-b95b-5693e3b5ef1c","status":"VERIFIED","last_checked_at":"2026-12-01T07:44:15.228Z","p50_latency_ms":2614,"p95_latency_ms":null,"last_error":null,"consecutive_failures":0,"created_at":"2026-06-24T18:59:53.109Z","updated_at":"2026-12-01T07:44:15.228Z","consecutive_successes":496,"probe_url":"https://dagr.gov.lv/public/discharge_report_statistics_rakus?filename=discharge_report_statistics_rakus.csv","probe_method":"GET","probe_http_status":200,"probe_content_type":"text/csv; charset=UTF-8","probe_succeeded_at":"2026-12-01T07:44:15.228Z"},"data_profile":{"id":"438c535f-298a-4491-8289-fc7ca01cfb92","entry_id":"08bbffd1-82c6-432d-b95b-5693e3b5ef1c","profile_source":"distribution","profile_kind":"dataset","dataset_id":null,"fields":[{"name":"Id","type":"int","label":null,"description":null,"description_en":"Unique identifier for the checkout/event record."},{"name":"DiagnoseCode","type":"text","label":null,"description":null,"description_en":"Diagnosis code assigned to the patient case."},{"name":"DiagnoseName","type":"text","label":null,"description":null,"description_en":"Name or description of the diagnosis."},{"name":"AgeInYears","type":"int","label":null,"description":null,"description_en":"Patient's age in whole years."},{"name":"AgeInDaysMonth","type":"text","label":null,"description":null,"description_en":"Patient's age expressed in days and months for infants."},{"name":"Sex","type":"text","label":null,"description":null,"description_en":"Patient's gender, coded as S (male) or V (female)."},{"name":"LaboratoryResults","type":"text","label":null,"description":null,"description_en":"Laboratory test results associated with the case."},{"name":"VisualDiagnosticResults","type":"text","label":null,"description":null,"description_en":"Results from visual or imaging diagnostic examinations."},{"name":"Discharged","type":"datetime","label":null,"description":null,"description_en":"Date and time the patient was discharged."}],"field_count":9,"sample_records":[{"Id":"313395","Sex":"V","AgeInYears":"53","Discharged":"2026-03-17 18:08","DiagnoseCode":"C50","DiagnoseName":"Krūts ļaundabīgs audzējs","AgeInDaysMonth":"18 d 8 m","LaboratoryResults":"[]","VisualDiagnosticResults":""},{"Id":"325126","Sex":"V","AgeInYears":"61","Discharged":"2019-05-29 11:45","DiagnoseCode":"C18","DiagnoseName":"Resnās zarnas ļaundabīgs audzējs","AgeInDaysMonth":"8 d 5 m","LaboratoryResults":"[]","VisualDiagnosticResults":""},{"Id":"155320","Sex":"S","AgeInYears":"54","Discharged":"2024-02-02 16:07","DiagnoseCode":"N201","DiagnoseName":"Urīnvada akmens","AgeInDaysMonth":"11 d 5 m","LaboratoryResults":"[]","VisualDiagnosticResults":""},{"Id":"3372","Sex":"S","AgeInYears":"24","Discharged":"2026-04-21 08:11","DiagnoseCode":"J18","DiagnoseName":"Neprecizēta mikroorganisma ierosināta pneimonija","AgeInDaysMonth":"8685 d 285 m","LaboratoryResults":"[]","VisualDiagnosticResults":""},{"Id":"422199","Sex":"S","AgeInYears":"67","Discharged":"2026-09-09 08:52","DiagnoseCode":"I64","DiagnoseName":"Insults, neprecizējot, vai tas ir asinsizplūdums vai infarkts","AgeInDaysMonth":"30 d 8 m","LaboratoryResults":"[]","VisualDiagnosticResults":""}],"record_count":null,"data_size_bytes":null,"dataset_count":null,"query_examples":[{"url":"https://dagr.gov.lv/public/discharge_report_statistics_rakus?filename=discharge_report_statistics_rakus.csv","curl":"curl -sL 'https://dagr.gov.lv/public/discharge_report_statistics_rakus?filename=discharge_report_statistics_rakus.csv' -o data.csv","label":"Download distribution","method":"GET","description":"Full csv file download — the schema shown was inferred from the file's first records."},{"url":"https://dagr.gov.lv/public/discharge_report_statistics_rakus?filename=discharge_report_statistics_rakus.csv","curl":"curl -sL 'https://dagr.gov.lv/public/discharge_report_statistics_rakus?filename=discharge_report_statistics_rakus.csv' -H 'Range: bytes=0-4095'","label":"Preview first bytes","method":"GET","description":"First 4 KB of the file (servers honoring Range requests)."}],"status":"ok","error_message":null,"profiled_at":"2026-11-29T11:45:58.825Z","run_id":"7753e227-db75-4bb4-b74a-0bfac1bf1e82","created_at":"2026-07-20T14:23:46.593Z","updated_at":"2026-11-29T11:45:59.004Z","license_raw":null,"license_id":null,"consecutive_failure_count":0,"last_error_at":null,"last_error_message":null,"fields_with_example_values":8,"example_values_counted_at":"2026-11-29T11:45:58.825Z","ods_features":null,"previewable":true,"declared_periods":null,"declared_areas":null,"declared_population":null,"personal_data":{"status":"none","basis":"no_person_column_cited","grain":"none","allowed":true,"columns":{"direct_identifiers":[],"family_names":[],"given_names":[],"attributes":[],"unresolved_names":[],"measures":[],"entity_identifiers":[]},"publication":null,"publication_evidence":null,"notice":"personal data: no cited column names a natural person (the cited columns are all this reads)"}},"datasets":[],"limits":[],"manifest":{"answer_sha256":"2dd13328935dcacce7c99b9ee5111bda62ab139cd80d94d762474897f71d5c11","answer_sha256_rule":"sha256 (hex, UTF-8) of JSON.stringify(this body) after deleting the keys listed in manifest.stamped_keys from manifest, and deleting manifest itself if it is then empty. The hash was computed before the stamp existed, so no field of the stamp is inside it.","stamped_keys":["answer_sha256","answer_sha256_rule","stamped_keys","row_count","row_count_basis","live","live_basis","created_at","created_at_basis","durable_citation"],"row_count":25,"row_count_basis":"Objects that are elements of a JSON array anywhere in this body, excluding manifest. Not a claim about which collection is the answer. Largest single collection: data_profile.fields[] (9 rows).","live":false,"live_basis":"This body was replayed from the worker edge cache (x-edge-cache: hit); the bytes, and therefore answer_sha256, are those of the execution that filled the cache.","created_at":"2026-12-01T07:54:31.023Z","created_at_basis":"When this response body was assembled, deliberately OUTSIDE the hashed bytes so the same answer hashes identically on every request. Not the upstream read time — that is provenance[].retrieved_at. A zone-cached replay carries the assembly time, not your receipt time.","durable_citation":"This manifest is produced at response time and is NOT stored. A durable, replayable citation is persisted only on an explicit cite: GET /api/v1/entries/{id-or-slug}/evidence or the MCP cite_query tool for one entry, and POST /api/v1/answer/cite for a domain answer, which stores this same answer_sha256 with the sources the answer consulted."}}