[
  {
    "phenotype_id": "PH442",
    "phenotype_version_id": 884,
    "name": "Thyroid Function",
    "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:19:34.438201Z",
    "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:19:34.438229Z",
    "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
      }
    ],
    "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": 1800,
        "concept_version_id": 4738,
        "concept_name": "Thyroid Function - Primary Care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH442",
        "phenotype_version_id": 884,
        "phenotype_name": "Thyroid Function",
        "code_attribute_header": [
          "Entity type",
          "Coding System (OXMIS Read)",
          "Category"
        ],
        "codes": [
          {
            "code": "442..00",
            "description": "Thyroid hormone tests",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "4421.00",
            "description": "Thyroid hormone tests normal",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442..11",
            "description": "TRH level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "4421.11",
            "description": "Euthyroid",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442..12",
            "description": "TSH level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442..13",
            "description": "Thyroid function tests",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442..14",
            "description": "Thyroxine binding globulin",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "4422.00",
            "description": "Thyroid hormone tests high",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "4423.00",
            "description": "Thyroid hormone tests low",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "4424.00",
            "description": "Serum T3 level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "4424000",
            "description": "Serum T3 level normal",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "4424100",
            "description": "Serum T3 level high",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "4424200",
            "description": "Serum T3 level low",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "4425.00",
            "description": "Free T3 level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "4426.00",
            "description": "Serum T4 level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "4426000",
            "description": "Serum T4 level normal",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "4426100",
            "description": "Serum T4 level abnormal",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "4427.00",
            "description": "Free T4 level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "4428.00",
            "description": "Free thyroxine index",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "4429.00",
            "description": "Thyroxine binding globulin-TBG",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442a.00",
            "description": "Plasma total T4 level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442A.00",
            "description": "TSH - thyroid stim. hormone",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442A000",
            "description": "Serum TSH level normal",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442A100",
            "description": "Serum TSH level abnormal",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442b.00",
            "description": "Serum total T4 level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442B.00",
            "description": "TRH - thyroid release. hormone",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442c.00",
            "description": "Plasma free T4 level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442C.00",
            "description": "Thyroid horm tests borderline",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442d.00",
            "description": "Serum thyroglobulin level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442D.00",
            "description": "T3 uptake test",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442D000",
            "description": "T3 uptake test normal",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442D100",
            "description": "T3 uptake test abnormal",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442e.00",
            "description": "Blood spot TSH level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442E.00",
            "description": "PBI - protein bound iodine estimation",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442f.00",
            "description": "Serum total T3 level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442F.00",
            "description": "T3 suppression test",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442g.00",
            "description": "Serum thyroglobulin recovery level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442G.00",
            "description": "Thyroid hormone tests abnormal",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442H.00",
            "description": "Thyroid function tests normal",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442I.00",
            "description": "Thyroid function tests abnormal",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442J.00",
            "description": "Thyroid function test",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442K.00",
            "description": "30 minute plasma TSH level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442L.00",
            "description": "60 minute plasma TSH level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442M.00",
            "description": "90 minute plasma TSH level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442N.00",
            "description": "120 minute plasma TSH level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442O.00",
            "description": "150 minute plasma TSH level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442P.00",
            "description": "30 minute serum TSH level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442Q.00",
            "description": "60 minute serum TSH level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442R.00",
            "description": "90 minute serum TSH level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442S.00",
            "description": "120 minute serum TSH level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442T.00",
            "description": "150 minute serum TSH level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442U.00",
            "description": "Serum free triiodothyronine level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442V.",
            "description": "",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442V.00",
            "description": "Serum free T4 level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442W.00",
            "description": "Serum TSH level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442X.00",
            "description": "Plasma TSH level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442Y.00",
            "description": "Plasma free triiodothyronine level",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "442Z.00",
            "description": "Thyroid hormone tests NOS",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "R145.00",
            "description": "[D]Thyroid function test abnormal",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          },
          {
            "code": "R145z00",
            "description": "[D]Thyroid function tests abnormal NOS",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "Read",
              "Category": "test"
            }
          }
        ]
      },
      {
        "concept_id": 1801,
        "concept_version_id": 4740,
        "concept_name": "Thyroid Function - Primary Care",
        "coding_system": {
          "id": 15,
          "name": "OXMIS codes",
          "description": "OXMIS codes"
        },
        "phenotype_id": "PH442",
        "phenotype_version_id": 884,
        "phenotype_name": "Thyroid Function",
        "code_attribute_header": [
          "Entity type",
          "Coding System (OXMIS Read)",
          "Category"
        ],
        "codes": [
          {
            "code": "L 112MA",
            "description": "SERUM TSH",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L 112MB",
            "description": "SERUM TSH NORMAL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L 112MC",
            "description": "SERUM TSH ABNORMAL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L 112N",
            "description": "TSH LEVEL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L 112NB",
            "description": "TSH LEVEL NORMAL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L 112NC",
            "description": "TSH LEVEL ABNORMAL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4000T",
            "description": "SERUM THYROXINE LEVEL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4000TE",
            "description": "THYROXINE ESTIMATION",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4021L",
            "description": "T4 LEVEL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4021LA",
            "description": "T4 LEVEL ABNORMAL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4021LN",
            "description": "T4 LEVEL NORMAL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4021PA",
            "description": "T4 TOXICOSIS TEST ABNORMAL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4021PN",
            "description": "T4 TOXICOSIS TEST NORMAL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4021PV",
            "description": "T4 TOXICOSIS TEST",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4031",
            "description": "T3 UPTAKE TEST",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4031AA",
            "description": "T3 UPTAKE TEST ABNORMAL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4031AN",
            "description": "T3 UPTAKE TEST NORMAL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4031HS",
            "description": "T3 SERUM LEVEL INCREASED",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4031LF",
            "description": "T3 FREE LEVEL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4031LS",
            "description": "T3 SERUM LEVEL DECREASED",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4031NM",
            "description": "T3 LEVEL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4033F",
            "description": "THYROID FUNCTION TEST",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4033FA",
            "description": "THYROID FUNCTION TEST ABNORMAL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4033FN",
            "description": "THYROID FUNCTION TEST NORMAL",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          },
          {
            "code": "L4071",
            "description": "T3 SUPPRESSION TEST",
            "attributes": {
              "Entity type": "thyroid_function",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "test"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/8j7n-y417",
    "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": 884,
        "version_name": "Thyroid Function",
        "version_date": "2021-10-06T16:19:34.460389Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]