Deployment
You can deploy this adaptor where you like, for example, in a public or private cloud environment.
We have created a Docker image for the adaptor which you can find in Docker Hub along with the relevant install guidelines:
Directory of Services registration and maintenance
NHS 111 providers invoking the adaptor's ITK web service need to look up the relevant endpoint associated with the patient's registered GP practice.
Lookups are performed against the Directory of Service (DoS). The GP supplier is responsible for registering and maintaining accurate endpoints and service profiles within DoS through their dedicated DoS Lead.
We advise GP suppliers to engage with their relevant Integrated Care Systems (ICSs) for more details.
Inbound queue configuration
The post event messages (PEM) handled by the adaptor are sent to the Active Message Queue within the GP supplier's own environment and are not stored within the NHS 111 adaptor itself.
You need to configure the following environment variables to enable this:
PEM111_AMQP_BROKER
PEM111_AMQP_QUEUE_NAME
PEM111_AMQP_USERNAME
PEM111_AMQP_PASSWORD
Following the release of version 1.0.5-arm64 and 1.0.5-amd64, we now support RabbitMQ using AMQP protocol 0-9-1.
For this, you need to set the following environment variables:
PEM111_AMQP_BROKER - to prevent a breaking change, the full URL should be given in the form of amqp://address:port. The address section is extracted for configuration as long as your URL contains the leading :// and the following : before the port number.
PEM111_AMQP_PORT
PEM111_AMQP_PROTOCOL - needs to be set exactly to "0-9-1"
PEM111_AMQP_QUEUE_NAME
PEM111_AMQP_USERNAME
PEM111_AMQP_PASSWORD
PEM111_AMQP_ROUTING_KEY
PEM111_AMQP_SSL_ENABLED - defaults to false