National Data Opt-out - FHIR API
Capture patients' preferences and control sharing of their data by healthcare organisations for planning and research purposes with our National Data Opt-out (NDOP) FHIR API.
This API is in production, beta but internal, meaning the API is not currently available for integration by external third parties. If you want to use it, contact us and we'll look at making it available.
Overview
Use this API to capture patients' preferences and control sharing of their data by healthcare organisations for planning and research purposes using National Data Opt-out (NDOP).
You can:
- create National Data Opt-out preferences for a patient
- update the National Data Opt-out preferences for a patient
- display transaction history of National Data Opt-out preferences for a patient
You cannot currently:
- get existing National Data Opt-out preferences for a patient
Use the Check for National Data Opt-outs Service (POS) to get existing National Data Opt-out preferences for one or more patients. If your use case is not met by the POS service, please contact us.
Who can use this API
This API is currently for internal NHS Digital use only.
API status
This API is in production, beta but internal, meaning the API is not currently available for integration by external third parties. If you want to use it, contact us and we'll look at making it available.
Service level
This API is a bronze service, meaning it is operational and supported only during business hours (8am to 6pm), Monday to Friday excluding bank holidays.
For more details, see service levels.
Technology
This API is a FHIR API.
Specifically, it is based on the HL7 FHIR STU3 3.0.1 Messaging Implementation, April 2017.
For more details, see FHIR.
Network access
This API is available on the internet and, indirectly, on the Health and Social Care Network (HSCN).
For more details, see Network access for APIs.
Environments and testing
There are several independent instances of this API available for testing, each with a different base URL:
Spine environment | Network availability | Base URL |
---|---|---|
Development | HSCN | https://msg.dev.spine2.ncrs.nhs.uk/ |
Integration | HSCN | https://msg.int.spine2.ncrs.nhs.uk/ |
Deployment | HSCN | https://msg.dep.spine2.ncrs.nhs.uk/ |
Production | Internet | https://clinicals.spineservices.nhs.uk/ |
Integration testing
Our integration test environment:
- is for formal integration testing
- is stateful, so persists updates
For more details see integration testing with our RESTful APIs.
Interactions
For a full list of interactions for this API, see Consent REST.
For details on the general structure of the interactions, see FHIR.
Last edited: 21 May 2024 2:13 pm