[
  {
    "phenotype_id": "PH3490",
    "phenotype_version_id": 8537,
    "name": "Immigration status",
    "definition": "This codelist was taken from [OpenCodelists](https://www.opencodelists.org/), created by [OpenSAFELY](https://www.opensafely.org/). We recommend viewing this Phenotype on the OpenCodelist website to view the most recent version.\n\n\nThis codelist represents a list of codes indicative of a specific immigration status (e.g. indefinite leave to remain, asylum seeker awaiting decision).\n\n\n© University of Oxford for the Bennett Institute for Applied Data Science 2025\\. This work may be copied freely for non\\-commercial research and study.\n\n",
    "implementation": null,
    "publications": null,
    "validation": null,
    "citation_requirements": null,
    "created": "2026-01-26T23:19:29.861962Z",
    "author": "OpenSAFELY",
    "collections": [
      {
        "name": "OpenCodelist",
        "value": 31
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": {
      "id": 1,
      "slug": "opensafely",
      "name": "OpenSAFELY"
    },
    "world_access": 1,
    "updated": "2026-01-26T23:19:34.482504Z",
    "references": [],
    "signed_off": [],
    "methodology": "**Search strategy**\nThis codelist was created by searching for the following terms and then selecting codes that were relevant to this aspect of migration status: \n\n\n- asylum\n- citizenship\n- dependant visa\n- immigra\n- indefinite leave\n- refugee\n- spouse visa\n- visa\n- work permit\n- overseas\n\n\nUpdated to include codes related to the Immigration Removal Centre Assessment Toolkit, based on discussions with two GPs and the rationale that individuals held in IRCs are likely to be either seeking asylum or undocumented.\nGP review: 5/02/25\n\n",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "opensafely/immigration-status",
    "source_reference": "https://www.opencodelists.org/codelist/opensafely/immigration-status/5008e054",
    "concept_information": [
      {
        "concept_id": 8714,
        "concept_version_id": 16199,
        "concept_name": "opensafely/immigration-status/5008e054",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH3490",
        "phenotype_version_id": 8537,
        "phenotype_name": "Immigration status",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "1057331000000104",
            "description": "Signposting to Refugee Council",
            "attributes": null
          },
          {
            "code": "1085811000000100",
            "description": "History of detention in immigration removal centre",
            "attributes": null
          },
          {
            "code": "1231786003",
            "description": "Refugee healthcare service",
            "attributes": null
          },
          {
            "code": "1352008001",
            "description": "Residence permit for foreign citizen status",
            "attributes": null
          },
          {
            "code": "1364151000000105",
            "description": "Immigration Removal Centre Assessment Toolkit discharge planning screening",
            "attributes": null
          },
          {
            "code": "1364171000000101",
            "description": "Immigration Removal Centre Assessment Toolkit discharge planning screening declined",
            "attributes": null
          },
          {
            "code": "1364221000000109",
            "description": "Immigration Removal Centre Assessment Toolkit reception screening",
            "attributes": null
          },
          {
            "code": "1364251000000104",
            "description": "Immigration Removal Centre Assessment Toolkit reception screening declined",
            "attributes": null
          },
          {
            "code": "1364261000000101",
            "description": "Immigration Removal Centre Assessment Toolkit secondary screening",
            "attributes": null
          },
          {
            "code": "1364271000000108",
            "description": "Immigration Removal Centre Assessment Toolkit secondary screening declined",
            "attributes": null
          },
          {
            "code": "1364871000000107",
            "description": "Immigration Removal Centre Assessment Toolkit discharge screening",
            "attributes": null
          },
          {
            "code": "1364881000000109",
            "description": "Immigration Removal Centre Assessment Toolkit discharge screening declined",
            "attributes": null
          },
          {
            "code": "148642003",
            "description": "Examination of refugee",
            "attributes": null
          },
          {
            "code": "161157008",
            "description": "Refugee",
            "attributes": null
          },
          {
            "code": "171420007",
            "description": "Examination of refugee",
            "attributes": null
          },
          {
            "code": "185711000000100",
            "description": "Family reunion immigrant",
            "attributes": null
          },
          {
            "code": "189151000000100",
            "description": "Family reunion immigrant",
            "attributes": null
          },
          {
            "code": "198311000000106",
            "description": "Overseas visitor",
            "attributes": null
          },
          {
            "code": "213261000000106",
            "description": "Overseas visitor",
            "attributes": null
          },
          {
            "code": "213271000000104",
            "description": "Overseas visitor",
            "attributes": null
          },
          {
            "code": "306211000000109",
            "description": "Failed asylum seeker",
            "attributes": null
          },
          {
            "code": "306221000000103",
            "description": "Application for Asylum declined",
            "attributes": null
          },
          {
            "code": "306231000000101",
            "description": "Application for Asylum declined",
            "attributes": null
          },
          {
            "code": "34051000087100",
            "description": "Citizenship status",
            "attributes": null
          },
          {
            "code": "389297006",
            "description": "Refugee",
            "attributes": null
          },
          {
            "code": "389298001",
            "description": "Asylum seeker",
            "attributes": null
          },
          {
            "code": "390033009",
            "description": "Asylum seeker",
            "attributes": null
          },
          {
            "code": "390790000",
            "description": "Asylum seeker",
            "attributes": null
          },
          {
            "code": "413323004",
            "description": "Refugee family",
            "attributes": null
          },
          {
            "code": "416625007",
            "description": "Family reunion immigrant",
            "attributes": null
          },
          {
            "code": "446654005",
            "description": "Refugee",
            "attributes": null
          },
          {
            "code": "450768005",
            "description": "International student",
            "attributes": null
          },
          {
            "code": "554851000005102",
            "description": "Asylum seekers center",
            "attributes": null
          },
          {
            "code": "728611000000100",
            "description": "Asylum seeker awaiting decision on refugee status",
            "attributes": null
          },
          {
            "code": "728621000000106",
            "description": "Asylum seeker with application for asylum refused",
            "attributes": null
          },
          {
            "code": "728631000000108",
            "description": "Asylum seeker with humanitarian protection status",
            "attributes": null
          },
          {
            "code": "728641000000104",
            "description": "Person granted indefinite leave to remain in United Kingdom",
            "attributes": null
          },
          {
            "code": "728651000000101",
            "description": "Refugee",
            "attributes": null
          },
          {
            "code": "729851000000109",
            "description": "Asylum seeker with discretionary leave to remain",
            "attributes": null
          },
          {
            "code": "748241000000103",
            "description": "Unaccompanied child asylum seeker",
            "attributes": null
          },
          {
            "code": "781031000000101",
            "description": "International student",
            "attributes": null
          },
          {
            "code": "811031000000102",
            "description": "Has United Kingdom student visa",
            "attributes": null
          },
          {
            "code": "811111000000106",
            "description": "Has United Kingdom general visitor visa",
            "attributes": null
          },
          {
            "code": "811121000000100",
            "description": "Has UK tourist visitor visa",
            "attributes": null
          },
          {
            "code": "832501000000104",
            "description": "Has United Kingdom student visa",
            "attributes": null
          },
          {
            "code": "937011000000100",
            "description": "Person granted indefinite leave to remain in United Kingdom",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "5008e054",
    "open_codelist_version_tag": "",
    "status": 1,
    "doi": "https://doi.org/10.48533/0xcc-wd15",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 3,
      "name": "OpenCodelists Phenotype",
      "description": "OpenSafely's OpenCodelist Phenotype, visit https://www.opencodelists.org/ to learn more",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 8537,
        "version_name": "Immigration status",
        "version_date": "2026-01-26T23:19:34.492286Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 8536,
        "version_name": "Immigration status",
        "version_date": "2026-01-26T23:19:33.351136Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 8535,
        "version_name": "Immigration status",
        "version_date": "2026-01-26T23:19:32.155505Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 8534,
        "version_name": "Immigration status",
        "version_date": "2026-01-26T23:19:31.022853Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 8533,
        "version_name": "Immigration status",
        "version_date": "2026-01-26T23:19:29.870762Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]