Naming Systems

System Identifier Namespaces for Welsh Patient Identifiers

The diagram below shows the naming convention used for system identifier namespaces for Welsh Patient identifiers.

The example above is based on the following principles:

  • Follow the UK Core guidelines for naming systems where possible.
    • e.g. Manchester University NHS Foundation Trust - "https://fhir.mft.nhs.uk/Id/pas-number",
    • e.g. Leeds City Council - "https://fhir.leeds.gov.uk/Id/socialcare-number"
  • The namespace* should include the domain of the organisation responsible for creating and maintaining the identifier.
    • e.g. "https://fhir.abuhb.nhs.wales/Id/socialcare-number"
  • Use URLs and not OIDs for key systems.
    • While it is agreed that more meaningful URLs should be used in place of OIDs it is not practical to maintain namespaces for the 200+ systems currently that have an OID registered with the MPI. Therefore, system identifier namespaces shall only be created for the key systems which are likely to provide identifiers with relevance to other systems – such as a Health Board PAS identifiers.
    • Other key systems to be agreed.
  • The text ‘pas-identifier’ is used to identify a PAS patient identifier
    *Avoid use of alternatives such as ‘CRN’, ‘pas-number’, ‘pas-id’, ‘patient-identifier’ etc.

Commonly Used Patient System Identifier Namespaces

Commonly used PAS patient identifiers are identified by the namespaces shown below.

// System identifier namespace for NHS Number – NHS Numbers to be used wherever possible
NHSnumber          = "https://fhir.nhs.uk/Id/nhs-number"

// Proposed system identifier namespaces for Wales PAS systems
AneurinBevanCRN    = "https://fhir.abuhb.nhs.wales/Id/pas-identifier"
CardiffAndValeCRN  = "https://fhir.cavuhb.nhs.wales/Id/pas-identifier"
CwmTafCRN          = "https://fhir.ctmuhb.nhs.wales/Id/pas-identifier" 
HywelDdaCRN        = "https://fhir.hduhb.nhs.wales/Id/pas-identifier" 
PowysCRN           = "https://fhir.pthb.nhs.wales/Id/pas-identifier"  
SwanseaBayCRN      = "https://fhir.sbuhb.nhs.wales/Id/pas-identifier" 
VelindreCRN        = "https://fhir.vunhst.nhs.wales/Id/pas-identifier"   

// For BCU, which has multiple PAS instances
BetsiCentralCRN    = "https://fhir.bcuhb.nhs.wales/Id/central-pas-identifier"
BetsiEastCRN       = "https://fhir.bcuhb.nhs.wales/Id/east-pas-identifier"
BetsiWestCRN       = "https://fhir.bcuhb.nhs.wales/Id/west-pas-identifier"