Use cases for applying the standard

At the initial working group meeting for the next version of the Open Referral data specification (HSDS) people suggested drawing up use cases to guide our work.

Others will contribute detailed cases from their perspectives and the document Towards an open data local services standard - a collection of user stories may help.

From my perspective, I see these cases for having standard API methods with consistent responses from different Open Referral API (HSDA) endpoints:

  1. Allow social prescribing tools to read details of services suitable for prescribing to people with different needs. The UK NHS procurement framework for social prescribing requires tools to be able to read from Open Referral UK endpoints
  2. Allow service finder tools to be developed to work with any API feed. This is important because it stimulates the market for independent development of tools that would not be viable if they needed different connectors for every published dataset’s API. It also reinforces the separation of backend databases from frontend tools using the data and so helps reduce vendor tie-in
  3. Allow aggregation (combining) of services data from multiple publishers for a geographical area where directories are compiled by many different public, private and voluntary organisations.
  4. Allow use of generic tools in multiple circumstances, such as the dashboard, the API query tool, the exporter and the validator developed in the UK. Future such tools can be developed once and shared across all consumers. In the UK we tell people procuring a directory to ensure it passes validation via the validator.

Mike thanks for kicking this off. I agree that it would help to start specifying a set of use cases for the API protocols, and I’m trying to understand the right format for this.

(It’s a bit unlike typical use case development which is about end-users, whereas here I think the API protocol’s users are people who build programs and run functions to enable downstream tools that help end-users – so it seems like our use case documentation should have at least a degree of abstraction from that which would support typical UX development?)

I now have at least one example from the US – see the documentation of 2-1-1 Michigan’s implementation of HSDS in their API portal here, with these use cases specified to support it.

Meanwhile, Mike: can you help me understand the differences between #1, #3, and #4 in your list here? They all read to me very similarly, I wonder if we can work to disambiguate a bit here…

thanks!
greg

1 Like

Yes. I’ll try to be clearer.

This entails providing social prescribers with sufficient information to be able to identify services of types that are likely to meet the needs and circumstances of an individual. When such services are identified, social prescribers need information that lets the individual make use of the service (e.g. contact details).

This means supporting federated data whereby multiple organisations publish and maintain their own services data but this data can be harvested and brought together in one place for a particular purpose. For example an online service directory for an English county might take its data from the county local authority, multiple (smaller) district authorities, health organisations and a community/voluntary directory. Once brought together in one place, the combined data must not lose meaning. This implies:

  • being in the same data structure or (failing that) being in structures that can be mapped to a common structure
  • using the same taxonomies for terms or (failing that) using taxonomies that can be mapped to a common taxonomy
  • avoiding duplication of records by using identifiers that are unique across all harvested sources and have fields (e.g. charity number) that help find duplicates from different sources

This means having a structure that can be read by generic tools, so for example, the /services GET method having the same response format wherever the data comes from.

If that’s not clear, ask again and I’ll try to explain more.

Thanks, and I have to apologize: it was not #3, but rather #2 that seemed to me to be possibly redundant with #1 and #4

at this phase wouldn’t a social prescribing tool reading details of services be, essentially, a ‘service finder tool’ that should work with any API feed? Also, might we consider a “service finder tool” to be a “generic tool”? I could guess at ways to distinguish between these but curious to hear from you.

Also I think the other type of use case here – which is a lower priority compared with the others, imo, but still worth noting – is accessing bulk data for aggregate analysis, research, decision-making, etc.

Yes I think it’s fair to say that the “service finder” functionality applies within social prescribing tools and elsewhere so it may just be one use-case. I’d expect social prescribing tools to have clever ways of associating services found with particular individuals for whom it is prescribing. This contrasts with a service finder which might be an open public website.

For “generic tools” I am thinking more of utilities that might be funded, developed and hosted centrally rather than value-added tools added by innovators/commercial suppliers.

Yes. Bulk data transfer is a use case. I understand that the original intention of Open Referral was to be able to lift a whole database and take it from one place to another. US people might expand on that need.

Here, for information, are use cases that have been shared from a particular implementation.

I’ve produced the document Por11305 - UK case studies for Open Referral from a meeting with:

  • a company developing multiple service finder tools that consume standard ORUK API feeds
  • a company publishing services data via such feeds
  • an integrator that works in the public sector applying the standard

We’ve merged the first two use cases that I gave at the start of this thread. We now treat social prescribing as just another case for using a service finder.

These use cases along with ones from outside the UK will help consideration of proposed improvements to the Open Referral standard.