Hey there!
I am currently developing on the dcm4chee module. I want to create an encounter for an observation. For this encounter I need a provider. When I try to bind the provider like this:
If the encounter role is fixed, you could add in Encounter a getEncounterRolesMap returning a Map<String, EncounterRole> (and its corresponding setter) and then do something like:
But I don’t think it’s a good idea to add new methods to the domain objects for a specific JSP need. In fact, I don’t like the idea of using domain objects in the view but that’s another question.