This repository aims to provide a library of useful examples/code snippets to help users of the NHS England Terminology Server become more familiar with the basic functions and operations of the server. It should be used in conjunction with the documentation provided in the terminology module of the FHIR standard.
If you are new to FHIR terminology then there is a useful walk through from devdays Follow the Yellow Brick Code
Postman is a freely available api tool that can be useful for exploring the FHIR apis that the Terminology Server exposes but all the examples are also provided as codesnippets in various languages (including curl).
Using Postman Collection:
The Postman Collection is configured to cache an access token in the token
environment variable so that once a token has been obtained using the Authentication/Obtain Token
request - this token is used by the other requests in the collection.
- Import the Postman collection
- Import the Postman environment
- Set the two placeholder variables for your credentials (
client_id
andclient_secret
) - Set your current environment to
ontology.scot.nhs.uk example environment
- Send the Authentication/Obtain Token request
- Run example requests