The idea is to change the Program, Workflow, and State domain objects so that they work like all other metadata domain classes in OpenMRS.
- Remove program.concept, program_workflow.concept, and program_workflow_state.concept from the data model and hibernate mappings
- leave the getters and setters, but @Deprecated
- Add name and description fields to any of Program, Workflow, and State that don't have them
- When doing the above, copy the name and description (in the system's primary language) from the concept whose link you're about to break
This will break any existing localization of program/workflow/state that was done via concepts. Going forward, localization will have to be done via some other mechanism that works for OpenMRS Metadata in general. (i.e. there are currently a couple of halfway solutions)