[
  {
    "phenotype_id": "PH409",
    "phenotype_version_id": 818,
    "name": "Blood Sugar",
    "definition": "Patient level data were extracted from the General Practice Research Database (GPRD), which contains anonymised, patient based data on morbidity, prescribing, treatment, and referral collected from over 500 general practices, covering about 7% of the UK population (4.4 million patients).14 Data are in Read code format—a hierarchical system used to code clinical data. Additional data on prescriptions and test results are available as free-text entries. We selected a sample of 148 practices that provided data to the GPRD continuously between January 2000 and December 2007, structured to include a range of list (patient panel) sizes. Selected practices were nationally representative in terms of patient sex and age distribution and area socioeconomic deprivation but had a relatively large average list size, reflecting a bias towards larger practices in the GPRD. Overall, the selected practices performed marginally better than national practices on the clinical indicators in the Quality and Outcomes Framework. A random selection of 4500 patients registered for at least one day between 1 January 2000 and 31 December 2007 was drawn from each practice. For practices with fewer than 4501 patients, all patients were selected. The final sample consisted of 653 500 patients. Patients with relevant conditions were identified from their diagnostic Read codes. Patients for whom targets were met were identified from the relevant Read codes and free-text terms.\n\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [
      {
        "doi": null,
        "details": "Tim Doran, Evangelos Kontopantelis, Jose M Valderas, Stephen Campbell, Martin Roland, Chris Salisbury, David Reeves, Effect of financial incentives on incentivised and non-incentivised clinical activities: longitudinal analysis of data from the UK Quality and Outcomes Framework. BMJ, 342:d3590, 2011."
      }
    ],
    "validation": "",
    "citation_requirements": "",
    "created": "2021-10-06T16:18:16.945112Z",
    "author": "Tim Doran, Evangelos Kontopantelis, Jose M Valderas, Stephen Campbell, Martin Roland, Chris Salisbury, David Reeves",
    "collections": [
      {
        "name": "ClinicalCodes Repository",
        "value": 25
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2021-10-06T16:18:16.945155Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Biomarker",
        "value": "1"
      }
    ],
    "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
      }
    ],
    "coding_system": [
      {
        "name": "Read codes v2",
        "value": 5
      },
      {
        "name": "OXMIS codes",
        "value": 15
      }
    ],
    "event_date_range": "01/01/2000 - 31/12/2007",
    "concept_information": [
      {
        "concept_id": 1745,
        "concept_version_id": 4628,
        "concept_name": "Blood Sugar - Primary Care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH409",
        "phenotype_version_id": 818,
        "phenotype_name": "Blood Sugar",
        "code_attribute_header": [
          "Entity type",
          "Coding System (OXMIS Read)",
          "Category"
        ],
        "codes": [
          {
            "code": "44f..00",
            "description": "Serum glucose level",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44f3.00",
            "description": "30 minute serum glucose level",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44f4.00",
            "description": "60 minute serum glucose level",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44f5.00",
            "description": "90 minute serum glucose level",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44f6.00",
            "description": "120 minute serum glucose level",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44f7.00",
            "description": "150 minute serum glucose level",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44T1.00",
            "description": "Random blood sugar",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44T1000",
            "description": "Random blood sugar normal",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44T1100",
            "description": "Random blood sugar low",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44T1200",
            "description": "Random blood sugar raised",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44T2.00",
            "description": "Fasting blood sugar",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44T3.00",
            "description": "2 hours post food blood sugar",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44T3.11",
            "description": "Post prandial blood sugar",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44T4.00",
            "description": "Dip-stick blood sugar",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44T5.00",
            "description": "Laboratory blood sugar",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44T6.00",
            "description": "Lunch time blood sugar",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44T7.00",
            "description": "Supper time blood sugar",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44T8.00",
            "description": "Bedtime blood sugar",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44T9.00",
            "description": "Glucometer blood sugar",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44TE.00",
            "description": "30 minute blood glucose level",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44TF.00",
            "description": "60 minute blood glucose level",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44TG.00",
            "description": "90 minute blood glucose level",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44TH.00",
            "description": "120 minute blood glucose level",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44TI.00",
            "description": "150 minute blood glucose level",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44TJ.00",
            "description": "Blood glucose level",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44TK.00",
            "description": "Fasting blood glucose level",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44TM.00",
            "description": "Blood glucose series",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44U..00",
            "description": "Blood glucose result",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44U1.00",
            "description": "Blood glucose 0-1.4 mmol/L",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44U..11",
            "description": "Blood sugar result",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44U2.00",
            "description": "Blood glucose 1.5-2.4 mmol/L",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44U3.00",
            "description": "Blood glucose 2.5-4.9 mmol/L",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44U4.00",
            "description": "Blood glucose 5-6.9 mmol/L",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44U5.00",
            "description": "Blood glucose 7-9.9 mmol/L",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44U6.00",
            "description": "Blood glucose 10-13.9 mmol/L",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44U7.00",
            "description": "2 hour post-prandial blood glucose level",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44U8.00",
            "description": "Blood glucose normal",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44U9.00",
            "description": "Blood glucose abnormal",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44Uz.00",
            "description": "Blood glucose raised NOS",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44UZ.00",
            "description": "Blood glucose 14+ mmol/L",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44V..00",
            "description": "Glucose tolerance test",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44V1.00",
            "description": "Glucose tolerance test normal",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44V..11",
            "description": "Blood glucose tolerance",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44V..12",
            "description": "Blood sugar tolerance",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44V6.00",
            "description": "Extended glucose tolerance test",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "44VZ.00",
            "description": "Glucose tolerance test NOS",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "7P17200",
            "description": "Glucose tolerance test",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "8A17.00",
            "description": "Self monitoring of blood glucose",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "R102.00",
            "description": "[D]Glucose tolerance test abnormal",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "R102.12",
            "description": "[D]Impaired glucose tolerance test",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "R10D.00",
            "description": "[D]Elevated blood glucose level",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          }
        ]
      },
      {
        "concept_id": 1746,
        "concept_version_id": 4630,
        "concept_name": "Blood Sugar - Primary Care",
        "coding_system": {
          "id": 15,
          "name": "OXMIS codes",
          "description": "OXMIS codes"
        },
        "phenotype_id": "PH409",
        "phenotype_version_id": 818,
        "phenotype_name": "Blood Sugar",
        "code_attribute_header": [
          "Entity type",
          "Coding System (OXMIS Read)",
          "Category"
        ],
        "codes": [
          {
            "code": "L1300A",
            "description": "BLOOD GLUCOSE",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L1300F",
            "description": "FASTING BLOOD SUGAR LEVEL",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L1300H",
            "description": "RAISED BLOOD GLUCOSE LEVEL",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L1300R",
            "description": "RANDOM BLOOD SUGAR LEVEL",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L1300RA",
            "description": "RANDOM BLOOD SUGAR NORMAL",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L1300RB",
            "description": "RANDOM BLOOD SUGAR RAISED",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L1300RC",
            "description": "RANDOM BLOOD SUGAR LOW",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L1300RV",
            "description": "RANDOM BLOOD SUGAR (VENOUS SAMPLE)",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L1300RW",
            "description": "RANDOM BLOOD SUGAR NORMAL (VENOUS SAMPLE",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L1300RX",
            "description": "RANDOM BLOOD SUGAR RAISED (VENOUS SAMPLE",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L1300RY",
            "description": "RANDOM BLOOD SUGAR LOW (VENOUS SAMPLE)",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L3300",
            "description": "GLUCOSE TOLERANCE TEST",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L3300NM",
            "description": "NORMAL GLUCOSE TOLERANCE TEST",
            "attributes": {
              "Entity type": "blood_sugar",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/answ-cy08",
    "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": 818,
        "version_name": "Blood Sugar",
        "version_date": "2021-10-06T16:18:16.975448Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]