We're developing an app for use with UK NHS hospitals that are using Millennium. Trying to use the Secure Sandbox, we're hitting a problem in that, whilst we can create patients that are essentially clones of the examples there already, we don't seem to be able to create any that has an NHS Number in the “identifier”. The problem seems to be with the content of identifier.system. If we use either the URL that is usually used within the NHS ("https://fhir.nhs.uk/Id/nhs-number") or the OID-based equivalent ("urn:oid:2.16.840.1.113883.2.1.4.1"), we get:
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"details": {
"text": "Invalid request"
}
}
]
}
The identifier arrays we have tried without success are:
"identifier": [
{
"assigner": {
"reference": "Organization/675844"
}
},
{
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "MR",
"display": "Medical record number"
}
],
"text": "NHS Number"
},
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "1234567890",
}
],
and
"identifier": [
{
"assigner": {
"reference": "Organization/675844"
}
},
{
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "MR",
"display": "Medical record number"
}
],
"text": "NHS Number"
},
"system": "urn:oid:2.16.840.1.113883.2.1.4.1",
"value": "1234567890",
}
],
If we set identifier.system to “urn:oid:2.16.840.1.113883.6.1000”, as used by some of the existing patients, then the create succeeds.
Does the sandbox support NHS Numbers as patient identifiers? If not, what other values of identifier.system are supported that we can use for the purposes of testing (ideally ones that are not already used by the existing test patient data).
Thanks.
Nigel