nhsengland / phmi

0 stars 2 forks source link

Conditionally Layout Activity Categories #82

Closed ghickman closed 5 years ago

ghickman commented 5 years ago

Broken out from #80

Split the activity tables into two sections:

  1. Secondary data use activities Where data is used for purposes other than the individual care of the patient. Includes activities that contribute to the overall provision of services to a population as a whole or a group of patients with a particular condition
    • Risk stratification for early intervention and prevention
    • Managing finances, quality & outcomes
    • Planning, implementing and evaluating population health strategy
    • General Provision of Population Health Management (*may be hidden)
  2. Individual care data use activities
    • Individual care – A clinical, social or public health activity concerned with the prevention, investigation and treatment of illness and the alleviation of suffering of individuals.
    • Activating and empowering citizens
    • Managing individual care
    • Co-ordinating and optimising service user flows

The data doesn't provide a way for us to differentiate between secondary and individual activity groups, so we need a way to order them into their groups. Would setting an order and grouping in the admin be workable?

Related but slightly different:

Hide the Assessment piece on the front page.

Why is this being hidden on the front page? We can easily hack this in by returning all but the last ActivityCategory but that's a brittle solution. Is this ActivityCategory different to others?


Both of these problems are tied together with a common potential problem. Will this data change? If so are we planning to modify the existing data or wipe and re-import the new data?