GP Patient Registration
Important: The Acknowledgement Framework is currently a draft version. Please contact the
Interoperability Standards Team if you are interested to discuss this solution for your use case.
This page shows examples supported by the specification. Examples should be as comprehensive as possible to aid developers.
Subpages may be added for navigation for example for Clinical scenarios.
Background
These are a collection of use case examples specific for GP Patient Registration. This includes positive and negative acknowledgement responses. This is to illustrate how the generic and agnostic Acknowledgement Framework can support a specific project use case.
This use case uses the Messaging paradigm within FHIR.
Use Case Examples
Patient registration successful
Patient registration successful
A patient goes online to register with a GP practice. A GP administrator accepts the patient's request to register.
As a: GP Administrator
I want to: Accept registration messages from patients not currently registered at the GP Surgery
So that: I can register them without additional input from sources outside my GP IT system 
Given that: A registering individual is not currently registered at the GP Surgery
When: The registering individual submits the registration application
Then: The message is accepted by the GP IT System
An Example Of Patient Registration Request
XML
JSON
< Bundle xmlns = " http://hl7.org/fhir " >
< id value = " 6f4256fa-cd14-4f96-899e-008643d84ff8 " />
< fullUrl value = " https://fhir.hl7.org.uk/StructureDefinition/UKCore-MessageHeader " />
< MessageHeader >
< id value = " urn:uuid:772c0a20-f72f-45f0-abf0-c1c667c52bc8 " />
</ meta >
< extension url = " http://hl7.org/fhir/StructureDefinition/messageheader-response-request " >
</ extension >
< system value = " https://fhir.nhs.uk/CodeSystem/message-event " />
< display value = " Patient Demographics " />
</ eventCoding >
< name value = " Leeds GP Family Practice EMIS System " />
< endpoint value = " https://emis.leedsgpfamilypractice.com/api/patient/register " />
< reference value = " urn:uuid:fb1d6acf-3ab0-4433-a425-c0b6f054779c " />
< display value = " Leeds GP Family Practice " />
</ receiver >
</ destination >
< name value = " NHSD GP Registration System " />
< value value = " helpdeskemail@nhs.net " />
</ contact >
< endpoint value = " https://gpregistration.digital.nhs.net/api " />
</ source >
</ MessageHeader >
</ resource >
</ entry >
< fullUrl value = " https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient " />
< Patient >
</ meta >
< extension url = " http://hl7.org/fhir/StructureDefinition/patient-birthPlace " >
</ extension >
< extension url = " https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex " >
</ extension >
< extension url = " https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory " >
< system value = " https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland " />
< display value = " Black or Black British - African " />
</ coding >
</ valueCodeableConcept >
</ extension >
< extension url = " http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired " >
</ extension >
< system value = " https://fhir.nhs.uk/Id/nhs-number " />
< value value = " 9999999999 " />
</ identifier >
</ name >
</ name >
< value value = " bill@bryson.com " />
</ telecom >
< value value = " 0161123456 " />
</ telecom >
< value value = " 07819194455 " />
</ telecom >
< type value = " physical " />
< line value = " 28 Ashbrook Close " />
</ address >
< system value = " http://terminology.hl7.org/CodeSystem/v2-0131 " />
< display value = " Emergency contact person " />
</ coding >
</ relationship >
</ name >
< value value = " 07123476234 " />
</ telecom >
</ contact >
< system value = " https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage " />
< display value = " British Sign Language " />
</ coding >
</ language >
</ communication >
< reference value = " urn:uuid:f21e741d-2f77-44e0-bfdd-cb4278fe93a6 " />
</ generalPractitioner >
</ Patient >
</ resource >
</ entry >
< fullUrl value = " https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization " />
< Organization >
< id value = " urn:uuid:f21e741d-2f77-44e0-bfdd-cb4278fe93a6 " />
</ meta >
< system value = " https://fhir.nhs.uk/Id/ods-organization-code " />
</ identifier >
< name value = " GP surgery " />
< line value = " 28 Ashbrook Close " />
</ address >
</ Organization >
</ resource >
</ entry >
< fullUrl value = " https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization " />
< Organization >
< id value = " urn:uuid:fb1d6acf-3ab0-4433-a425-c0b6f054779c " />
</ meta >
< system value = " https://fhir.nhs.uk/Id/ods-organization-code " />
</ identifier >
< name value = " Leeds GP family practice " />
< line value = " 10 Bond Street " />
</ address >
</ Organization >
</ resource >
</ entry >
</ Bundle >
{
" id " : " 6f4256fa-cd14-4f96-899e-008643d84ff8 " ,
{
" fullUrl " : " https://fhir.hl7.org.uk/StructureDefinition/UKCore-MessageHeader " ,
} ,
" id " : " urn:uuid:772c0a20-f72f-45f0-abf0-c1c667c52bc8 " ,
{
" url " : " http://hl7.org/fhir/StructureDefinition/messageheader-response-request " ,
}
] ,
" system " : " https://fhir.nhs.uk/CodeSystem/message-event " ,
} ,
{
" name " : " Leeds GP Family Practice EMIS System " ,
" endpoint " : " https://emis.leedsgpfamilypractice.com/api/patient/register " ,
" reference " : " urn:uuid:fb1d6acf-3ab0-4433-a425-c0b6f054779c " ,
" display " : " Leeds GP Family Practice "
}
}
] ,
" name " : " NHSD GP Registration System " ,
" value " : " helpdeskemail@nhs.net "
} ,
" endpoint " : " https://gpregistration.digital.nhs.net/api "
}
}
} ,
{
" fullUrl " : " https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient " ,
} ,
{
" url " : " http://hl7.org/fhir/StructureDefinition/patient-birthPlace " ,
}
} ,
{
" url " : " https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex " ,
} ,
{
" url " : " https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory " ,
{
" system " : " https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland " ,
" display " : " Black or Black British - African "
}
]
}
} ,
{
" url " : " http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired " ,
}
] ,
{
" system " : " https://fhir.nhs.uk/Id/nhs-number " ,
}
] ,
] ,
{
" value " : " bill@bryson.com " ,
} ,
{
} ,
{
}
] ,
{
" Flat 1 " ,
" 28 Ashbrook Close "
] ,
}
] ,
{
{
{
" system " : " http://terminology.hl7.org/CodeSystem/v2-0131 " ,
" display " : " Emergency contact person "
}
]
}
] ,
} ,
]
}
] ,
{
{
" system " : " https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage " ,
}
]
}
}
] ,
{
" reference " : " urn:uuid:f21e741d-2f77-44e0-bfdd-cb4278fe93a6 " ,
}
]
}
} ,
{
" fullUrl " : " https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization " ,
} ,
" id " : " urn:uuid:f21e741d-2f77-44e0-bfdd-cb4278fe93a6 " ,
{
" system " : " https://fhir.nhs.uk/Id/ods-organization-code " ,
}
] ,
{
" Flat 1 " ,
" 28 Ashbrook Close "
] ,
}
]
}
} ,
{
" fullUrl " : " https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization " ,
} ,
" id " : " urn:uuid:fb1d6acf-3ab0-4433-a425-c0b6f054779c " ,
{
" system " : " https://fhir.nhs.uk/Id/ods-organization-code " ,
}
] ,
" name " : " Leeds GP family practice " ,
{
" Floor 5 " ,
" 10 Bond Street "
] ,
}
]
}
}
]
}
An Example of Patient Registration Request successfully received
XML
JSON
< Bundle xmlns = " http://hl7.org/fhir " >
< id value = " 2adbf7c4-8f21-4159-8681-3f41bc06215c " />
< fullUrl value = " https://fhir.hl7.org.uk/StructureDefinition/UKCore-MessageHeader " />
< MessageHeader >
< id value = " urn:uuid:7c451367-d637-4fe7-9eab-140e743b88b3 " />
</ meta >
< extension url = " http://hl7.org/fhir/StructureDefinition/messageheader-response-request " >
</ extension >
< system value = " https://fhir.nhs.uk/CodeSystem/message-event " />
< display value = " Patient Demographics " />
</ eventCoding >
< name value = " NHS England GP Registration System " />
< endpoint value = " https://gpregistration.digital.nhs.net/api " />
< reference value = " urn:uuid:0971b53c-7b9e-4d6e-afd2-e9408c5c3a6c " />
< display value = " NHS England GP Registration System " />
</ receiver >
</ destination >
< name value = " Leeds GP Family Practice EMIS System " />
< value value = " helpdeskemail@emis.net " />
</ contact >
< endpoint value = " https://emis.leedsgpfamilypractice.com/api/patient/register " />
</ source >
< identifier value = " 6f4256fa-cd14-4f96-899e-008643d84ff8 " />
< reference value = " urn:uuid:6b7617b1-a988-41bc-967a-0a8ba0fa36f1 " />
</ details >
</ response >
</ MessageHeader >
</ resource >
</ entry >
< fullUrl value = " https://fhir.hl7.org.uk/StructureDefinition/UKCore-OperationOutcome " />
< OperationOutcome >
< id value = " urn:uuid:8283e341-67ae-48e7-b3ae-2c6a0a824b2c " />
</ meta >
< code value = " informational " />
< system value = " https://fhir.nhs.uk/CodeSystem/AcknowledgementFrameworkResponseCode " />
< code value = " TECHNICAL_SUCCESS " />
< display value = " Request successfully received " />
</ coding >
</ details >
</ issue >
</ OperationOutcome >
</ resource >
</ entry >
</ Bundle >
{
" id " : " 2adbf7c4-8f21-4159-8681-3f41bc06215c " ,
{
" fullUrl " : " https://fhir.hl7.org.uk/StructureDefinition/UKCore-MessageHeader " ,
} ,
" id " : " urn:uuid:7c451367-d637-4fe7-9eab-140e743b88b3 " ,
{
" url " : " http://hl7.org/fhir/StructureDefinition/messageheader-response-request " ,
}
] ,
" system " : " https://fhir.nhs.uk/CodeSystem/message-event " ,
} ,
{
" name " : " NHS England GP Registration System " ,
" endpoint " : " https://gpregistration.digital.nhs.net/api " ,
" reference " : " urn:uuid:0971b53c-7b9e-4d6e-afd2-e9408c5c3a6c " ,
" display " : " NHS England GP Registration System "
}
}
] ,
" name " : " Leeds GP Family Practice EMIS System " ,
" value " : " helpdeskemail@emis.net "
} ,
" endpoint " : " https://emis.leedsgpfamilypractice.com/api/patient/register "
} ,
" identifier " : " 6f4256fa-cd14-4f96-899e-008643d84ff8 " ,
" reference " : " urn:uuid:6b7617b1-a988-41bc-967a-0a8ba0fa36f1 "
}
}
}
} ,
{
" fullUrl " : " https://fhir.hl7.org.uk/StructureDefinition/UKCore-OperationOutcome " ,
} ,
" id " : " urn:uuid:8283e341-67ae-48e7-b3ae-2c6a0a824b2c " ,
{
{
" system " : " https://fhir.nhs.uk/CodeSystem/AcknowledgementFrameworkResponseCode " ,
" code " : " TECHNICAL_SUCCESS " ,
" display " : " Request successfully received "
}
]
}
}
]
}
}
]
}
An Example of Patient successfully registered
XML
JSON
< Bundle xmlns = " http://hl7.org/fhir " >
< id value = " c96c137d-3089-4165-8a2b-f9518d745a64 " />
< fullUrl value = " https://fhir.hl7.org.uk/StructureDefinition/UKCore-MessageHeader " />
< MessageHeader >
< id value = " urn:uuid:7c451367-d637-4fe7-9eab-140e743b88b3 " />
</ meta >
< extension url = " http://hl7.org/fhir/StructureDefinition/messageheader-response-request " >
</ extension >
< system value = " https://fhir.nhs.uk/CodeSystem/message-event " />
< display value = " Patient Demographics " />
</ eventCoding >
< name value = " NHS England GP Registration System " />
< endpoint value = " https://gpregistration.digital.nhs.net/api " />
< reference value = " urn:uuid:0971b53c-7b9e-4d6e-afd2-e9408c5c3a6c " />
< display value = " NHS England GP Registration System " />
</ receiver >
</ destination >
< name value = " Leeds GP Family Practice EMIS System " />
< value value = " helpdeskemail@emis.net " />
</ contact >
< endpoint value = " https://emis.leedsgpfamilypractice.com/api/patient/register " />
</ source >
< identifier value = " 6f4256fa-cd14-4f96-899e-008643d84ff8 " />
< reference value = " urn:uuid:6b7617b1-a988-41bc-967a-0a8ba0fa36f1 " />
</ details >
</ response >
</ MessageHeader >
</ resource >
</ entry >
< fullUrl value = " https://fhir.hl7.org.uk/StructureDefinition/UKCore-OperationOutcome " />
< OperationOutcome >
< id value = " urn:uuid:8283e341-67ae-48e7-b3ae-2c6a0a824b2c " />
</ meta >
< code value = " informational " />
< system value = " https://fhir.nhs.uk/CodeSystem/AcknowledgementFrameworkResponseCode " />
< code value = " BUSINESS_SUCCESS " />
< display value = " Business request successfully actioned " />
</ coding >
</ details >
</ issue >
</ OperationOutcome >
</ resource >
</ entry >
</ Bundle >
{
" id " : " c96c137d-3089-4165-8a2b-f9518d745a64 " ,
{
" fullUrl " : " https://fhir.hl7.org.uk/StructureDefinition/UKCore-MessageHeader " ,
} ,
" id " : " urn:uuid:7c451367-d637-4fe7-9eab-140e743b88b3 " ,
{
" url " : " http://hl7.org/fhir/StructureDefinition/messageheader-response-request " ,
}
] ,
" system " : " https://fhir.nhs.uk/CodeSystem/message-event " ,
} ,
{
" name " : " NHS England GP Registration System " ,
" endpoint " : " https://gpregistration.digital.nhs.net/api " ,
" reference " : " urn:uuid:0971b53c-7b9e-4d6e-afd2-e9408c5c3a6c " ,
" display " : " NHS England GP Registration System "
}
}
] ,
" name " : " Leeds GP Family Practice EMIS System " ,
" value " : " helpdeskemail@emis.net "
} ,
" endpoint " : " https://emis.leedsgpfamilypractice.com/api/patient/register "
} ,
" identifier " : " 6f4256fa-cd14-4f96-899e-008643d84ff8 " ,
" reference " : " urn:uuid:6b7617b1-a988-41bc-967a-0a8ba0fa36f1 "
}
}
}
} ,
{
" fullUrl " : " https://fhir.hl7.org.uk/StructureDefinition/UKCore-OperationOutcome " ,
} ,
" id " : " urn:uuid:8283e341-67ae-48e7-b3ae-2c6a0a824b2c " ,
{
{
" system " : " https://fhir.nhs.uk/CodeSystem/AcknowledgementFrameworkResponseCode " ,
" code " : " BUSINESS_SUCCESS " ,
" display " : " Business request successfully actioned "
}
]
}
}
]
}
}
]
}