[
  {
    "phenotype_id": "PH83",
    "phenotype_version_id": 166,
    "name": "Lupus erythematosus (local and systemic)",
    "definition": "At the specified date, a patient is defined as having had 'Lupus erythematosus (local and systemic)' (local and systemic) IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:\n\n\nPrimary care\n\n\n1. 'Lupus erythematosus (local and systemic)' (local and systemic) diagnosis or history of diagnosis during a consultation \n\nOR\nSecondary care (ICD10)\n\n\n1. ALL diagnoses of 'Lupus erythematosus (local and systemic)' (local and systemic) or history of diagnosis during a hospitalization\n\n\n\n\n\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [
      {
        "doi": "10.1016/S2589-7500(19)30012-3",
        "details": "Kuan V., Denaxas S., Gonzalez-Izquierdo A. et al. A chronological map of 308 physical and mental health conditions from 4 million individuals in the National Health Service. The Lancet Digital Health - DOI 10.1016/S2589-7500(19)30012-3"
      }
    ],
    "validation": "",
    "citation_requirements": "",
    "created": "2021-10-06T16:02:18.673512Z",
    "author": "Kuan V, Denaxas S, Gonzalez-Izquierdo A, Direk K, Bhatti O, Husain S, Sutaria S, Hingorani M, Nitsch D, Parisinos C, Lumbers T, Mathur R, Sofat R, Casas JP, Wong I, Hemingway H, Hingorani A",
    "collections": [
      {
        "name": "CALIBER",
        "value": 21
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2021-10-06T16:02:18.673540Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "",
    "data_sources": [
      {
        "name": "CPRD GOLD",
        "value": 5,
        "uid": "a29feafa-7bdd-44e9-b977-c9d26425e67f",
        "url": "https://healthdatagateway.org/en/dataset/694",
        "datasource_id": 694
      },
      {
        "name": "HES Admitted Patient Care data for CPRD GOLD",
        "value": 9,
        "uid": "4bcf64a6-f404-4ef4-ae6e-172512ab5f43",
        "url": "https://healthdatagateway.org/en/dataset/674",
        "datasource_id": 674
      }
    ],
    "coding_system": [
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "Read codes v2",
        "value": 5
      },
      {
        "name": "Med codes",
        "value": 8
      }
    ],
    "event_date_range": "01/01/1999 - 01/07/2016",
    "concept_information": [
      {
        "concept_id": 912,
        "concept_version_id": 2963,
        "concept_name": "Lupus erythematosus (local and systemic) - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH83",
        "phenotype_version_id": 166,
        "phenotype_name": "Lupus erythematosus (local and systemic)",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "F371000",
            "description": "Polyneuropathy in disseminated lupus erythematosus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "44095.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "F396100",
            "description": "Myopathy due to disseminated lupus erythematosus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "108072.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "F4D3300",
            "description": "Eyelid discoid lupus erythematosus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "94751.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "H57y400",
            "description": "Lung disease with systemic lupus erythematosus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "31564.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "K01x400",
            "description": "Nephrotic syndrome in systemic lupus erythematosus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "47672.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "K01x411",
            "description": "Lupus nephritis",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "22205.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "K0B4000",
            "description": "Renal tubulo-interstitial disorder in SLE",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "41148.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "M154.00",
            "description": "Lupus erythematosus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "4125.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "M154000",
            "description": "Lupus erythematosus chronicus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "33449.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "M154100",
            "description": "Discoid lupus erythematosus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "2667.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "M154200",
            "description": "Lupus erythematosus migrans",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "40797.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "M154300",
            "description": "Lupus erythematosus nodularis",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "65391.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "M154400",
            "description": "Lupus erythematosus profundus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "46148.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "M154500",
            "description": "Lupus erythematosus tumidus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "44984.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "M154600",
            "description": "Lupus erythematosus unguium mutilans",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "63955.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "M154700",
            "description": "Subacute cutaneous lupus erythematosus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "25390.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "M154z00",
            "description": "Lupus erythematosus NOS",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "7522.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "Myu7800",
            "description": "[X]Other local lupus erythematosus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "100692.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "N000.00",
            "description": "Systemic lupus erythematosus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "7871.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "N000000",
            "description": "Disseminated lupus erythematosus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "20007.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "N000100",
            "description": "Libman-Sacks disease",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "57675.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "N000200",
            "description": "Drug-induced systemic lupus erythematosus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "36942.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "N000300",
            "description": "Systemic lupus erythematosus with organ or sys involv",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "29519.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "N000400",
            "description": "Systemic lupus erythematosus with pericarditis",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "11920.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "N000600",
            "description": "Cerebral lupus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "101433.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "N000z00",
            "description": "Systemic lupus erythematosus NOS",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "42719.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "Nyu4300",
            "description": "[X]Other forms of systemic lupus erythematosus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "58706.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "ZRq8.00",
            "description": "Systemic lupus activity measure",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "51798.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "ZRq8.11",
            "description": "SLAM - Systemic lupus activity measure",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "106086.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "ZRq9.00",
            "description": "Systemic lupus erythematosus disease activity index",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "45726.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "ZRq9.11",
            "description": "SLEDAI-Sys lup ery dis act ind",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Medcode": "63283.0",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          }
        ]
      },
      {
        "concept_id": 913,
        "concept_version_id": 2965,
        "concept_name": "Lupus erythematosus (local and systemic) - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH83",
        "phenotype_version_id": 166,
        "phenotype_name": "Lupus erythematosus (local and systemic)",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "100692.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "[X]Other local lupus erythematosus",
              "Readcode": "Myu7800"
            }
          },
          {
            "code": "101433.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Cerebral lupus",
              "Readcode": "N000600"
            }
          },
          {
            "code": "106086.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "SLAM - Systemic lupus activity measure",
              "Readcode": "ZRq8.11"
            }
          },
          {
            "code": "108072.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Myopathy due to disseminated lupus erythematosus",
              "Readcode": "F396100"
            }
          },
          {
            "code": "11920.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Systemic lupus erythematosus with pericarditis",
              "Readcode": "N000400"
            }
          },
          {
            "code": "20007.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Disseminated lupus erythematosus",
              "Readcode": "N000000"
            }
          },
          {
            "code": "22205.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Lupus nephritis",
              "Readcode": "K01x411"
            }
          },
          {
            "code": "25390.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Subacute cutaneous lupus erythematosus",
              "Readcode": "M154700"
            }
          },
          {
            "code": "2667.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Discoid lupus erythematosus",
              "Readcode": "M154100"
            }
          },
          {
            "code": "29519.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Systemic lupus erythematosus with organ or sys involv",
              "Readcode": "N000300"
            }
          },
          {
            "code": "31564.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Lung disease with systemic lupus erythematosus",
              "Readcode": "H57y400"
            }
          },
          {
            "code": "33449.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Lupus erythematosus chronicus",
              "Readcode": "M154000"
            }
          },
          {
            "code": "36942.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Drug-induced systemic lupus erythematosus",
              "Readcode": "N000200"
            }
          },
          {
            "code": "40797.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Lupus erythematosus migrans",
              "Readcode": "M154200"
            }
          },
          {
            "code": "41148.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Renal tubulo-interstitial disorder in SLE",
              "Readcode": "K0B4000"
            }
          },
          {
            "code": "4125.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Lupus erythematosus",
              "Readcode": "M154.00"
            }
          },
          {
            "code": "42719.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Systemic lupus erythematosus NOS",
              "Readcode": "N000z00"
            }
          },
          {
            "code": "44095.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Polyneuropathy in disseminated lupus erythematosus",
              "Readcode": "F371000"
            }
          },
          {
            "code": "44984.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Lupus erythematosus tumidus",
              "Readcode": "M154500"
            }
          },
          {
            "code": "45726.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Systemic lupus erythematosus disease activity index",
              "Readcode": "ZRq9.00"
            }
          },
          {
            "code": "46148.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Lupus erythematosus profundus",
              "Readcode": "M154400"
            }
          },
          {
            "code": "47672.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Nephrotic syndrome in systemic lupus erythematosus",
              "Readcode": "K01x400"
            }
          },
          {
            "code": "51798.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Systemic lupus activity measure",
              "Readcode": "ZRq8.00"
            }
          },
          {
            "code": "57675.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Libman-Sacks disease",
              "Readcode": "N000100"
            }
          },
          {
            "code": "58706.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "[X]Other forms of systemic lupus erythematosus",
              "Readcode": "Nyu4300"
            }
          },
          {
            "code": "63283.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "SLEDAI-Sys lup ery dis act ind",
              "Readcode": "ZRq9.11"
            }
          },
          {
            "code": "63955.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Lupus erythematosus unguium mutilans",
              "Readcode": "M154600"
            }
          },
          {
            "code": "65391.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Lupus erythematosus nodularis",
              "Readcode": "M154300"
            }
          },
          {
            "code": "7522.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Lupus erythematosus NOS",
              "Readcode": "M154z00"
            }
          },
          {
            "code": "7871.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Systemic lupus erythematosus",
              "Readcode": "N000.00"
            }
          },
          {
            "code": "94751.0",
            "description": "Diagnosis of Lupus erythematosus (local and systemic)",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "ReadcodeDescr": "Eyelid discoid lupus erythematosus",
              "Readcode": "F4D3300"
            }
          }
        ]
      },
      {
        "concept_id": 914,
        "concept_version_id": 2967,
        "concept_name": "Lupus erythematosus (local and systemic) - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH83",
        "phenotype_version_id": 166,
        "phenotype_name": "Lupus erythematosus (local and systemic)",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "L93",
            "description": "Lupus erythematosus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          },
          {
            "code": "M32",
            "description": "Systemic lupus erythematosus",
            "attributes": {
              "Disease": "Lupus erythematosus (local and systemic)",
              "Category": "Diagnosis of Lupus erythematosus (local and systemic)"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/cm92-vy06",
    "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": 166,
        "version_name": "Lupus erythematosus (local and systemic)",
        "version_date": "2021-10-06T16:02:18.702511Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]