apidocs & unused functions
unify function usage
use dom-factory constants for node ids
patient editor: first ui elements for scheduling