[
  {
    "phenotype_id": "PH2975",
    "phenotype_version_id": 7642,
    "name": "Nursing home residency codes",
    "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\nTaken from the `RESNURS_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3\\.0 (https://www.nationalarchives.gov.uk/doc/open\\-government\\-licence/version/3/).\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-26T22:55:37.170202Z",
    "author": "NHSD Primary Care Domain Refsets",
    "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-26T22:55:40.045106Z",
    "references": [],
    "signed_off": [],
    "methodology": "",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "nhsd-primary-care-domain-refsets/resnurs_cod",
    "source_reference": "https://www.opencodelists.org/codelist/nhsd-primary-care-domain-refsets/resnurs_cod/20250912",
    "concept_information": [
      {
        "concept_id": 7819,
        "concept_version_id": 15304,
        "concept_name": "nhsd-primary-care-domain-refsets/resnurs_cod/20250912",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH2975",
        "phenotype_version_id": 7642,
        "phenotype_name": "Nursing home residency codes",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "1024771000000108",
            "description": "Lives in hospice",
            "attributes": null
          },
          {
            "code": "160734000",
            "description": "Lives in nursing home",
            "attributes": null
          },
          {
            "code": "16094681000119103",
            "description": "Long term custodial care facility patient",
            "attributes": null
          },
          {
            "code": "185218006",
            "description": "Seen in nursing home",
            "attributes": null
          },
          {
            "code": "193081000000106",
            "description": "Provision of nursing home care",
            "attributes": null
          },
          {
            "code": "193231000000103",
            "description": "Provision of permanent nursing home care",
            "attributes": null
          },
          {
            "code": "224225002",
            "description": "Lives in hospital",
            "attributes": null
          },
          {
            "code": "299701000000103",
            "description": "Provision of continuing care in nursing home",
            "attributes": null
          },
          {
            "code": "306694006",
            "description": "Discharge to nursing home",
            "attributes": null
          },
          {
            "code": "306695007",
            "description": "Discharge to private nursing home",
            "attributes": null
          },
          {
            "code": "412769006",
            "description": "Lives in mother and baby unit",
            "attributes": null
          },
          {
            "code": "763301000000108",
            "description": "Admission to nursing home",
            "attributes": null
          },
          {
            "code": "838691000000105",
            "description": "Referred by nursing home",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "4a0250cd",
    "open_codelist_version_tag": "20250912",
    "status": 1,
    "doi": "https://doi.org/10.48533/5s0d-zb92",
    "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": 7642,
        "version_name": "Nursing home residency codes",
        "version_date": "2026-01-26T22:55:40.057461Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 7641,
        "version_name": "Nursing home residency codes",
        "version_date": "2026-01-26T22:55:38.236182Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 7640,
        "version_name": "Nursing home residency codes",
        "version_date": "2026-01-26T22:55:37.176654Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]