Skip to content

feat(OTR-2097): make radiology consent checkbox editable#7651

Open
saewitz wants to merge 3 commits into
developfrom
claude/otr-2097-radiology-consent-editable
Open

feat(OTR-2097): make radiology consent checkbox editable#7651
saewitz wants to merge 3 commits into
developfrom
claude/otr-2097-radiology-consent-editable

Conversation

@saewitz

@saewitz saewitz commented May 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removed the readOnly/pointerEvents: 'none' from the radiology consent checkbox in RadiologyOrderDetails
  • Added handleUpdateConsent in usePatientRadiologyOrders that calls a new radiology-update-consent zambda
  • New zambda patches the consent-obtained extension on the ServiceRequest via FHIR patch
  • Added updateRadiologyOrderConsent API function and corresponding TypeScript types
  • Registered RADIOLOGY-UPDATE-CONSENT in zambdas.json

Test plan

  • Open a radiology order details page
  • Toggle the consent checkbox — verify the change persists after page reload
  • Verify an error snackbar appears if the save fails
  • Verify the checkbox is disabled while the save is in progress

https://linear.app/ottehr/issue/OTR-2097


Generated by Claude Code

@saewitz saewitz changed the base branch from main to develop May 19, 2026 17:22
@saewitz saewitz force-pushed the claude/otr-2097-radiology-consent-editable branch from 8aef156 to 3ba36cc Compare May 19, 2026 18:22
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