[
  {
    "phenotype_id": "PH550",
    "phenotype_version_id": 1100,
    "name": "Osteoarthritis",
    "definition": "The database:\n\nThe CPRD is a large computerised database of anonymised primary care medical records. It contains complete patient information for participating practices, with the healthcare events (diagnoses, treatments, referrals, tests and prescriptions) recorded using coding systems (Read coding for diagnoses). Practice characteristics are described in detail elsewhere. The database is broadly representative of the UK population, although larger practices are over-represented. Practices need to meet prespecified data entry quality criteria to be defined as ‘up to research standard’, and for each study year, our main sample included all CPRD practices that were classed as such for the whole year. We also generated two data sets to test the sensitivity of our findings. First, we included all practices contributing data across the entire study period. Second, we included a subsample of 50 practices, representative of UK practices in terms of area deprivation, and practice list size.\n\n\nDefining people with SMI and controls:\n\nInformation was extracted for the period 1 April 2000 to 31 March 2012 and aggregated into 12 yearly ‘bins’, to correspond with financial years 2000/2001–2011/2012. We used Read codes to identify the presence of SMI. First, we identified relevant keywords (or key-stubs) and codes, for example ‘paranoi’ and ‘E100.00’ (simple schizophrenia). Next, the CPRD was searched for codes that matched the list in either the code or the description field. Finally, the matched code list was reviewed by clinical experts and a final conservative list of codes was agreed. A similar process was used to define comorbidities (hypertension, asthma, hypothyroidism, osteoarthritis, chronic kidney disease, coronary heart disease, epilepsy, chronic obstructive pulmonary disease, cancer, stroke, heart failure, rheumatoid arthritis, dementia and psoriasis). All code lists we used are available from http://www.clinicalcodes.org. All conditions, bar asthma, were treated as unresolvable (ie, permanent). Within each year, all patients registered with a CPRD practice for the whole year and aged 18 or over were eligible for inclusion. The final SMI Read code list was used to identify cases of SMI, which were then grouped into three broad subcategories, in line with the diagnoses used when compiling primary care QOF SMI registers: schizophrenia; affective psychoses (bipolar disorder or other unspecified affective psychosis); other types of psychosis. In the event that an individual received more than one SMI diagnosis over the study period, we used the last available diagnosis to retrospectively ‘correct’ the original diagnosis (ie, we assumed that the latest diagnosis was the correct one). Within each year, each SMI case was then matched on age, sex and practice to five randomly selected patients not associated with SMI up until that time point. More details on the extraction of the cohort have been provided elsewhere,21 and a flow chart of the data extraction process is available in the online appendix figure A2.\n\n\nDefining consultation type:\n\nWe defined a ‘consultation’ as involving direct contact between a patient and a healthcare professional within the primary care setting. We divided consultations into two main categories: face-to-face (our primary outcome), and by telephone (see online appendix table A1). We also constructed a third ‘other’ grouping of all other activities that are captured by the ‘consultation type’ codes within the CPRD. This includes mail/email contact, third party consultations (including referrals), secondary care episodes, other administrative tasks and consultations of unknown content. This group is highly heterogeneous and includes many activities that cannot be classed as consultations. However, we decided to use this grouping as an aggregate secondary outcome since it can potentially provide insight into the overall workload associated with patient care in the primary care context. We decided against breaking down the ‘other’ group in more subcategories as we are very doubtful regarding the reliability and across practice consistency of the coding within these ‘other’ categories. In instances where a patient had two or more consultations within a day, we conservatively assumed a single consultation took place, to reduce the likelihood of including duplicate records.\n\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [
      {
        "doi": null,
        "details": "Evangelos Kontopantelis, Ivan Olier, Claire Panner, David Reeves, Darren M Ashcroft, Linda Gask, Tim Doran, Siobhan Reilly, Primary care consultation rates among people with and without severe mental illness a UK cohort study using the Clinical Practice Research Datalink. BMJ Open, 5 (e008650), 2015."
      }
    ],
    "validation": "",
    "citation_requirements": "",
    "created": "2021-10-06T16:24:34.379312Z",
    "author": "Evangelos Kontopantelis, Ivan Olier, Claire Planner, David Reeves, Darren M Ashcroft, Linda Gask, Tim Doran, Sioban Reilly",
    "collections": [
      {
        "name": "ClinicalCodes Repository",
        "value": 25
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2021-10-06T16:24:34.379339Z",
    "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/04/2000 - 31/03/2012",
    "concept_information": [
      {
        "concept_id": 1941,
        "concept_version_id": 5020,
        "concept_name": "Osteoarthritis - Primary Care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH550",
        "phenotype_version_id": 1100,
        "phenotype_name": "Osteoarthritis",
        "code_attribute_header": [
          "Entity type",
          "Coding System (OXMIS Read)",
          "Category"
        ],
        "codes": [
          {
            "code": "N05..00",
            "description": "Osteoarthritis and allied disorders",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N050.00",
            "description": "Generalised osteoarthritis - OA",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N050000",
            "description": "Generalised osteoarthritis of unspecified site",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N050100",
            "description": "Generalised osteoarthritis of the hand",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N050200",
            "description": "Generalised osteoarthritis of multiple sites",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N050400",
            "description": "Primary generalized osteoarthrosis",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N050600",
            "description": "Erosive osteoarthrosis",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N050z00",
            "description": "Generalised osteoarthritis NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N051.00",
            "description": "Localised, primary osteoarthritis",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N051000",
            "description": "Localised, primary osteoarthritis of unspecified site",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05..11",
            "description": "Osteoarthritis",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N051100",
            "description": "Localised, primary osteoarthritis of the shoulder region",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N051200",
            "description": "Localised, primary osteoarthritis of the upper arm",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N051300",
            "description": "Localised, primary osteoarthritis of the forearm",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N051400",
            "description": "Localised, primary osteoarthritis of the hand",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N051500",
            "description": "Localised, primary osteoarthritis of the pelvic region/thigh",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N051600",
            "description": "Localised, primary osteoarthritis of the lower leg",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N051700",
            "description": "Localised, primary osteoarthritis of the ankle and foot",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N051800",
            "description": "Localised, primary osteoarthritis of other specified site",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N051D00",
            "description": "Localised, primary osteoarthritis of the wrist",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N051E00",
            "description": "Localised, primary osteoarthritis of toe",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N051F00",
            "description": "Localised, primary osteoarthritis of elbow",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N051z00",
            "description": "Localised, primary osteoarthritis NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N052.00",
            "description": "Localised, secondary osteoarthritis",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N052000",
            "description": "Localised, secondary osteoarthritis of unspecified site",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N052100",
            "description": "Localised, secondary osteoarthritis of the shoulder region",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N052200",
            "description": "Localised, secondary osteoarthritis of the upper arm",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N052300",
            "description": "Localised, secondary osteoarthritis of the forearm",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N052400",
            "description": "Localised, secondary osteoarthritis of the hand",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N052500",
            "description": "Localised, secondary osteoarthritis of pelvic region/thigh",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N052600",
            "description": "Localised, secondary osteoarthritis of the lower leg",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N052700",
            "description": "Localised, secondary osteoarthritis of the ankle and foot",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N052800",
            "description": "Localised, secondary osteoarthritis of other specified site",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N052z00",
            "description": "Localised, secondary osteoarthritis NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N053.00",
            "description": "Localised osteoarthritis, unspecified",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N053000",
            "description": "Localised osteoarthritis, unspecified, of unspecified site",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N053100",
            "description": "Localised osteoarthritis, unspecified, of shoulder region",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N053200",
            "description": "Localised osteoarthritis, unspecified, of the upper arm",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N053300",
            "description": "Localised osteoarthritis, unspecified, of the forearm",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N053400",
            "description": "Localised osteoarthritis, unspecified, of the hand",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N053500",
            "description": "Localised osteoarthritis, unspecified, pelvic region/thigh",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N053600",
            "description": "Localised osteoarthritis, unspecified, of the lower leg",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N053611",
            "description": "Patellofemoral osteoarthritis",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N053700",
            "description": "Localised osteoarthritis, unspecified, of the ankle and foot",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N053800",
            "description": "Localised osteoarthritis, unspecified, of other spec site",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N053z00",
            "description": "Localised osteoarthritis, unspecified, NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N054.00",
            "description": "Oligoarticular osteoarthritis, unspecified",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N054000",
            "description": "Oligoarticular osteoarthritis, unspec, of unspecified sites",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N054100",
            "description": "Oligoarticular osteoarthritis, unspecified, of shoulder",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N054200",
            "description": "Oligoarticular osteoarthritis, unspecified, of upper arm",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N054400",
            "description": "Oligoarticular osteoarthritis, unspecified, of hand",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N054500",
            "description": "Oligoarticular osteoarthritis, unspecified, of pelvis/thigh",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N054600",
            "description": "Oligoarticular osteoarthritis, unspecified, of lower leg",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N054700",
            "description": "Oligoarticular osteoarthritis, unspecified, of ankle/foot",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N054800",
            "description": "Oligoarticular osteoarthritis, unspecified, other spec sites",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N054900",
            "description": "Oligoarticular osteoarthritis, unspecified, multiple sites",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N054z00",
            "description": "Osteoarthritis of more than one site, unspecified, NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z.00",
            "description": "Osteoarthritis NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z000",
            "description": "Osteoarthritis NOS, of unspecified site",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z100",
            "description": "Osteoarthritis NOS, of shoulder region",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z200",
            "description": "Osteoarthritis NOS, of the upper arm",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z211",
            "description": "Elbow osteoarthritis NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z300",
            "description": "Osteoarthritis NOS, of the forearm",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z311",
            "description": "Wrist osteoarthritis NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z400",
            "description": "Osteoarthritis NOS, of the hand",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z411",
            "description": "Finger osteoarthritis NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z412",
            "description": "Thumb osteoarthritis NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z500",
            "description": "Osteoarthritis NOS, pelvic region/thigh",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z511",
            "description": "Hip osteoarthritis NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z600",
            "description": "Osteoarthritis NOS, of the lower leg",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z611",
            "description": "Knee osteoarthritis NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z700",
            "description": "Osteoarthritis NOS, of ankle and foot",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z711",
            "description": "Ankle osteoarthritis NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z712",
            "description": "Foot osteoarthritis NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z713",
            "description": "Toe osteoarthritis NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z800",
            "description": "Osteoarthritis NOS, other specified site",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05z900",
            "description": "Osteoarthritis NOS, of shoulder",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zA00",
            "description": "Osteoarthritis NOS, of sternoclavicular joint",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zB00",
            "description": "Osteoarthritis NOS, of acromioclavicular joint",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zC00",
            "description": "Osteoarthritis NOS, of elbow",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zD00",
            "description": "Osteoarthritis NOS, of distal radio-ulnar joint",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zE00",
            "description": "Osteoarthritis NOS, of wrist",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zF00",
            "description": "Osteoarthritis NOS, of MCP joint",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zG00",
            "description": "Osteoarthritis NOS, of PIP joint of finger",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zH00",
            "description": "Osteoarthritis NOS, of DIP joint of finger",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zJ00",
            "description": "Osteoarthritis NOS, of hip",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zK00",
            "description": "Osteoarthritis NOS, of sacro-iliac joint",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zL00",
            "description": "Osteoarthritis NOS, of knee",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zM00",
            "description": "Osteoarthritis NOS, of tibio-fibular joint",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zN00",
            "description": "Osteoarthritis NOS, of ankle",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zP00",
            "description": "Osteoarthritis NOS, of subtalar joint",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zQ00",
            "description": "Osteoarthritis NOS, of talonavicular joint",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zR00",
            "description": "Osteoarthritis NOS, of other tarsal joint",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zS00",
            "description": "Osteoarthritis NOS, of 1st MTP joint",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zT00",
            "description": "Osteoarthritis NOS, of lesser MTP joint",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zU00",
            "description": "Osteoarthritis NOS, of IP joint of toe",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N05zz00",
            "description": "Osteoarthritis NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N110.12",
            "description": "Osteoarthritis cervical spine",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N11..12",
            "description": "Osteoarthritis of spine",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N11D.00",
            "description": "Osteoarthritis of spine",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N11D000",
            "description": "Osteoarthritis of cervical spine",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N11D100",
            "description": "Osteoarthritis of thoracic spine",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N11D200",
            "description": "Osteoarthritis of lumbar spine",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N11D300",
            "description": "Osteoarthritis of spine NOS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "N11z.11",
            "description": "Osteoarthritis spine",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "Read",
              "Category": "diagnostic"
            }
          }
        ]
      },
      {
        "concept_id": 1942,
        "concept_version_id": 5022,
        "concept_name": "Osteoarthritis - Primary Care",
        "coding_system": {
          "id": 15,
          "name": "OXMIS codes",
          "description": "OXMIS codes"
        },
        "phenotype_id": "PH550",
        "phenotype_version_id": 1100,
        "phenotype_name": "Osteoarthritis",
        "code_attribute_header": [
          "Entity type",
          "Coding System (OXMIS Read)",
          "Category"
        ],
        "codes": [
          {
            "code": "7130A",
            "description": "OSTEOARTHRITIS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130AA",
            "description": "OSTEOARTHROSIS ANKLE",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130AB",
            "description": "OSTEOARTHROSIS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130AC",
            "description": "OSTEOARTHROSIS ACROMIO CLAVICULAR JOINT",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130AG",
            "description": "OSTEOARTHROSIS GENERAL",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130AW",
            "description": "OSTEOARTHROSIS WRIST",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130B",
            "description": "OSTEOARTHROSIS KNEE(S)",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130C",
            "description": "OSTEOARTHROSIS FINGERS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130CT",
            "description": "THUMB OSTEOARTHROSIS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130D",
            "description": "OSTEOARTHROSIS HIP",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130DA",
            "description": "OSTEOARTHRITIS HIP",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130E",
            "description": "OSTEOARTHROSIS SHOULDER",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130EA",
            "description": "STERNOCLAVICULAR JOINT OSTEOARTHROSIS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130EL",
            "description": "OSTEOARTHROSIS ELBOW",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130FT",
            "description": "OSTEOARTHROSIS FOOT",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130H",
            "description": "OSTEOARTHROSIS TOE",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130MD",
            "description": "TEMPOROMANDIBULAR OSTEOARTHROSIS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130N",
            "description": "OSTEOARTHROSIS HANDS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7130PA",
            "description": "OSTEOARTHRITIC PROTRUSION ACETABULUM",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7131A",
            "description": "OSTEOARTHROSIS NECK",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7131BR",
            "description": "SPONDYLITIS OSTEOARTHRITIC",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7131C",
            "description": "OSTEOARTHROSIS SPINE",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7131DL",
            "description": "LUMBAR OSTEOARTHRITIS",
            "attributes": {
              "Entity type": "res21: Osteoarthritis",
              "Coding System (OXMIS Read)": "OXMIS",
              "Category": "diagnostic"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/chch-j880",
    "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": 1100,
        "version_name": "Osteoarthritis",
        "version_date": "2021-10-06T16:24:34.401581Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]