[
  {
    "phenotype_id": "PH344",
    "phenotype_version_id": 688,
    "name": "Homelessness",
    "definition": "Homelessness is not routinely recorded in hospital care records.  We consulted people with lived experience of homelessness and clinical collaborators to produce a set of homeless identifiers including:\n\n\n\n- Those whose address is recorded as ‘no fixed abode’, (NFA)\n\n\n  - Those who are registered at a known homeless GP practice that exclusively serves those with homelessness problems\n\n\n  - Those who have a diagnosis that includes the ICD-10 code for homelessness (Z59.0)\n\n\nAlthough HES data has undergone cleaning prior to its release by NHS Digital, additional cleaning is necessary to produce a sample ready for analysis.  We applied University of York Centre for Health Economics rules for cleaning including:\n\n\n\n1. Drop poorly coded observations        \n\n\n      a. Missing on:\n\n\n          i. HESID (unique identifier)\n\n\n          ii. Epiend (episode end date)\n\n\n          iii. Epidur (episode duration)\n\n\n\n  2. Drop duplicates – any duplicates across the following variables\n\n\n      a. HESID (unique identifier), epistart (episode start date), epiorder (episode order), epiend (episode end date), and transit (a variable I derived using the University of York’s code to account for transfers in and out of hospitals that are part of the same admission)\n\n\nWe also applied cleaning rules adapted from the Department of Health report for analysing ‘No Fixed Abode’ (NFA) data:\n\n\n\n3. Drop if age is less than 16yrs for whole cohort \n\n\n  4. Drop all neonatal diagnoses\n\n\n  5. Drop pregnancy termination if patient is only coded with NFA and not coded with HGP or Z59.0\n\n\nWe also dropped any FCEs included in the data extract if they were not homeless as per the inclusion criteria (i.e. not NFA, HGP, or Z59.0).\n\n\n\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [],
    "validation": "",
    "citation_requirements": "",
    "created": "2021-10-06T16:14:00.924022Z",
    "author": "Luchenski S",
    "collections": [
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2021-10-06T16:14:00.924051Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Lifestyle risk factor",
        "value": "4"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Homelessness---a78bd470-181a-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Homelessness.cwl",
    "data_sources": [
      {
        "name": "Primary care",
        "value": 20,
        "uid": "",
        "url": "",
        "datasource_id": 20
      },
      {
        "name": "Hospital Episode Statistics Admitted Patient Care",
        "value": 2,
        "uid": "6599230a-df54-4615-937c-d724d239491f",
        "url": "https://healthdatagateway.org/en/dataset/875",
        "datasource_id": 875
      }
    ],
    "coding_system": [
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "Non-standard codes",
        "value": 13
      }
    ],
    "event_date_range": "",
    "concept_information": [
      {
        "concept_id": 1670,
        "concept_version_id": 4478,
        "concept_name": "Homelessness - Secondary care",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH344",
        "phenotype_version_id": 688,
        "phenotype_name": "Homelessness",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "Z59.0",
            "description": "Homelessness",
            "attributes": {}
          }
        ]
      },
      {
        "concept_id": 1671,
        "concept_version_id": 4480,
        "concept_name": "Homelessness - Primary care - Specialist centres or GP practices",
        "coding_system": {
          "id": 13,
          "name": "Non-standard codes",
          "description": "Non-standard codes"
        },
        "phenotype_id": "PH344",
        "phenotype_version_id": 688,
        "phenotype_name": "Homelessness",
        "code_attribute_header": [
          "Date Opened",
          "Type",
          "Date Closed"
        ],
        "codes": [
          {
            "code": "B83657",
            "description": "Bevan House Primary Care Centre, Bradford",
            "attributes": {
              "Date Opened": "01/04/1994",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "B85659",
            "description": "The Whitehouse Centre, Huddersfield",
            "attributes": {
              "Date Opened": "01/08/2001",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "B86669",
            "description": "York Street Health Practice, Leeds",
            "attributes": {
              "Date Opened": "12/10/1992",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "C82670",
            "description": "Inclusion Healthcare, Leicester",
            "attributes": {
              "Date Opened": "25/03/2000",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "D82641",
            "description": "City Reach Health Services, Norwich",
            "attributes": {
              "Date Opened": "15/05/2002",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "E82666",
            "description": "NURSING FOR THE HOMELESS",
            "attributes": {
              "Date Opened": "01/05/2001",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "30/09/2012"
            }
          },
          {
            "code": "E83666",
            "description": "Homeless Action in Barnet",
            "attributes": {
              "Date Opened": "01/04/1998",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": ""
            }
          },
          {
            "code": "E84711",
            "description": "HOMELESS PATIENTS",
            "attributes": {
              "Date Opened": "01/03/2002",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "30/09/2012"
            }
          },
          {
            "code": "E84712",
            "description": "CRICKLEWOOD HOMELESS CONCERN",
            "attributes": {
              "Date Opened": "01/05/2002",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "30/09/2012"
            }
          },
          {
            "code": "E85752",
            "description": "PARSONS GREEN CENTRE, HOMELESS TEAM",
            "attributes": {
              "Date Opened": "01/10/2001",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "31/03/2013"
            }
          },
          {
            "code": "E85753",
            "description": "HOMELESS TEAM",
            "attributes": {
              "Date Opened": "01/10/2001",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "30/09/2012"
            }
          },
          {
            "code": "E87772",
            "description": "Great Chapel Street Medical Centre, Central London",
            "attributes": {
              "Date Opened": "01/10/2002",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "F84632",
            "description": "The Greenhouse, East London",
            "attributes": {
              "Date Opened": "01/04/1974",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "F84733",
            "description": "Health E1, East London",
            "attributes": {
              "Date Opened": "01/04/1997",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "F84740",
            "description": "Newham Transitional Practice, East London",
            "attributes": {
              "Date Opened": "04/09/2000",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "F85709",
            "description": "HOMELESS ACTION IN ENFIELD PCT",
            "attributes": {
              "Date Opened": "01/12/2001",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "31/03/2013"
            }
          },
          {
            "code": "G6715360",
            "description": "Health Inclusion Matters, Watford",
            "attributes": {
              "Date Opened": "01/10/2011",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "G81689",
            "description": "Arch Healthcare, Brighton",
            "attributes": {
              "Date Opened": "01/04/1998",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "G82811",
            "description": "HOMELESS AND ROOTLESS CLINIC",
            "attributes": {
              "Date Opened": "01/10/2000",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "30/09/2012"
            }
          },
          {
            "code": "G85731",
            "description": "HOMELESS PATIENTS",
            "attributes": {
              "Date Opened": "01/04/2002",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "31/03/2013"
            }
          },
          {
            "code": "G85733",
            "description": "HOMELESS PATIENTS",
            "attributes": {
              "Date Opened": "01/04/2002",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "31/03/2013"
            }
          },
          {
            "code": "H82642",
            "description": "Health Central Surgery, Worthing",
            "attributes": {
              "Date Opened": "01/01/1998",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "J82217",
            "description": "Homeless Healthcare Team, Southampton",
            "attributes": {
              "Date Opened": "01/04/2000",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "K84066",
            "description": "Luther Street Medical Centre, Oxford",
            "attributes": {
              "Date Opened": "01/04/1974",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "L81661",
            "description": "HOMELESS HEALTHCARE TEAM",
            "attributes": {
              "Date Opened": "01/04/1995",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "30/09/2012"
            }
          },
          {
            "code": "L81662",
            "description": "The Homeless Health Service, Bristol",
            "attributes": {
              "Date Opened": "01/04/1995",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "L83673",
            "description": "Clock Tower Surgery, Exeter",
            "attributes": {
              "Date Opened": "27/03/2000",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "N81655",
            "description": "St Werburgh’s Practice for the Homeless, Chester",
            "attributes": {
              "Date Opened": "01/03/2002",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "N85646",
            "description": "WIRRAL HOMELESS (SCH)",
            "attributes": {
              "Date Opened": "01/02/2001",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "31/10/2013"
            }
          },
          {
            "code": "NRV04",
            "description": "The Gate Surgery, Rotherham",
            "attributes": {
              "Date Opened": "01/10/2010",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "P87662",
            "description": "SALFORD HOMELESS PROJECT",
            "attributes": {
              "Date Opened": "01/06/2000",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "30/09/2012"
            }
          },
          {
            "code": "Y00049",
            "description": "CORNWALL HEALTH FOR HOMELESS",
            "attributes": {
              "Date Opened": "02/06/2003",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": ""
            }
          },
          {
            "code": "Y00054",
            "description": "Homeless Healthcare Team, Gloucester",
            "attributes": {
              "Date Opened": "01/04/2003",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "Y00056",
            "description": "Cambridge Access Surgery, Cambridge",
            "attributes": {
              "Date Opened": "01/04/2003",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "Y00060",
            "description": "Anchor Centre, Coventry",
            "attributes": {
              "Date Opened": "01/04/2003",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "Y00083",
            "description": "REFUGEES & HOMELESS",
            "attributes": {
              "Date Opened": "01/05/2003",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "30/09/2015"
            }
          },
          {
            "code": "Y00143",
            "description": "WIRRAL HOMELESS SERVICE (LEASOWE PCC)",
            "attributes": {
              "Date Opened": "01/07/2003",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "31/07/2013"
            }
          },
          {
            "code": "Y00182",
            "description": "The Homeless Health Team, Croydon",
            "attributes": {
              "Date Opened": "01/10/2003",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "Y00256",
            "description": "HOMELESS FAMILIES HEALTH VISITORS",
            "attributes": {
              "Date Opened": "01/11/2003",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "30/09/2018"
            }
          },
          {
            "code": "Y00264",
            "description": "HEALTH INCLUSION TEAM",
            "attributes": {
              "Date Opened": "01/11/2003",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": ""
            }
          },
          {
            "code": "Y00282",
            "description": "GP FOR HOMELESS & ROOTLESS",
            "attributes": {
              "Date Opened": "01/11/2003",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": ""
            }
          },
          {
            "code": "Y00481",
            "description": "NOTTINGHAM HOMELESS TEAM",
            "attributes": {
              "Date Opened": "01/04/2004",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": ""
            }
          },
          {
            "code": "Y01057",
            "description": "The Health Xchange (Primary Care Services for the Homeless), Birmingham",
            "attributes": {
              "Date Opened": "25/04/2005",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "Y02444",
            "description": "GTPCT HOMELESS HV CLINICS",
            "attributes": {
              "Date Opened": "24/11/2008",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "30/09/2012"
            }
          },
          {
            "code": "Y02674",
            "description": "Camden Health Improvement Practice, London",
            "attributes": {
              "Date Opened": "01/04/2009",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "Y04047",
            "description": "HOMELESS HEALTHCARE TEAM NURSING",
            "attributes": {
              "Date Opened": "01/04/2013",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": "31/12/2015"
            }
          },
          {
            "code": "Y04543",
            "description": "Julian House Medical Practice for the Homeless, Bath",
            "attributes": {
              "Date Opened": "01/04/2014",
              "Type": "Exclusively Specialist GP",
              "Date Closed": ""
            }
          },
          {
            "code": "Y04629",
            "description": "HOMELESS AND VIOLENT PATIENT SERVICE",
            "attributes": {
              "Date Opened": "27/05/2014",
              "Type": "Potential Additional Homeless Practice",
              "Date Closed": ""
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/jgf5-w819",
    "is_deleted": null,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 1,
      "name": "Clinical-Coded Phenotype",
      "description": "Phenotype definitions that are based on lists of clinical codes, or algorithms using clinical codes.",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 688,
        "version_name": "Homelessness",
        "version_date": "2021-10-06T16:14:00.959916Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]