openapi: "3.0.3" servers: - url: 'https://int.api.service.nhs.uk/gp-registrations-mi' description: Integration Environment - url: 'https://api.service.nhs.uk/gp-registrations-mi' description: Production Environment components: securitySchemes: app-level0: $ref: https://proxygen.prod.api.platform.nhs.uk/components/securitySchemes/app-level0 x-nhsd-apim: temporary: false access: $ref: x-nhsd-apim/access.yaml target: $ref: x-nhsd-apim/target.yaml info: version: 0.0.1 title: GP Registrations Management Information API description: | ## Overview Use this API to send real-time GP registrations metrics to NHS for service monitoring of patient EHR transfers between GP Practices. This API replaces the weekly submission of GP2GP information sent to us via a MESH mailbox, as required by [GP2GP V2.2b](https://gpitbjss.atlassian.net/wiki/spaces/DCSDCS/pages/1391134336/GP2GP). You can send us Management Information for registrations regardless of the transfer protocol used (GP2GP or GP Connect). Using the API, you can send us information about the following: * when a requesting practice completes a registration * the compatibility of that registration with an electronic transfer * when the requesting practice requests an EHR * when the sending practice sends an EHR * when the requesting practice received attachments/documents * when the requesting practice is ready for the user to integrate the transfer * when the requesting practice has integrated the EHR received * when an error, or negative acknowledgement occurs * degrades You cannot: * read any management information data submitted to us ## Who can use this API This API can only be used where there is a legal basis to do so. Make sure you have a valid use case before you go too far with your development. You must do this before you can go live (see ‘Onboarding’ below). ## Related APIs Use [GP2GP - HL7 API](https://digital.nhs.uk/developer/api-catalogue/gp2gp) to learn more the GP2GP protocol. Use the following to learn more about the GP Connect protocol: * [GP Connect Access Document - FHIR API](https://digital.nhs.uk/developer/api-catalogue/gp-connect-access-document-fhir) * [GP Connect Access Record: HTML - FHIR API](https://digital.nhs.uk/developer/api-catalogue/gp-connect-access-record-html-fhir) * [GP Connect Access Record: Structured - FHIR API](https://digital.nhs.uk/developer/api-catalogue/gp-connect-access-record-structured-fhir) * [GP Connect Send Document - FHIR API](https://digital.nhs.uk/developer/api-catalogue/gp-connect-send-document-fhir) ## API status and roadmap This API is [in production, beta](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#statuses). ## Service level This API is a silver service, meaning it is operational 24 hours a day, 365 days a year but only supported during business hours (8am to 6pm), Monday to Friday excluding bank holidays. For more details, see [service levels](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#service-levels). ## Technology This API uses HTTP POST to submit data. ## Network access This API is available on the internet and, indirectly, on the [Health and Social Care Network (HSCN)](https://digital.nhs.uk/services/health-and-social-care-network). For more details, see [Network access for APIs](https://digital.nhs.uk/developer/guides-and-documentation/network-access-for-apis#internet-only-apis). ## Security and authorisation This API is [application-restricted](https://digital.nhs.uk/developer/guides-and-documentation/security-and-authorisation#application-restricted-apis), meaning we authenticate the calling application but not the end user. To use this access mode, use the following security pattern: * [Application-restricted RESTful APIs - API key authentication](https://digital.nhs.uk/developer/guides-and-documentation/security-and-authorisation/application-restricted-restful-apis-api-key-authentication) ## Environments and testing | Environment | Base URL | | ----------------- | ---------------------------------------------------------------------- | | Integration test | `https://int.api.service.nhs.uk/gp-registrations-mi/` | | Production | `https://api.service.nhs.uk/gp-registrations-mi/` | ### Integration testing Our [integration test environment](https://digital.nhs.uk/developer/guides-and-documentation/testing#integration-testing): * is for formal integration testing or early developer testing * includes authorisation ## Onboarding You need to get your software approved by us before it can go live with this API. We call this onboarding. The onboarding process can sometimes be quite long, so it’s worth planning well ahead. As part of this process, you need to demonstrate your technical conformance to the requirements for this API. To understand how our online digital onboarding process works, see [digital onboarding](https://digital.nhs.uk/developer/guides-and-documentation/digital-onboarding).
To get started, sign in or create a developer account, then select 'product onboarding'.