{
  "provenance": "Copied subset of supplied docs/feature_coverage.json. Coverage status was not independently reclassified.",
  "summary": {
    "app": "ChamberNir",
    "requirements": 16,
    "implemented_local": 9,
    "partial": 5,
    "blocked": 2
  },
  "requirements": [
    {
      "id": "CN-F01",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Doctor and chamber profile",
      "original_priority": "P0",
      "source_requirement": "Store doctor name, qualifications, registration reference, specialty and verification evidence; separate verified status from merely entered data.\nAcceptance: A demo or unverified registration never displays a verified badge or appears on a live prescription.",
      "status": "implemented_local",
      "implementation_scope": "Active doctor account/profile, qualifications/registration evidence, separate independent credential review and preserved used identity.",
      "residual_limitation": "Real registration verification is performed by people, not an authority API; demo review cannot serve as live review.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "tests/test_healthcare.py",
        "suite/apps/health_common.py"
      ],
      "test_references": [
        {
          "path": "tests/test_healthcare.py",
          "class": "HealthcareDomainTests",
          "method": "test_only_assigned_doctor_can_sign_and_credentials_require_another_reviewer"
        }
      ],
      "verification_note": "Listed tests support the named invariants, not every sentence of the original feature or production operation."
    },
    {
      "id": "CN-F02",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Multi-chamber sessions",
      "original_priority": "P0",
      "source_requirement": "Create dated doctor/chamber sessions, capacity, fee rules and closures; validate doctor-location relationships and overlapping live schedules.\nAcceptance: An appointment cannot reference a doctor not assigned to its chamber session.",
      "status": "implemented_local",
      "implementation_scope": "Assigned doctor/chamber sessions, canonical times, overlap checks, fixed capacity/fee terms and closure.",
      "residual_limitation": "External calendar integration and physical clinic schedule acceptance are not provided.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "tests/test_healthcare.py",
        "suite/apps/health_common.py"
      ],
      "test_references": [
        {
          "path": "tests/test_healthcare.py",
          "class": "HealthcareDomainTests",
          "method": "test_expired_and_closed_sessions_refuse_booking"
        }
      ],
      "verification_note": "Listed tests support the named invariants, not every sentence of the original feature or production operation."
    },
    {
      "id": "CN-F03",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Patient identity and consent",
      "original_priority": "P0",
      "source_requirement": "Assign a tenant-local patient ID, preserve Bengali/English names and record birth date or explicitly estimated age with an observation date.\nAcceptance: Shared phones do not merge patients; unknown birth date stays unknown rather than invented.",
      "status": "implemented_local",
      "implementation_scope": "Unique patient reference, bilingual identity, unknown birth date/explicit age provenance and separate reminder consent.",
      "residual_limitation": "Trained duplicate/identity and clinical consent review remains an operator responsibility.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "tests/test_healthcare.py",
        "suite/apps/health_common.py"
      ],
      "test_references": [
        {
          "path": "tests/test_healthcare.py",
          "class": "HealthcareDomainTests",
          "method": "test_shared_phone_and_possible_duplicate_do_not_merge_patient_identity"
        }
      ],
      "verification_note": "Listed tests support the named invariants, not every sentence of the original feature or production operation."
    },
    {
      "id": "CN-F04",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Atomic booking and tokens",
      "original_priority": "P0",
      "source_requirement": "Allocate tokens inside a transaction, unique per tenant and session; enforce capacity, idempotency and cancellation policy.\nAcceptance: 100 concurrent requests for the final slot produce one booking; a retried request returns its original token.",
      "status": "implemented_local",
      "implementation_scope": "Transactional capacity/token allocation, duplicate booking checks, one invoice and idempotent retry of the original token.",
      "residual_limitation": "The 100-request test is local single-node contention, not production throughput or distributed scalability evidence.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "tests/test_healthcare.py",
        "suite/apps/health_common.py"
      ],
      "test_references": [
        {
          "path": "tests/test_healthcare.py",
          "class": "HealthcareHttpTests",
          "method": "test_100_concurrent_requests_for_final_slot_produce_exactly_one_booking"
        }
      ],
      "verification_note": "Listed tests support the named invariants, not every sentence of the original feature or production operation."
    },
    {
      "id": "CN-F05",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Queue desk and display",
      "original_priority": "P0",
      "source_requirement": "Support checked-in, waiting, in-consultation, completed, skipped and cancelled states; public displays show token only, not diagnoses or full names.\nAcceptance: Calling a token on the public display reveals no patient name, phone or clinical complaint.",
      "status": "implemented_local",
      "implementation_scope": "Guarded queue states and anonymous token-only display that hides active tokens when closed or ended.",
      "residual_limitation": "No offline provisional queue or physical display/browser visual acceptance has been verified.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "tests/test_healthcare.py",
        "suite/apps/health_common.py",
        "suite/server.py",
        "suite/__main__.py"
      ],
      "test_references": [
        {
          "path": "tests/test_healthcare.py",
          "class": "HealthcareHttpTests",
          "method": "test_public_queue_exposes_only_tokens_and_closes_with_session"
        }
      ],
      "verification_note": "Listed tests support the named invariants, not every sentence of the original feature or production operation."
    },
    {
      "id": "CN-F06",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Encounter and vitals",
      "original_priority": "P0",
      "source_requirement": "Create the encounter from the booked patient/session; record allergies, observed vitals, units, author and time without default clinical findings.\nAcceptance: A blood-pressure value is never copied from another visit as a current observation.",
      "status": "implemented_local",
      "implementation_scope": "Appointment-linked encounters with authored observations/allergies and explicit vital value, unit, actor and time.",
      "residual_limitation": "No device integration, copied default finding or automatic clinical interpretation is supplied.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "tests/test_healthcare.py",
        "suite/apps/health_common.py"
      ],
      "test_references": [
        {
          "path": "tests/test_healthcare.py",
          "class": "HealthcareDomainTests",
          "method": "test_signed_prescription_and_encounter_are_immutable_and_amendment_links_original"
        }
      ],
      "verification_note": "Listed tests support the named invariants, not every sentence of the original feature or production operation."
    },
    {
      "id": "CN-F07",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Specialist translation draft",
      "original_priority": "P0",
      "source_requirement": "Translate Bengali/Banglish symptoms faithfully, preserving negation, uncertainty, duration and patient voice; ask for clarification rather than diagnose.",
      "status": "partial",
      "implementation_scope": "Human-entered original words, English draft, uncertainty and provenance with treating-doctor review checklist.",
      "residual_limitation": "No AI translation service or native medical-language fidelity certification is provided.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "suite/apps/health_common.py"
      ],
      "test_references": [],
      "verification_note": "Implementation/status is source-reviewed here; no dedicated feature test is cited. Consult final suite evidence and required human reviews."
    },
    {
      "id": "CN-F08",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Licensed medication catalogue",
      "original_priority": "P1",
      "source_requirement": "Import an approved licensed source with generic, strength, form, manufacturer, source version and review date; maintain correction and withdrawal workflow.\nAcceptance: A withdrawn or unverified catalogue entry cannot be silently selected for a new live prescription.",
      "status": "blocked",
      "implementation_scope": "Clinician-authored medicine fields exist separately under CN-F09.",
      "residual_limitation": "Licensed medication data import, source-version reviews, withdrawal and correction catalogue are not implemented.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "suite/apps/health_common.py"
      ],
      "test_references": [],
      "verification_note": "Implementation/status is source-reviewed here; no dedicated feature test is cited. Consult final suite evidence and required human reviews."
    },
    {
      "id": "CN-F09",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Structured prescription composer",
      "original_priority": "P0",
      "source_requirement": "Capture clinician-entered medicine, strength, dose unit, route, frequency, duration and instructions; reject ambiguous shorthand as the only instruction.",
      "status": "implemented_local",
      "implementation_scope": "Authored medicine/strength/dose/route/full schedule/duration/instructions with shorthand checks and clinician review.",
      "residual_limitation": "Dose is text, not calculated; no formulary, interaction, contraindication or treatment advice service is supplied.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "tests/test_healthcare.py",
        "suite/apps/health_common.py"
      ],
      "test_references": [
        {
          "path": "tests/test_healthcare.py",
          "class": "HealthcareDomainTests",
          "method": "test_only_assigned_doctor_can_sign_and_credentials_require_another_reviewer"
        }
      ],
      "verification_note": "Listed tests support the named invariants, not every sentence of the original feature or production operation."
    },
    {
      "id": "CN-F10",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Clinical review and signing",
      "original_priority": "P0",
      "source_requirement": "Only the treating authorized doctor may finalize a prescription; bind the signed artifact to encounter, version, hash and approval time.\nAcceptance: Assistant and AI credentials cannot sign; editing signed content requires an attributable amendment.",
      "status": "implemented_local",
      "implementation_scope": "Assigned independently reviewed doctor signs an exact version with patient/doctor snapshot/hash and linked amendment enforcement.",
      "residual_limitation": "This is an application approval/content hash, not a government or external certificate-provider signature.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "tests/test_healthcare.py",
        "suite/apps/health_common.py"
      ],
      "test_references": [
        {
          "path": "tests/test_healthcare.py",
          "class": "HealthcareDomainTests",
          "method": "test_only_assigned_doctor_can_sign_and_credentials_require_another_reviewer"
        },
        {
          "path": "tests/test_healthcare.py",
          "class": "HealthcareDomainTests",
          "method": "test_signed_prescription_and_encounter_are_immutable_and_amendment_links_original"
        },
        {
          "path": "tests/test_healthcare.py",
          "class": "HealthcareDomainTests",
          "method": "test_another_preexisting_draft_cannot_bypass_signed_encounter_amendment_requirement"
        },
        {
          "path": "tests/test_healthcare.py",
          "class": "HealthcareHttpTests",
          "method": "test_assistant_and_other_doctor_cannot_sign_or_read_as_treating_doctor"
        }
      ],
      "verification_note": "Listed tests support the named invariants, not every sentence of the original feature or production operation."
    },
    {
      "id": "CN-F11",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Fee invoice and payment",
      "original_priority": "P0",
      "source_requirement": "Version first-visit/follow-up fees and exemptions; issue one invoice per billable visit and reconcile cash or server-verified digital payments.\nAcceptance: Repeated payment callbacks create one receipt, and refunds cannot exceed the amount actually collected.",
      "status": "partial",
      "implementation_scope": "Frozen per-session fee, one appointment invoice, bounded cash collection/refunds and finance-reviewed paid cancellations.",
      "residual_limitation": "Follow-up/exemption tariff catalogue, full refund/rebooking workflow and verified digital callbacks are absent.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "tests/test_healthcare.py",
        "suite/apps/health_common.py"
      ],
      "test_references": [
        {
          "path": "tests/test_healthcare.py",
          "class": "HealthcareDomainTests",
          "method": "test_cash_overpayment_refund_and_reference_replay_are_bounded"
        },
        {
          "path": "tests/test_healthcare.py",
          "class": "HealthcareHttpTests",
          "method": "test_concurrent_cash_receipts_cannot_overpay_last_balance"
        }
      ],
      "verification_note": "Listed tests support the named invariants, not every sentence of the original feature or production operation."
    },
    {
      "id": "CN-F12",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Privacy-aware notifications",
      "original_priority": "P0",
      "source_requirement": "Send neutral booking, delay and follow-up messages with purpose-specific consent, quiet hours, cost preview and opt-out where applicable.\nAcceptance: A reminder contains no diagnosis, medicine list or sensitive complaint on a shared phone.",
      "status": "partial",
      "implementation_scope": "Consented neutral reminder preparation records mock_prepared_not_sent with no clinical content or external cost.",
      "residual_limitation": "No real messaging, quiet hours, provider cost/delivery receipt or provider opt-out workflow is connected.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "suite/apps/health_common.py"
      ],
      "test_references": [],
      "verification_note": "Implementation/status is source-reviewed here; no dedicated feature test is cited. Consult final suite evidence and required human reviews."
    },
    {
      "id": "CN-F13",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Limited offline continuity",
      "original_priority": "P1",
      "source_requirement": "Allow encrypted drafts and local provisional tokens with device prefixes; clearly mark unconfirmed data and prohibit silent overwrites on sync.\nAcceptance: Two conflicting offline edits enter a human reconciliation queue; signed prescriptions are never merged automatically.",
      "status": "blocked",
      "implementation_scope": "Open-form continuity and offline guidance are provided, without caching private API records.",
      "residual_limitation": "Encrypted offline clinical storage, device-prefixed provisional tokens and conflict reconciliation are not implemented.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "suite/apps/health_common.py"
      ],
      "test_references": [],
      "verification_note": "Implementation/status is source-reviewed here; no dedicated feature test is cited. Consult final suite evidence and required human reviews."
    },
    {
      "id": "CN-F14",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Patient record access",
      "original_priority": "P1",
      "source_requirement": "Share only clinician-approved records through verified accounts or expiring links; authorized caregivers have explicit, revocable patient-level access.\nAcceptance: Knowing a patient’s phone or sequential ID is insufficient to download a prescription.",
      "status": "implemented_local",
      "implementation_scope": "Verified authenticated patient/caregiver grants, signed-only portal and expiry/revocation checks including cached replay.",
      "residual_limitation": "Knowledge of phone/ID grants no access; no anonymous phone lookup or identity-verification provider is supplied.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "tests/test_healthcare.py",
        "suite/apps/health_common.py"
      ],
      "test_references": [
        {
          "path": "tests/test_healthcare.py",
          "class": "HealthcareHttpTests",
          "method": "test_cached_portal_and_document_replay_denied_after_link_revocation"
        }
      ],
      "verification_note": "Listed tests support the named invariants, not every sentence of the original feature or production operation."
    },
    {
      "id": "CN-F15",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Follow-up and reports",
      "original_priority": "P0",
      "source_requirement": "Record doctor-set follow-up windows, completed visits, no-shows, fee reconciliation and operational trends without ranking clinical quality by revenue.\nAcceptance: Cancelled appointments do not count as completed visits and unverified payments do not count as cash collected.",
      "status": "partial",
      "implementation_scope": "Doctor-entered follow-up date, validated completed/skipped/cancelled activity and operational fee/queue counts.",
      "residual_limitation": "Follow-up window scheduling, dedicated no-shows and cohort trend reporting are absent.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "suite/apps/health_common.py"
      ],
      "test_references": [],
      "verification_note": "Implementation/status is source-reviewed here; no dedicated feature test is cited. Consult final suite evidence and required human reviews."
    },
    {
      "id": "CN-F16",
      "app": "ChamberNir",
      "slug": "chambernir",
      "source_title": "Safety, audit and export",
      "original_priority": "P0",
      "source_requirement": "Log sensitive reads, edits, signing, export and emergency access; route urgent symptom concerns to a clinician or emergency-care pathway, not an autonomous diagnosis.\nAcceptance: A bulk clinical export needs scoped approval and leaves an audit event identifying requester, purpose and record range.",
      "status": "partial",
      "implementation_scope": "Scoped sensitive-read/edit/sign/document-export audit; reception clinical access and bulk clinical CSV are denied.",
      "residual_limitation": "Emergency break-glass, scoped clinical bulk-export approval and urgency-routing engine are not implemented.",
      "evidence_paths": [
        "docs/blueprint_requirements.json",
        "docs/HEALTHCARE.md",
        "suite/apps/chambernir.py",
        "tests/test_healthcare.py",
        "suite/apps/health_common.py"
      ],
      "test_references": [
        {
          "path": "tests/test_healthcare.py",
          "class": "HealthcareHttpTests",
          "method": "test_reception_cannot_read_export_or_sign_clinical_content"
        }
      ],
      "verification_note": "Listed tests support the named invariants, not every sentence of the original feature or production operation."
    }
  ]
}