Skip to content

TimCoates/StreamlitTester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Tim Coates
Dec 12, 2023
b7416e0 · Dec 12, 2023

History

7 Commits
Dec 11, 2023
Dec 11, 2023
Dec 11, 2023
Dec 11, 2023
Dec 12, 2023

Repository files navigation

StreamlitTester

Using Streamlit to query PDS and NRL in NHS England's INT environment.

NB: This may not work, some corporate networks may block stuff that this relies on.

PDS

This simply does a call to GET a patient given the selected NHS Number, and updates the screen with some minimal details.

NRL

This does a call to NRL to GET Document References for a patient with the selected NHS Number, and displays VERY minimal details about those items.

Data / patient details

There's a small set of Patient NHS Numbers 'hard coded' into this, these are ones that are known to exist in PDS and at least the first three have record pointers in NRL.

Secrets

This app uses two secrets, which for local running can be defined in .streamlit/secrets.toml but for deployment are defined as secrets in the Streamlit app.

APIKEY This is the API key from the Developer Hub.

KEY This is the Private Key used to sign a JWT, the associated public key must be stored in the Developer Hub, the current implementation assumes that the Key ID (kid) used is an imaginative "1".

About

Tester for NRL using Streamlit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages