[
  {
    "phenotype_id": "PH159",
    "phenotype_version_id": 318,
    "name": "Anorexia and bulimia nervosa",
    "definition": "At the specified date, a patient is defined as having had Anorexia and bulimia nervosa 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. Anorexia and bulimia nervosa diagnosis or history of diagnosis during a consultation \n\nOR\nSecondary care\n\n\n1. ALL diagnoses of Anorexia and bulimia nervosa 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:05:40.186485Z",
    "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:05:40.186514Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Anorexia-and-bulimia-nervosa---b58c0250-177c-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Anorexia-and-bulimia-nervosa.cwl",
    "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": 1138,
        "concept_version_id": 3415,
        "concept_name": "Anorexia and bulimia nervosa - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH159",
        "phenotype_version_id": 318,
        "phenotype_name": "Anorexia and bulimia nervosa",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "1467.00",
            "description": "H/O: anorexia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "Medcode": "8027.0",
              "Category": "History of Anorexia and bulimia nervosa"
            }
          },
          {
            "code": "E271.00",
            "description": "Anorexia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "Medcode": "2135.0",
              "Category": "Diagnosis of Anorexia and bulimia nervosa"
            }
          },
          {
            "code": "E275100",
            "description": "Bulimia (non-organic overeating)",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "Medcode": "4377.0",
              "Category": "Diagnosis of Anorexia and bulimia nervosa"
            }
          },
          {
            "code": "Eu50000",
            "description": "[X]Anorexia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "Medcode": "30570.0",
              "Category": "Diagnosis of Anorexia and bulimia nervosa"
            }
          },
          {
            "code": "Eu50100",
            "description": "[X]Atypical anorexia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "Medcode": "34929.0",
              "Category": "Diagnosis of Anorexia and bulimia nervosa"
            }
          },
          {
            "code": "Eu50200",
            "description": "[X]Bulimia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "Medcode": "9581.0",
              "Category": "Diagnosis of Anorexia and bulimia nervosa"
            }
          },
          {
            "code": "Eu50211",
            "description": "[X]Bulimia NOS",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "Medcode": "6583.0",
              "Category": "Diagnosis of Anorexia and bulimia nervosa"
            }
          },
          {
            "code": "Eu50300",
            "description": "[X]Atypical bulimia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "Medcode": "33863.0",
              "Category": "Diagnosis of Anorexia and bulimia nervosa"
            }
          },
          {
            "code": "R036011",
            "description": "[D]Bulimia NOS",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "Medcode": "605.0",
              "Category": "Diagnosis of Anorexia and bulimia nervosa"
            }
          }
        ]
      },
      {
        "concept_id": 1139,
        "concept_version_id": 3417,
        "concept_name": "Anorexia and bulimia nervosa - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH159",
        "phenotype_version_id": 318,
        "phenotype_name": "Anorexia and bulimia nervosa",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "2135.0",
            "description": "Diagnosis of Anorexia and bulimia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "ReadcodeDescr": "Anorexia nervosa",
              "Readcode": "E271.00"
            }
          },
          {
            "code": "30570.0",
            "description": "Diagnosis of Anorexia and bulimia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "ReadcodeDescr": "[X]Anorexia nervosa",
              "Readcode": "Eu50000"
            }
          },
          {
            "code": "33863.0",
            "description": "Diagnosis of Anorexia and bulimia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "ReadcodeDescr": "[X]Atypical bulimia nervosa",
              "Readcode": "Eu50300"
            }
          },
          {
            "code": "34929.0",
            "description": "Diagnosis of Anorexia and bulimia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "ReadcodeDescr": "[X]Atypical anorexia nervosa",
              "Readcode": "Eu50100"
            }
          },
          {
            "code": "4377.0",
            "description": "Diagnosis of Anorexia and bulimia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "ReadcodeDescr": "Bulimia (non-organic overeating)",
              "Readcode": "E275100"
            }
          },
          {
            "code": "605.0",
            "description": "Diagnosis of Anorexia and bulimia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "ReadcodeDescr": "[D]Bulimia NOS",
              "Readcode": "R036011"
            }
          },
          {
            "code": "6583.0",
            "description": "Diagnosis of Anorexia and bulimia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "ReadcodeDescr": "[X]Bulimia NOS",
              "Readcode": "Eu50211"
            }
          },
          {
            "code": "8027.0",
            "description": "History of Anorexia and bulimia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "ReadcodeDescr": "H/O: anorexia nervosa",
              "Readcode": "1467.00"
            }
          },
          {
            "code": "9581.0",
            "description": "Diagnosis of Anorexia and bulimia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "ReadcodeDescr": "[X]Bulimia nervosa",
              "Readcode": "Eu50200"
            }
          }
        ]
      },
      {
        "concept_id": 1140,
        "concept_version_id": 3419,
        "concept_name": "Anorexia and bulimia nervosa - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH159",
        "phenotype_version_id": 318,
        "phenotype_name": "Anorexia and bulimia nervosa",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "F50.0",
            "description": "Anorexia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "Category": "Diagnosis of Anorexia and bulimia nervosa"
            }
          },
          {
            "code": "F50.1",
            "description": "Atypical anorexia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "Category": "Diagnosis of Anorexia and bulimia nervosa"
            }
          },
          {
            "code": "F50.2",
            "description": "Bulimia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "Category": "Diagnosis of Anorexia and bulimia nervosa"
            }
          },
          {
            "code": "F50.3",
            "description": "Atypical bulimia nervosa",
            "attributes": {
              "Disease": "Anorexia and bulimia nervosa",
              "Category": "Diagnosis of Anorexia and bulimia nervosa"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/1k90-wg34",
    "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": 318,
        "version_name": "Anorexia and bulimia nervosa",
        "version_date": "2021-10-06T16:05:40.215650Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]