Skip to content

Deprecate FormTemplate listBySpecialty and add FormTemplateBySpecialtyFilter with matchBy endpoint#279

Merged
aduchate merged 1 commit intomainfrom
chore/refactor-form-template-lists
Feb 23, 2026
Merged

Deprecate FormTemplate listBySpecialty and add FormTemplateBySpecialtyFilter with matchBy endpoint#279
aduchate merged 1 commit intomainfrom
chore/refactor-form-template-lists

Conversation

@aduchate
Copy link
Contributor

Replace the direct listFormTemplatesBySpecialty methods with the standard filter/matchBy pattern used across the codebase for all other entity types.

New filter infrastructure:

  • Domain filter interface and impl (FormTemplateBySpecialtyFilter)
  • DTO filter for JSON deserialization
  • Filter logic resolver calling the new DAO ID-only query
  • DAO method listFormTemplateIdsBySpecialty using existing by_specialty_code_and_guid view
  • FilterV2Mapper registration for FormTemplate filters
  • New POST /template/match endpoint in v2 FormController
  • Service interface matchFormTemplatesBy method

Deprecations:

  • FormTemplateLogic.getFormTemplatesBySpecialty
  • FormTemplateService.getFormTemplatesBySpecialty
  • FormController.listFormTemplatesBySpeciality (v2)
  • FormController.findFormTemplatesBySpeciality (v1)

…yFilter with matchBy endpoint

Replace the direct listFormTemplatesBySpecialty methods with the standard
filter/matchBy pattern used across the codebase for all other entity types.

New filter infrastructure:
- Domain filter interface and impl (FormTemplateBySpecialtyFilter)
- DTO filter for JSON deserialization
- Filter logic resolver calling the new DAO ID-only query
- DAO method listFormTemplateIdsBySpecialty using existing by_specialty_code_and_guid view
- FilterV2Mapper registration for FormTemplate filters
- New POST /template/match endpoint in v2 FormController
- Service interface matchFormTemplatesBy method

Deprecations:
- FormTemplateLogic.getFormTemplatesBySpecialty
- FormTemplateService.getFormTemplatesBySpecialty
- FormController.listFormTemplatesBySpeciality (v2)
- FormController.findFormTemplatesBySpeciality (v1)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@aduchate aduchate requested a review from TestaDiRapa February 23, 2026 10:22
@aduchate aduchate merged commit 7b1bf7a into main Feb 23, 2026
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