App configuration

From hmislk/hmis · View interactive version

App configuration is an AI agent skill from the GitHub repository hmislk/hmis. Application configuration options reference for the HMIS project. Use when working with feature toggles, configuration keys, configOptionApplicationController, bill number configuration, printer configuration, or any configurable application behavior.

How to use this skill

Skill file

Application Configuration Guide

Configuration System

HMIS uses configOptionApplicationController for feature toggles and runtime configuration.

Usage Pattern

<!-- Boolean toggle with default false -->
rendered="#{configOptionApplicationController.getBooleanValueByKey('Feature Key')}"

<!-- Boolean toggle with explicit default true -->
rendered="#{configOptionApplicationController.getBooleanValueByKey('Feature Key', true)}"

Key Naming Convention

Configuration Categories

Pharmacy Transfer

Report Display

Bill Number

🚨 Applying config to a live hospital

  1. Apply the agreed values exactly. Use the recorded plan (memory, tracker, issue). If you think a value should differ, ask before setting it. Never "simplify" a value on your own reading of the requirement.
  2. Check the deployed branch has the code. git grep "<key>" origin/<deployed-branch>. A key that exists in the DB but not in that branch's code does nothing.
  3. Verify the output, not the config row. After the change, read a record created after it, e.g. the newest bill's deptId/insId. Check that it matches the requirement: format and serial order. Report those real values.

Printer

Laboratory Sample Lock

Pharmacy Procurement

For complete reference, read:

From CLAUDE.md (moved detail)

Live config: apply agreed values exactly, check the deployed branch has the code, then verify a newly created record, not the config row.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.