Skip to content

Commit

Permalink
Merge pull request #5090 from ebmdatalab/evansd/op-hospitals-page
Browse files Browse the repository at this point in the history
Add new OP hospitals preview text
  • Loading branch information
richiecroker authored Dec 16, 2024
2 parents 131358b + 16f3306 commit 0f3507f
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 62 deletions.
2 changes: 1 addition & 1 deletion openprescribing/openprescribing/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def all_england_redirects(request, *args, **kwargs):
path(r"all-england/", all_england_redirects),
path(
r"hospitals/",
TemplateView.as_view(template_name="all_hospitals.html"),
TemplateView.as_view(template_name="hospitals.html"),
name="hospitals",
),
# Analyse
Expand Down
Binary file added openprescribing/static/img/oph_screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 0 additions & 61 deletions openprescribing/templates/all_hospitals.html

This file was deleted.

52 changes: 52 additions & 0 deletions openprescribing/templates/hospitals.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{% extends "base.html" %}
{% load static %}
{% load template_extras %}

{% block title %}Hospitals{% endblock %}
{% block active_class %}dashboards{% endblock %}

{% block content %}

<h1>
OpenPrescribing Hospitals – coming soon<br>
<small style="text-shadow: none">
With the support of the NHS Primary Care and Medicines Analytics Unit we
have started to build OpenPrescribing Hospitals.
</small>
</h1>

<p>
Every month, NHS England publishes processed pharmacy stock control data in
the form of the
<a href="https://opendata.nhsbsa.net/dataset/secondary-care-medicines-data-indicative-price">
Secondary Care Medicines Dataset (SCMD)</a>.
The
<a href="https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fraw.githubusercontent.com%2Fpaulwestrip%2FOpen-Data-Portal-Documentation%2Fmain%2FSecondary%2520Care%2520Medicines%2520Data%2520%2520Release%2520Guidance%2520v003.odt&wdOrigin=BROWSELINK">
full technical specification
</a>
of the SCMD is available to read, but briefly: it is hospital pharmacy
stock control data, which is collected and processed by Rx-Info, and is now
published on the NHS Business Services Authority website in the
<a href="https://www.bennett.ox.ac.uk/blog/2019/08/what-is-the-dm-d-the-nhs-dictionary-of-medicines-and-devices/">
NHS dm+d standard</a>.
We have been spending time learning more about the data and carefully
curating the data ready for use in OpenPrescribing Hospitals.
</p>

<h2>Sneak preview…</h2>

<p>
<img src="{% static 'img/oph_screenshot.png' %}"class="img-responsive" alt="OpenPrescribing Hospitals screenshot">
<br>
</p>

<p>
We are working hard to include similar features to OpenPrescribing.net including
<ul>
<li>A custom ‘analyse page’</li>
<li>Pre-built curated measures based on NHS England Medicines Optimisation Opportunities / medicines safety topics which we will expand over time</li>
<li>A summary of data submitted by NHS Trusts in England</li>
</ul>
We will share an early version of this tool in the near future and look forward to hearing your feedback.

{% endblock %}

0 comments on commit 0f3507f

Please sign in to comment.