Skip to content

feat(stoptb): save OPD prescription without dispensing by default - #395

Merged
drtechie merged 1 commit into
feature/stoptb-sync-changes-feedfrom
vb/3.12.0-stoptb-feed-opd-no-dispense
Oct 29, 2026
Merged

drtechie merged 1 commit into
feature/stoptb-sync-changes-feedfrom
vb/3.12.0-stoptb-feed-opd-no-dispense

Conversation

@vishwab1

Copy link
Copy Markdown
Member

Inventory is not part of this release, so the Stop TB OPD save no longer checks the camp store or stock, writes no patient issue and leaves stock unchanged. Drugs from the app's own list are saved as sent (DrugID, name, form, frequency, duration, instructions); quantity is worked out when the app sends 0. A new save for the visit replaces its earlier prescription, so an edit or retry leaves one copy.

The existing dispensing path is kept behind stoptb.dispense.enabled (default false, no config needed) for the release that brings inventory.

📋 Description

JIRA ID:

Please provide a summary of the change and the motivation behind it. Include relevant context and details.


✅ Type of Change

  • 🐞 Bug fix (non-breaking change which resolves an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 🔥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🛠 Refactor (change that is neither a fix nor a new feature)
  • ⚙️ Config change (configuration file or build script updates)
  • 📚 Documentation (updates to docs or readme)
  • 🧪 Tests (adding new or updating existing tests)
  • 🎨 UI/UX (changes that affect the user interface)
  • 🚀 Performance (improves performance)
  • 🧹 Chore (miscellaneous changes that don't modify src or test files)

ℹ️ Additional Information

Please describe how the changes were tested, and include any relevant screenshots, logs, or other information that provides additional context.

Inventory is not part of this release, so the Stop TB OPD save no longer
checks the camp store or stock, writes no patient issue and leaves stock
unchanged. Drugs from the app's own list are saved as sent (DrugID, name,
form, frequency, duration, instructions); quantity is worked out when the
app sends 0. A new save for the visit replaces its earlier prescription,
so an edit or retry leaves one copy.

The existing dispensing path is kept behind stoptb.dispense.enabled
(default false, no config needed) for the release that brings inventory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 088d50ec-1810-4b79-a5f1-dab82aac1178
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@drtechie
drtechie merged commit 926547c into feature/stoptb-sync-changes-feed Oct 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants