-- =============================================================================
-- fix_mystateconnews_review_nov16.sql — mystateCONnews review of 16 Nov 2026.
--
-- Masthead "No. 5" (notice cards "Edition No. 5"); the ticker shows the
-- latest notices (state, city, company, notice number, publish date);
-- "What Is a CON?" full width with the three boxes side by side under it;
-- states with no CON program show "Currently no certificate of need
-- program", the last searched date and their sources; How It Works step 5
-- (notarized affidavit, quoted with the publication); the notarization fee
-- noted in the Submit flow; a public "Request an Affidavit" page and form.
--
-- Edit-safe: every UPDATE only touches a row that still holds exactly what
-- the previous release wrote (MD5 of the stored JSON or the exact text).
-- New rows (the affidavit form and page, new fields, the notarized
-- affidavit steps) are inserted by seed_mystateconnews_site.sql first.
--
-- GENERATED from the site content by a script. Idempotent.
-- =============================================================================

SET NAMES utf8mb4;
SET @site_id := (SELECT id FROM dim_web_sites WHERE public_site_key = 'YPIYmVgmODxVTxgcSNwb1yAKdCtFe1M9kGT5YnTxEkL3xxs9' LIMIT 1);


-- Site theme (banners, masthead tagline, footer, notice-page labels, state page template)
UPDATE dim_web_sites SET theme_json = '{"siteUrl":"https://mystateconnews.com","defaultTitle":"mystateCONnews, Certificate of Need Legal Publication","bannerHtml":"","bannerBySlug":{"ops-login":"<strong>Operations:</strong> Submissions, requests and notices are managed in the Aggie workspace."},"logoUrl":"","mastheadSlugs":["home"],"mastheadTagline":"The nationwide digital newspaper of record for legal advertisement of certificate of need notices.","mastheadTaglineByState":{},"editionEpoch":"2026-11-12","mastheadIssueLabel":"No. {n}","volumeLabel":"Edition No. {n}","mastheadCenterLabel":"Certificate of Need Legal Publication","mastheadEditionLabel":"Daily Edition","mastheadEditionByState":{},"stateEditionLabel":"{name} Statewide Edition","stateMastheadTagline":"","stateTickerText":"{name} Certificate of Need notices, numbered and timestamped as they are published.","stateCssScope":"index","tickerLabel":"Latest Notices","tickerText":"Certificate of Need legal notices for every state and territory, numbered and timestamped as they are published.","navCtaLabel":"Submit a Notice","navCtaHref":"/submit","statePickerHref":"/states","statePickerAllLabel":"All states & territories","stateSearchPlaceholder":"Search states and territories…","statesCollection":"states","footerBrandText":"The nationwide digital newspaper of record for legal advertisement of certificate of need notices.","footerDisclaimerHtml":"Notices are published as submitted by the applicant after review by our team. Certificate of Need publication requirements vary by state; applicants are responsible for confirming the requirements that apply to their filing.","footerBottomLeft":"© 2026 mystateCONnews","footerBottomRight":"Certificate of Need legal notices · Every state and territory","minimalChromeSlugs":["customer-login","ops-login"],"minimalFooterBySlug":{"customer-login":"<a href=\\"/\\">mystateCONnews</a> | Customer Portal","ops-login":"<a href=\\"/\\">mystateCONnews</a> | Operations Portal"},"noticeDetail":{"breadcrumbHome":"Home","breadcrumbDirectory":"Search for CONs","sampleBanner":"SAMPLE NOTICE, PROTOTYPE ONLY, This is not a real published CON notice","publishedLabel":"Published","scheduledLabel":"Scheduled","organizationLabel":"Organization","stateLabel":"State","countyLabel":"County","zipLabel":"ZIP Code","facilityLabel":"Facility Type","projectTypeLabel":"Project Type","publicationDateLabel":"Publication Date","scheduledDateLabel":"Scheduled Publication Date","statusLabel":"Status","noticeTextHeading":"Notice Text","affidavitBadge":"SAMPLE, NOT LEGALLY VALID","affidavitHeading":"Affidavit of Publication","affidavitHtml":"A sample affidavit of publication record is available for download. This document is <strong>not legally valid</strong>, it is a demonstration of the proposed affidavit format only.","affidavitButton":"Download Sample Affidavit","affidavitAlert":"Sample affidavit download, Prototype only. No real affidavit has been issued. This is not a legally valid document.","affidavitLabel":"Affidavit","affidavitStatusDefault":"Sample Only","affidavitStatusReal":"After final run","affidavitRealHtml":"A signed affidavit of publication is issued after this notice''s final publication run.","affidavitRequestLabel":"Request the Affidavit","affidavitRequestHref":"/affidavit-request","noticeNumberLabel":"Notice No.","runDatesLabel":"Publication Runs","statusCardHeading":"Notice Status","submitCardHeading":"Submit Your Own Notice","submitCardText":"Need to publish a Certificate of Need notice? Start your submission today.","submitCardLabel":"Start Your Notice","submitCardHref":"/submit","disclaimerHeading":"About This Notice","disclaimerText":"This is a sample notice in a prototype system. No real CON notice has been published. This notice is not legally valid for any regulatory purpose. Verify all requirements with your attorney and SCDHEC before filing a Certificate of Need application.","disclaimerTextReal":"This notice is published as submitted by the applicant. Questions about the application should be directed to the applicant or the state agency reviewing it.","timestampLabel":"Published (timestamp)","editionLabel":"Edition","moreHeading":"More Notices","moreLabel":"Back to Search for CONs"},"stateTemplate":{"open":[{"id":"st-con","type":"flatList","children":[],"props":{"variant":"state-con","look":"broadsheet","tone":"alt","collectionKey":"states","stateCode":"{code}","eyebrow":"{name} Regulations","heading":"Certificate of Need in {name}","description":"What {name} requires, and what its rules say about the public notice.","labels":{"status":{"none":"Currently no certificate of need program"},"lastSearched":"Last searched","sources":"Sources"}}},{"id":"st-notices","type":"flatList","children":[],"props":{"variant":"state-notices","look":"broadsheet","ruleBefore":"thick","collectionKey":"notices","stateCode":"{code}","eyebrow":"{name} Statewide Edition","heading":"{name} Certificate of Need Notices","description":"Every notice published for {name}, newest first, with its notice number and publication timestamp.","emptyText":"No notices have been published for {name} yet. Submit the first one.","ctaLabel":"Submit a {name} Notice","ctaHref":"/submit?state={slug}","ctaIcon":"pen"}}],"soon":[{"id":"st-con","type":"flatList","children":[],"props":{"variant":"state-con","look":"broadsheet","tone":"alt","collectionKey":"states","stateCode":"{code}","eyebrow":"{name} Regulations","heading":"Certificate of Need in {name}","description":"What {name} requires, and what its rules say about the public notice.","labels":{"status":{"none":"Currently no certificate of need program"},"lastSearched":"Last searched","sources":"Sources"}}},{"id":"st-notices","type":"flatList","children":[],"props":{"variant":"state-notices","look":"broadsheet","ruleBefore":"thick","collectionKey":"notices","stateCode":"{code}","eyebrow":"{name} Statewide Edition","heading":"{name} Certificate of Need Notices","description":"Every notice published for {name}, newest first, with its notice number and publication timestamp.","emptyText":"No notices have been published for {name} yet. Submit the first one.","ctaLabel":"Submit a {name} Notice","ctaHref":"/submit?state={slug}","ctaIcon":"pen"}}]},"tickerSource":"notices","tickerLimit":10,"tickerItemTemplate":"{state} · {city} · {company} · Notice No. {number} · {date}","tickerSeparator":"     |     "}'
WHERE id = @site_id AND MD5(theme_json) = '851ffbc1f1ca4a0fd77c74dc3889ee0e';

-- ── Collection entries ──
UPDATE fact_web_entries SET title = 'Texas', data_json = '{"code":"tx","status":"open","subtitle":"","href":"","linkLabel":"","conStatus":"none","conScope":"Texas has had no Certificate of Need program since September 1, 1985, when the Texas Health Facilities Commission and the certificate of need provisions it administered (article 4418h) expired. Since then Texas law has not required health facilities to obtain a certificate of need, and no state agency issues them.","noticeRule":"","noticeCitation":"","noticeUrl":"","noticeBy":"","conAgency":"","conAgencyUrl":"","conStatute":"","conStatuteUrl":"","conSources":"https://www.texasattorneygeneral.gov/sites/default/files/opinion-files/opinion/1987/jm0754.pdf\\nhttps://sunset.texas.gov/public/uploads/files/reports/Health%20Facilities%20Commission%20%20July%201984.PDF\\nhttps://www.ajmc.com/journals/issue/2009/2009-10-vol15-n10/ajmc_09oct_hellinger_737to744/\\nhttps://ciceroinstitute.org/research/2025-playbook-for-certificate-of-need-repeal/","conConfidence":"primary","conNotes":"Confirmed 16 Nov 2026 from Texas Attorney General Opinion JM-754 (1987), which says the CON provisions expired on September 1, 1985 and no agency has authority to issue certificates of need. Some statutes (e.g. Insurance Code 843.054) still mention certificates of need in passing.","conReviewed":"2026-11-16"}', status = 'published'
WHERE site_id = @site_id AND slug = 'texas' AND status = 'published'
  AND collection_id = (SELECT id FROM dim_web_collections WHERE site_id = @site_id AND collection_key = 'states')
  AND MD5(data_json) = '09cc68cf622ff06641a4f1f62e5828c2' AND CONVERT(title USING utf8mb4) = CONVERT('Texas' USING utf8mb4);
UPDATE fact_web_entries SET title = 'LarCare Inc., Home Health Agency', data_json = '{"city":"Chester","noticeNumber":"00001","isSample":false,"organization":"LarCare Inc.","stateCode":"sc","stateName":"South Carolina","county":"Chester County","countyKey":"chester","zip":"29706","facilityType":"Home Health Agency","facilityShort":"Home Health","facilityKey":"home-health","projectType":"CON Application, New Home Health Agency","status":"published","publicationDate":"2026-11-12","runDates":"November 12, 13 and 14, 2026 (3 runs)","affidavitStatus":"Issued after the final run","summary":"Establish a Home Health Agency in Chester County providing skilled nursing and home health aide services. Estimated project capital cost: $47,000.","noticeText":"<strong>PUBLIC NOTICE — CERTIFICATE OF NEED APPLICATION</strong><br><br>LarCare INC. hereby gives public notice that it is applying to the South Carolina Department of Public Health for a Certificate of Need to establish a Home Health Agency with an administrative office at 178 Columbia Street, Chester, SC 29706. The proposed agency will provide skilled nursing and home health aide services to patients in their homes in Chester County, South Carolina. The estimated project capital cost is $47,000."}', status = 'published'
WHERE site_id = @site_id AND slug = '00001-larcare-home-health-aide-services' AND status = 'published'
  AND collection_id = (SELECT id FROM dim_web_collections WHERE site_id = @site_id AND collection_key = 'notices')
  AND MD5(data_json) = '11a07f5876d5071b08b6b28a1c0feebb' AND CONVERT(title USING utf8mb4) = CONVERT('LarCare Inc., Home Health Agency' USING utf8mb4);

-- ── Navigation ──

-- ── Pages ──
-- Home (/)
UPDATE dim_web_pages SET title = 'Home', layout_json = '{"version":1,"blocks":[{"id":"home-hero","type":"hero","props":{"variant":"front","kicker":"Certificate of Need Legal Notices","heading":"Get Your Certificate of Need Notice","headingAccent":"Published Fast & Affordable.","subheading":"A daily digital edition for every state and territory. Every notice is numbered and timestamped when it is published.","ctaLabel":"Submit a Notice","ctaHref":"/submit","ctaIcon":"pen","secondaryLabel":"Search for CONs","secondaryHref":"/directory","secondaryIcon":"search"},"children":[]},{"id":"home-front","type":"columns","props":{"columnCount":1,"wrap":"front","className":"front-intro"},"children":[{"id":"home-con-text","type":"richText","props":{"column":1,"html":"<div class=\\"col-label\\"><svg width=\\"18\\" height=\\"18\\" viewBox=\\"0 0 24 24\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-width=\\"2\\" aria-hidden=\\"true\\"><path d=\\"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z\\"/><path d=\\"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z\\"/></svg>Understanding CON</div><h3 class=\\"front-headline\\">What Is a Certificate of Need?</h3><p class=\\"con-body-text\\">A <strong>Certificate of Need (CON)</strong> is an approval many states require before something new is built or a new service is added, from a hospital wing to a pickleball facility.</p><p class=\\"con-body-text\\">The application is announced in a public notice first, so the community can weigh in before the state decides.</p>"},"children":[]},{"id":"home-con-button","type":"button","props":{"column":1,"label":"How It Works","href":"/how-it-works","variant":"primary","icon":"arrow","marginTop":"12"},"children":[]}]},{"id":"home-boxes","type":"columns","props":{"columnCount":3,"wrap":"front","className":"front-boxes"},"children":[{"id":"home-state-picker","type":"flatList","props":{"column":1,"variant":"state-picker","collectionKey":"states","heading":"Select Your State","description":"Open your state''s daily edition","placeholder":"Select a state or territory","goLabel":"Go to State","soonGroupLabel":"Coming Soon","openSuffix":" (Open)","groupLabels":{"full":"States with CON programs","limited":"Limited CON programs","unknown":"Research in progress","none":"No CON program"},"defaultNoteHtml":"Every state and territory has its own edition, with its own rules.","openNoteTemplate":"Open the <strong>{name}</strong> edition for its rules and notices.","soonNoteTemplate":"Open the <strong>{name}</strong> edition for its rules and notices.","pickFirstMessage":"Please select a state first."},"children":[]},{"id":"home-con-card-1","type":"pillarGrid","props":{"column":2,"variant":"stack","collectionKey":"con-highlights","offset":"0","limit":"1"},"children":[]},{"id":"home-con-card-2","type":"pillarGrid","props":{"column":3,"variant":"stack","collectionKey":"con-highlights","offset":"1","limit":"1"},"children":[]}]},{"id":"home-process","type":"numberedGrid","props":{"look":"broadsheet","tone":"alt","ruleBefore":"thick","eyebrow":"Process","heading":"How CON Publication Works","description":"From submission to notarized affidavit in five steps.","collectionKey":"process-steps"},"children":[]},{"id":"home-recent-notices","type":"flatList","props":{"variant":"recent","look":"broadsheet","ruleBefore":"thick","collectionKey":"notices","eyebrow":"Published Notices","heading":"Latest Notices","description":"Numbered and timestamped as they are published.","limit":"5","filterLabel":"Filter by State:","allStatesLabel":"All States & Territories","emptyText":"No notices have been published for this state yet.","viewAllLabel":"Search for CONs","viewAllHref":"/directory","viewAllIcon":"search"},"children":[]},{"id":"home-comic","type":"pillarGrid","props":{"variant":"comic","collectionKey":"comic-panels","eyebrow":"The CON Chronicle Comics","heading":"CON News Funnies: <em>The CON Application Nightmare</em>","description":"A lighthearted look at the Certificate of Need world. All situations are fictional and for entertainment purposes only.","stripTitle":"The CON Application Nightmare","stripSubtitle":"Episode I: \\"The Paper Chase\\"","disclaimer":"The CON Chronicle Comics are entirely fictional. Any resemblance to actual CON proceedings is coincidental and unintentional."},"children":[]}]}', meta_title = 'mystateCONnews, Certificate of Need Legal Publication', meta_description = 'Digital publication platform for Certificate of Need public notices. Starting in South Carolina, expanding state by state. Submit your CON notice today.'
WHERE site_id = @site_id AND slug = 'home' AND MD5(layout_json) = 'e8db45c7fb14a90b035c281b3f984def';
-- Submit a Notice (/submit)
UPDATE dim_web_pages SET title = 'Submit a Notice', layout_json = '{"version":1,"blocks":[{"id":"submit-hero","type":"hero","props":{"variant":"page","heading":"Submit a CON Notice","subheading":"Tell us about your notice in a few short steps. Our team reviews every request before it is published."},"children":[]},{"id":"submit-wizard","type":"formEmbed","props":{"variant":"wizard","formKey":"con-notice-submission","placeholders":{"noticeType":"Select notice type…","organizationType":"Select…","organization":"e.g. Palmetto Health System, LLC","name":"Full name","title":"e.g. VP of Development","email":"contact@organization.org","phone":"(800) 555-0100","address":"123 Main Street, City, State ZIP","project":"e.g. 48-Bed Skilled Nursing Facility Addition","facility":"e.g. Palmetto Health Richland","facilityAddress":"Street address of the proposed project","county":"e.g. Richland County","zip":"e.g. 29201","service":"e.g. Skilled Nursing, 48 beds","cost":"e.g. $12.4 million (if applicable)","noticeText":"Enter your draft CON notice text here…"},"hints":{"runs":"The number of required runs depends on your state''s regulations. When in doubt, verify with your attorney or the state agency.","requestedDate":"Must comply with your state''s requirements for timing relative to your CON application filing. Verify with your attorney."},"wizard":{"source":"Submit a Notice page","numberRequests":true,"continueLabel":"Continue →","backLabel":"← Back","charsLabel":"characters","progressLabels":["State & Type","Org Info","Project","Notice Text","Review","Submitted"],"steps":[{"title":"Step 1, State & Notice Type","summaryTitle":"State & Notice Type","desc":"Select the state where you need to publish your CON notice and the type of notice required by your application.","fields":["state","noticeType","runs"],"alertType":"info","alertHtml":"<strong>Notarized affidavit:</strong> where your state requires the notice to be notarized or signed off, we provide the notarized affidavit of publication for an additional fee, quoted with your publication."},{"title":"Step 2, Organization & Contact Info","summaryTitle":"Organization","desc":"Provide your organization''s legal name and primary contact details. This information will appear in your submission record.","fields":["organization","organizationType","name","title","email","phone","address"],"rows":[["name","title"],["email","phone"]]},{"title":"Step 3, Project Details","summaryTitle":"Project","desc":"Describe your proposed project, the facility, its location, and what you''re proposing to build, add, or change.","fields":["project","facility","facilityAddress","county","zip","service","cost","requestedDate"],"rows":[["county","zip"],["service","cost"]]},{"title":"Step 4, Notice Text","summaryTitle":"Notice Text","desc":"Enter or paste your draft CON notice text. A sample template is provided for reference only, not legal advice. Have your attorney review all notice text.","fields":["noticeText"],"countField":"noticeText","alertType":"warning","alertHtml":"<strong>Attorney Review Recommended:</strong> We suggest having an attorney familiar with your state''s CON requirements review your notice text. The sample template below is for reference.","afterHtml":"<details style=\\"margin-bottom:20px;\\"><summary style=\\"cursor:pointer;font-size:.875rem;font-weight:600;color:var(--navy);padding:10px 0;\\">View Sample Notice Template (for reference only)</summary><div class=\\"sample-notice-box\\" style=\\"margin-top:12px;\\"><strong>SAMPLE, Verify with your attorney before use.</strong><br><br>NOTICE OF APPLICATION FOR CERTIFICATE OF NEED<br><br>Notice is hereby given that [Organization Legal Name], located at [Address], has filed an application with the South Carolina Department of Health and Environmental Control (SCDHEC) for a Certificate of Need to [describe proposed project, e.g., \\"construct a 48-bed skilled nursing facility in Richland County, South Carolina\\"].<br><br>Project Name: [Project Name]<br>Applicant: [Organization Legal Name]<br>Facility Address: [Address], [County], South Carolina [ZIP]<br>Type of Project: [Project Type]<br>Proposed Cost: [Estimated Cost, if applicable]<br><br>Any person who desires to comment on or oppose this application may submit written comments to SCDHEC at [SCDHEC Address] within [number] days of publication of this notice. For questions, contact [Contact Name] at [Phone/Email].<br><br><em style=\\"font-size:.8rem;color:var(--gray-600);\\">This sample is for illustration only. Verify exact required language with your attorney and SCDHEC before submitting your CON application.</em></div></details>"}],"review":{"title":"Step 5, Review & Confirm","desc":"Review your submission details before confirming. Flag any missing or incorrect information before submitting.","submitLabel":"Submit Request →","ackMissing":"Please tick the acknowledgment before submitting.","ackHtml":"I confirm the information above is accurate and that I am authorized to submit this notice on behalf of the applicant. I understand mystateCONnews will review the notice and send a quote before it is published."},"afterSubmit":[],"final":{"title":"Request Received","referencePrefix":"Request No. ","html":"<p>Thank you, your notice request is in our review queue. We''ll email you within 1 to 2 business days with any questions and your publication quote. Keep your request number for reference.</p><div class=\\"status-track\\"><div class=\\"track-item done\\">Submitted</div><div class=\\"track-item current\\">Under Review</div><div class=\\"track-item pending\\">Quote &amp; Approval</div><div class=\\"track-item pending\\">Scheduled</div><div class=\\"track-item pending\\">Published</div></div>","links":[{"label":"Search for CONs","href":"/directory"},{"label":"Customer Portal","href":"/customer-login","gold":true}]}}},"children":[]}]}', meta_title = 'Submit a Notice', meta_description = 'Submit your Certificate of Need notice for publication on mystateCONnews.'
WHERE site_id = @site_id AND slug = 'submit' AND MD5(layout_json) = 'a33835a692fe8fd6cea8094d3c4a7982';
