...
- The tribe module is a good way of showing how an attribute can have a pull down menu of options, for the case that the concept is coded
- This is in shortpatient.jsp, use Concept FieldGen web-inf/view/fieldgen.jsp
Code Block <spring:bind path="value"> <openmrs:fieldGen type="${personAttribute.attributeType.format}" formFieldName="${status.expression}" val="${personAttribute.hydratedObject}" parameters="optionHeader=\[blank\]\|showAnswers=${personAttribute.attributeType.foreignKey}\|isNullable=false" />> <%-\- isNullable=false so booleans don't have 'unknown' radiobox --%> </spring:bind> <spring:bind path="value"> <openmrs:fieldGen type="${personAttribute.attributeType.format}" formFieldName="${status.expression}" val="${personAttribute.hydratedObject}" parameters="optionHeader=\[blank\]\|showAnswers=${personAttribute.attributeType.foreignKey}\|isNullable=false" /> <%-\- isNullable=false so booleans don't have 'unknown' radiobox --%> <%></spring:bind>
Questions
Next Phases of Development
...