{"kind":"document","document":{"doc_id":"1532","law_type":"amending","cms_id":"2020-0040","year":"2020","number":"40","title":"Mental Health (Amendment) Law, 2020 (Law 40 of 2020)","subject":null,"parent_doc_id":null,"status":"in_force","akn_work_iri":"\/akn\/ky\/act\/amending\/2020\/40","created_at":"2026-06-16 03:47:53.071339+00","updated_at":"2026-07-18 00:00:00+00","is_stub":"f","stub_kind":null,"stub_provenance":"{}"},"expressions":[{"expr_id":"1532","label":"Mental Health (Amendment) Law, 2020 (Law 40 of 2020)","is_as_enacted":"f","commenced_on":null,"superseded_on":null,"valid_from":null,"valid_to":null,"is_current":"t","akn_expr_iri":"\/akn\/ky\/act\/amending\/2020\/40\/eng@2020-01-01"}],"provenance":{"files":[{"file_id":"6373","expr_id":"1532","kind":"akn_xml","filename":"2020-0040.akn.xml","source_url":null,"storage_path":"\/Users\/q\/kyleg-data\/working\/AMENDING\/2020\/2020-0040\/2020-0040.akn.xml","content_md5":"3a20be12f8460ce60af253967da95352","byte_size":"4919","http_last_modified":null,"fetched_at":"2026-07-18 12:34:38.353479+00"},{"file_id":"3063","expr_id":"1532","kind":"pristine_pdf","filename":"2020-0040.pdf","source_url":"\/cms\/images\/LEGISLATION\/AMENDING\/2020\/2020-0040\/2020-0040.pdf","storage_path":"\/Users\/q\/kyleg-data\/pristine\/AMENDING\/2020\/2020-0040\/2020-0040.pdf","content_md5":"5938594049a7ce98f1e5d18a0d2a0d6c","byte_size":"419214","http_last_modified":null,"fetched_at":"2026-06-16 04:01:10.829314+00"},{"file_id":"3064","expr_id":"1532","kind":"working_pdf","filename":"2020-0040.pdf","source_url":"\/cms\/images\/LEGISLATION\/AMENDING\/2020\/2020-0040\/2020-0040.pdf","storage_path":"\/Users\/q\/kyleg-data\/working\/AMENDING\/2020\/2020-0040\/2020-0040.pdf","content_md5":"5938594049a7ce98f1e5d18a0d2a0d6c","byte_size":"419214","http_last_modified":null,"fetched_at":"2026-06-16 04:01:10.829314+00"}],"paragraph_count":0,"latest_history":{"history_id":"270043","change_type":"UPDATE","changed_at":"2026-07-18 00:00:00+00","change_source":"MIGRATION_027","change_reason":"CMS-id-collision audit 2026-07-18: title corrected from the document's own PDF and\/or the (law_type, cms_id)-keyed official legislation.gov.ky listing."}},"quality":[{"expr_id":"1532","quality_state":"known_issue","quality_score":"63","needs_human_review":"t","deterministic_categories":"{commencement_metadata_problem,duplicate_text,page_header_footer_noise,title_mismatch}","llm_categories":"{}","repair_actions":"{collapse_duplicate_text,strip_page_furniture,verify_commencement_metadata,verify_title_metadata}","finding_severity_counts":"{\"low\": 3, \"high\": 1}","finding_summary":"stored title is not visible in the opening extracted text; repeated line furniture detected: law 40 of 2020 x6; mental health amendment law 2020 x3","assessed_at":"2026-06-22 15:29:46.433415+00"}],"related_links":[],"relationships":[{"relationship_id":"amends:9681","subject_doc_id":"1532","subject_law_type":"amending","subject_cms_id":"2020-0040","subject_title":"Mental Health (Amendment) Law, 2020 (Law 40 of 2020)","relation":"amends","object_doc_id":"544","object_law_type":"principal","object_cms_id":"2013-0010","object_title":"Mental Health Act","target_system":null,"target_kind":null,"target_id":null,"target_title":null,"target_url":null,"effective_date":null,"source_table":"legislation_amendments","source_id":"9681","confidence":"0.8600","link_status":"confirmed","confidence_method":"amending_instrument","note":"Mental Health (Amendment) Law, 2020 (Law 40 of 2020)","metadata":"{\"source\": \"amending_instrument\", \"in_force\": true, \"amendment_id\": 9681, \"amends_label\": \"Act 40\/2020\", \"consolidated\": false, \"unconsolidated_in_force\": true}"}]}