add patient/measure models and model infrastructure