{
  "resourceType" : "Bundle",
  "id" : "Bundle-PDS-ADT-A40-NHSNumberChange",
  "meta" : {
    "profile" : ["https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/PAMBundleMessage"]
  },
  "language" : "en",
  "identifier" : {
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:uuid:b4413162-76d6-4ee1-98ef-dedf013a8a40"
  },
  "type" : "message",
  "timestamp" : "2026-11-24T14:15:30Z",
  "entry" : [{
    "fullUrl" : "https://fhir.ihe-uk.org/ITI/PAM/MessageHeader/MessageHeader-PDS-A40",
    "resource" : {
      "resourceType" : "MessageHeader",
      "id" : "MessageHeader-PDS-A40",
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MessageHeader_MessageHeader-PDS-A40\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MessageHeader MessageHeader-PDS-A40</b></p><a name=\"MessageHeader-PDS-A40\"> </a><a name=\"hcMessageHeader-PDS-A40\"> </a><p><b>event</b>: <a href=\"http://terminology.hl7.org/7.5.0/CodeSystem-v2-0003.html#v2-0003-A40\">event: A40</a> (ADT/ACK - Merge patient - patient identifier list)</p><h3>Destinations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td>ROUTE</td><td><a href=\"https://simplifier.net/resolve?scope=fhir.r4.ukcore.stu3.currentbuild@0.29.0-pre-release&amp;canonical=http://example.org/hl7v2/ROUTE\">http://example.org/hl7v2/ROUTE</a></td></tr></table><p><b>sender</b>: <a href=\"Organization-Organization-R0A.html\">MANCHESTER UNIVERSITY NHS FOUNDATION TRUST (https://fhir.nhs.uk/Id/ods-organization-code#ODSOrganisationCode#R0A)</a></p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td>PAS</td><td><a href=\"https://simplifier.net/resolve?scope=fhir.r4.ukcore.stu3.currentbuild@0.29.0-pre-release&amp;canonical=http://example.org/hl7v2/PAS\">http://example.org/hl7v2/PAS</a></td></tr></table><p><b>focus</b>: <a href=\"Patient-Patient-PDS-OctaviaCHISLETT-9449310602.html\">Octavia CHISLETT (official) Female, DoB: 2008-09-20 ( Medical record number: MRN123456\u00a0(use:\u00a0usual))</a></p></div>"
      },
      "eventCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/v2-0003",
        "code" : "A40"
      },
      "destination" : [{
        "name" : "ROUTE",
        "endpoint" : "http://example.org/hl7v2/ROUTE"
      }],
      "sender" : {
        "reference" : "Organization/Organization-R0A",
        "identifier" : {
          "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
          "value" : "R0A"
        }
      },
      "source" : {
        "name" : "PAS",
        "endpoint" : "http://example.org/hl7v2/PAS"
      },
      "focus" : [{
        "reference" : "Patient/Patient-PDS-OctaviaCHISLETT-9449310602"
      }]
    }
  },
  {
    "fullUrl" : "https://fhir.ihe-uk.org/ITI/PAM/Provenance/Provenance-PDS-A40",
    "resource" : {
      "resourceType" : "Provenance",
      "id" : "Provenance-PDS-A40",
      "meta" : {
        "profile" : ["https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/PAMProvenance"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Provenance_Provenance-PDS-A40\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Provenance Provenance-PDS-A40</b></p><a name=\"Provenance-PDS-A40\"> </a><a name=\"hcProvenance-PDS-A40\"> </a><div style=\"display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-PAMProvenance.html\">PAM Event (EVN)</a></p></div><p>Provenance for: </p><ul><li><a href=\"Patient-Patient-PDS-OctaviaCHISLETT-9449310602.html\">Octavia CHISLETT (official) Female, DoB: 2008-09-20 ( Medical record number: MRN123456\u00a0(use:\u00a0usual))</a></li><li><a href=\"Patient-Patient-PDS-Superseded-9449305552.html\">Octavia CHISLETT (official) Female, DoB: 2008-09-20 ( National Health Plan Identifier: NHSNumber#9449305552\u00a0(use:\u00a0old))</a></li></ul><p>Summary</p><table class=\"grid\"><tr><td>Occurrence</td><td>2026-11-24 14:15:00+0000</td></tr><tr><td>Recorded</td><td>2026-11-24 14:15:30+0000</td></tr><tr><td>Activity</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v2-0003 A40}\">ADT/ACK - Merge patient - patient identifier list</span></td></tr></table><p><b>Agents</b></p><table class=\"grid\"><tr><td><b>who</b></td></tr><tr><td><a href=\"Organization-Organization-R0A.html\">MANCHESTER UNIVERSITY NHS FOUNDATION TRUST (https://fhir.nhs.uk/Id/ods-organization-code#ODSOrganisationCode#R0A)</a></td></tr></table></div>"
      },
      "target" : [{
        "reference" : "Patient/Patient-PDS-OctaviaCHISLETT-9449310602"
      },
      {
        "reference" : "Patient/Patient-PDS-Superseded-9449305552"
      }],
      "occurredDateTime" : "2026-11-24T14:15:00Z",
      "recorded" : "2026-11-24T14:15:30Z",
      "activity" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v2-0003",
          "code" : "A40"
        }]
      },
      "agent" : [{
        "who" : {
          "reference" : "Organization/Organization-R0A"
        }
      }]
    }
  },
  {
    "fullUrl" : "https://fhir.ihe-uk.org/ITI/PAM/Patient/Patient-PDS-OctaviaCHISLETT-9449310602",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "Patient-PDS-OctaviaCHISLETT-9449310602",
      "meta" : {
        "profile" : ["https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/PAMPatient"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_Patient-PDS-OctaviaCHISLETT-9449310602\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient Patient-PDS-OctaviaCHISLETT-9449310602</b></p><a name=\"Patient-PDS-OctaviaCHISLETT-9449310602\"> </a><a name=\"hcPatient-PDS-OctaviaCHISLETT-9449310602\"> </a><div style=\"display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-PAMPatient.html\">PAM Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Octavia CHISLETT (official) Female, DoB: 2008-09-20 ( Medical record number: MRN123456\u00a0(use:\u00a0usual))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td>true</td><td style=\"background-color: #f3f5da\" title=\"Known Marital status of Patient\">Marital Status:</td><td colspan=\"3\"><span title=\"Codes:{https://fhir.hl7.org.uk/CodeSystem/UKCore-PersonMaritalStatusEngland S}\">Single</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\">National Health Plan Identifier/9449310602\u00a0(use:\u00a0official)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 01632960587(Home)</li><li>2 New Road MANCHESTER M20 2AB GBR (home)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Language spoken\">Language:</td><td colspan=\"3\"><span title=\"Codes:{urn:ietf:bcp:47 en}\">English</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Patient Links\">Links:</td><td colspan=\"3\"><ul><li>General Practitioner: EXAMPLE GP PRACTICE (Identifier: <a href=\"NamingSystem-ods-organization-code.html\" title=\"NHS Organisation Data Service (ODS) organisation code. HL7 v2 MSH-4, MSH-6, CX-6, PD1-3.\">ODSOrganisationCode</a>/Y00001)</li><li>General Practitioner: Identifier: <a href=\"NamingSystem-gmp-number.html\" title=\"National GP code (G + 6 digits + check digit). HL7 v2 PD1-4 XCN-1.\">GMPNumber</a>/G1234560</li><li>This record replaces: <a href=\"Patient-Patient-PDS-Superseded-9449305552.html\">Octavia CHISLETT (official) Female, DoB: 2008-09-20 ( National Health Plan Identifier: NHSNumber#9449305552\u00a0(use:\u00a0old))</a></li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"HSCIC ITK `ZU8-4` Location Hiding. Systems MUST offer the ability to shield patient location details, for example to protect the location details of an abused spouse. Shielding typically involves blanking/obscuring addresses, telephone numbers, email addresses, next of kin and GP details.\n\nWhere location hiding applies (codes `1` or `2`), the Patient resource SHOULD also carry `meta.security` = `R` (restricted) from `v3-Confidentiality`.\"><a href=\"StructureDefinition-Extension-LocationHiding.html\">Location Hiding</a></td><td colspan=\"3\"><span title=\"Codes:{https://fhir.ihe-uk.org/ITI/PAM/CodeSystem/location-hiding 0}\">No location hiding</span></td></tr></table></div>"
      },
      "extension" : [{
        "url" : "https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/Extension-LocationHiding",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.ihe-uk.org/ITI/PAM/CodeSystem/location-hiding",
            "code" : "0",
            "display" : "No location hiding"
          }]
        }
      }],
      "identifier" : [{
        "extension" : [{
          "url" : "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus",
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland",
              "code" : "01",
              "display" : "Number present and verified"
            }]
          }
        }],
        "use" : "official",
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "NH"
          }]
        },
        "system" : "https://fhir.nhs.uk/Id/nhs-number",
        "value" : "9449310602"
      },
      {
        "use" : "usual",
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "MR"
          }]
        },
        "value" : "MRN123456",
        "assigner" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
            "value" : "R0A"
          }
        }
      }],
      "active" : true,
      "name" : [{
        "use" : "official",
        "family" : "CHISLETT",
        "given" : ["Octavia"],
        "prefix" : ["Mrs"]
      }],
      "telecom" : [{
        "system" : "phone",
        "value" : "01632960587",
        "use" : "home"
      }],
      "gender" : "female",
      "birthDate" : "2008-09-20",
      "address" : [{
        "use" : "home",
        "line" : ["2 New Road"],
        "city" : "MANCHESTER",
        "postalCode" : "M20 2AB",
        "country" : "GBR",
        "period" : {
          "start" : "2026-11-20"
        }
      }],
      "maritalStatus" : {
        "coding" : [{
          "system" : "https://fhir.hl7.org.uk/CodeSystem/UKCore-PersonMaritalStatusEngland",
          "code" : "S",
          "display" : "Single"
        }]
      },
      "communication" : [{
        "language" : {
          "coding" : [{
            "system" : "urn:ietf:bcp:47",
            "code" : "en",
            "display" : "English"
          }]
        }
      }],
      "generalPractitioner" : [{
        "type" : "Organization",
        "identifier" : {
          "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
          "value" : "Y00001"
        },
        "display" : "EXAMPLE GP PRACTICE"
      },
      {
        "type" : "Practitioner",
        "identifier" : {
          "system" : "https://fhir.hl7.org.uk/Id/gmp-number",
          "value" : "G1234560"
        }
      }],
      "link" : [{
        "other" : {
          "reference" : "Patient/Patient-PDS-Superseded-9449305552",
          "type" : "Patient",
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/nhs-number",
            "value" : "9449305552"
          }
        },
        "type" : "replaces"
      }]
    }
  },
  {
    "fullUrl" : "https://fhir.ihe-uk.org/ITI/PAM/Patient/Patient-PDS-Superseded-9449305552",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "Patient-PDS-Superseded-9449305552",
      "meta" : {
        "profile" : ["https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/PAMPatient"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_Patient-PDS-Superseded-9449305552\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient Patient-PDS-Superseded-9449305552</b></p><a name=\"Patient-PDS-Superseded-9449305552\"> </a><a name=\"hcPatient-PDS-Superseded-9449305552\"> </a><div style=\"display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-PAMPatient.html\">PAM Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Octavia CHISLETT (official) Female, DoB: 2008-09-20 ( National Health Plan Identifier: NHSNumber#9449305552\u00a0(use:\u00a0old))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">false</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Patient Links\">Links:</td><td colspan=\"3\"><ul><li>This record replaced by: <a href=\"Patient-Patient-PDS-OctaviaCHISLETT-9449310602.html\">Octavia CHISLETT (official) Female, DoB: 2008-09-20 ( Medical record number: MRN123456\u00a0(use:\u00a0usual))</a></li></ul></td></tr></table></div>"
      },
      "identifier" : [{
        "use" : "old",
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "NH"
          }]
        },
        "system" : "https://fhir.nhs.uk/Id/nhs-number",
        "value" : "9449305552"
      }],
      "active" : false,
      "name" : [{
        "use" : "official",
        "family" : "CHISLETT",
        "given" : ["Octavia"]
      }],
      "gender" : "female",
      "birthDate" : "2008-09-20",
      "link" : [{
        "other" : {
          "reference" : "Patient/Patient-PDS-OctaviaCHISLETT-9449310602",
          "type" : "Patient",
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/nhs-number",
            "value" : "9449310602"
          }
        },
        "type" : "replaced-by"
      }]
    }
  }]
}