Skip to content

Your first code change

Michael Yingbull edited this page Sep 28, 2026 · 4 revisions

Make your first code change

Home / Technical documentation / Developing CARLOS

Choose a small behavior that you can explain to someone who uses CARLOS. Find the screen, follow the request into the code, and write down what should happen before you edit it. A narrow change gives you a clean way to check permissions, validation, tests, and the visible result.

Make a small, reviewable change

Start with a reported clinic task or a small defect, and read the related guide in Using CARLOS. Choose a branch according to the release process; fixes for a supported release begin from its maintenance branch. Find the page or Java handler that owns the behavior, then trace the data and permission checks before editing.

Make the smallest change that fixes the problem. Add a test that fails for the old behavior and passes for the new one, using fictional data. Run the relevant test and build commands in your own development environment, and check the workflow in the browser when it changes what staff see. Review the diff for patient data, accidental files, and unrelated edits.

SCREENSHOT NEEDED — DEV-FIRST-CHANGE-CODE: Show a compact editor diff and the focused test for one fictional clinic behavior. The changed lines and test name should be readable.

SCREENSHOT NEEDED — DEV-FIRST-CHANGE-UI: Show the same behavior in the application before and after the change, using a fictional patient or appointment.

Write a pull request that states the clinical trigger, changed behavior, test result, and any release or migration effect. Follow the project's contribution guide for sign-off and review.

Related pages

Development environment · Architecture and codebase · Contributing code

CARLOS documentation

All topics · Get help

Using CARLOS

Start here · Clinic workflows

Getting started and everyday reference
Office staff
Clinical staff and doctors
Clinic managers and administrators

Technical documentation

Technical overview · Reference

Running CARLOS

Install and configure
Maintain and troubleshoot

Developing CARLOS

Code, interfaces, and tests
Contribute and maintain releases

For everyone

Write and maintain the documentation

Clone this wiki locally