Update NHSDigital-Practitioner#491
Conversation
Update NHSDigital-Practitioner
Testing Examples
Regex string a CNNNNNNN|NNNNNNN
| <key value="prac-gmc" /> | ||
| <severity value="warning" /> | ||
| <human value="GMC must be of the format CNNNNNNN" /> | ||
| <expression value="identifier.where(system='https://fhir.hl7.org.uk/Id/gmc-number').exists().not() or (identifier.where(system='https://fhir.hl7.org.uk/Id/gmc-number').exists() and identifier.where(system='https://fhir.hl7.org.uk/Id/gmc-number').value.matches('^[C]{1}[0-9]{7}$'))" /> |
There was a problem hiding this comment.
I'm trying to find the official format for GMC numbers but I've not been successful.
I think all we can say is that it will be a 7 or 8 alphanumerical value, but without proof I this is just an assumption which may be incorrect or change.
I'm in favour of removing the check and expecting Programmes to ensure the gmc number is correct.
For info:
It's a 7 number code: https://www.gmc-uk.org/registration-and-licensing/employers-and-other-organisations/doctors-employers-royal-colleges-and-medical-schools/employing-a-doctor/gmc-reference-numbers
although these state it can be L+6 digit https://cmbregistration.uk/regnumber/
This states it Could be 7 num digits, L+6, or D+6 https://publichealthscotland.scot/resources-and-tools/health-intelligence-and-data-management/national-data-catalogue/data-dictionary/search-the-data-dictionary/general-medical-council-number-of-referring-doctordentistnurseallied-healthcare-professional/
PAs will have an alphabetical prefix https://pa-per.co.uk/pas-to-get-prefix-on-gmc-registration-number-but-no-change-to-proposed-professional-title
There was a problem hiding this comment.
- Comment from Rob Gooch in the request email: 'This needs amended to also allow a GMC without a prefix of C. A valid GMC code is NNNNNNN. It is only in the hospital care setting where there has been a historic requirement to prefix with a “C”.
- From the links you provided, 1 and 4 are government/GMC websites in England, which align with the format NNNNNNN or CNNNNNNN. completely removing the constraint to accept wider range of inputs is likely to reduce data quality. Thus, I will say sticking with these two formats is a better option at this time.
There was a problem hiding this comment.
"Once regulation begins and PAs and AAs gain registration with us, they will receive a seven-digit GMC reference number with a short alphabetical prefix" https://www.pulsetoday.co.uk/news/workforce/pas-to-get-distinguishing-gmc-number-but-no-title-change/
We should not be restricting this resource with no use-case. It should be open to all of our customers to be interoperable.
Updated the Regex='^(C[0-9]{7}|[0-9]{7})$' to accept C4428981 or 4428981