[
  {
    "phenotype_id": "PH157",
    "phenotype_version_id": 314,
    "name": "Dysmenorrhoea",
    "definition": "At the specified date, a patient is defined as having had 'Dysmenorrhoea' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:\n\n\nPrimary care\n\n\n1. 'Dysmenorrhoea' diagnosis or history of diagnosis during a consultation \n\nOR\nSecondary care\n\n\n1. ALL diagnoses of 'Dysmenorrhoea' or history of diagnosis during a hospitalization\n\n\n\n\n\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [
      {
        "doi": "10.1016/S2589-7500(19)30012-3",
        "details": "Kuan V., Denaxas S., Gonzalez-Izquierdo A. et al. A chronological map of 308 physical and mental health conditions from 4 million individuals in the National Health Service. The Lancet Digital Health - DOI 10.1016/S2589-7500(19)30012-3"
      }
    ],
    "validation": "",
    "citation_requirements": "",
    "created": "2021-10-06T16:05:36.805799Z",
    "author": "Kuan V, Denaxas S, Gonzalez-Izquierdo A, Direk K, Bhatti O, Husain S, Sutaria S, Hingorani M, Nitsch D, Parisinos C, Lumbers T, Mathur R, Sofat R, Casas JP, Wong I, Hemingway H, Hingorani A",
    "collections": [
      {
        "name": "CALIBER",
        "value": 21
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2021-10-06T16:05:36.805828Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Dysmenorrhoea---f0e6ab80-177b-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Dysmenorrhoea.cwl",
    "data_sources": [
      {
        "name": "CPRD GOLD",
        "value": 5,
        "uid": "a29feafa-7bdd-44e9-b977-c9d26425e67f",
        "url": "https://healthdatagateway.org/en/dataset/694",
        "datasource_id": 694
      },
      {
        "name": "HES Admitted Patient Care data for CPRD GOLD",
        "value": 9,
        "uid": "4bcf64a6-f404-4ef4-ae6e-172512ab5f43",
        "url": "https://healthdatagateway.org/en/dataset/674",
        "datasource_id": 674
      }
    ],
    "coding_system": [
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "Read codes v2",
        "value": 5
      },
      {
        "name": "Med codes",
        "value": 8
      }
    ],
    "event_date_range": "01/01/1999 - 01/07/2016",
    "concept_information": [
      {
        "concept_id": 1134,
        "concept_version_id": 3407,
        "concept_name": "Dysmenorrhoea - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH157",
        "phenotype_version_id": 314,
        "phenotype_name": "Dysmenorrhoea",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "1574.00",
            "description": "H/O: dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "Medcode": "6383.0",
              "Category": "History of Dysmenorrhoea"
            }
          },
          {
            "code": "1574.11",
            "description": "H/O: painful periods",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "Medcode": "7759.0",
              "Category": "History of Dysmenorrhoea"
            }
          },
          {
            "code": "Eu45y11",
            "description": "[X]Psychogenic dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "Medcode": "46925.0",
              "Category": "Diagnosis of Dysmenorrhoea"
            }
          },
          {
            "code": "K583.00",
            "description": "Dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "Medcode": "693.0",
              "Category": "Diagnosis of Dysmenorrhoea"
            }
          },
          {
            "code": "K583000",
            "description": "Primary dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "Medcode": "9869.0",
              "Category": "Diagnosis of Dysmenorrhoea"
            }
          },
          {
            "code": "K583100",
            "description": "Secondary dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "Medcode": "11467.0",
              "Category": "Diagnosis of Dysmenorrhoea"
            }
          },
          {
            "code": "K583.11",
            "description": "Painful menorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "Medcode": "3266.0",
              "Category": "Diagnosis of Dysmenorrhoea"
            }
          },
          {
            "code": "K583.12",
            "description": "Painful menstruation",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "Medcode": "7938.0",
              "Category": "Diagnosis of Dysmenorrhoea"
            }
          },
          {
            "code": "K583.13",
            "description": "Period pains",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "Medcode": "1666.0",
              "Category": "Diagnosis of Dysmenorrhoea"
            }
          },
          {
            "code": "K583.14",
            "description": "Spasmodic dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "Medcode": "24183.0",
              "Category": "Diagnosis of Dysmenorrhoea"
            }
          }
        ]
      },
      {
        "concept_id": 1135,
        "concept_version_id": 3409,
        "concept_name": "Dysmenorrhoea - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH157",
        "phenotype_version_id": 314,
        "phenotype_name": "Dysmenorrhoea",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "11467.0",
            "description": "Diagnosis of Dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "ReadcodeDescr": "Secondary dysmenorrhoea",
              "Readcode": "K583100"
            }
          },
          {
            "code": "1666.0",
            "description": "Diagnosis of Dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "ReadcodeDescr": "Period pains",
              "Readcode": "K583.13"
            }
          },
          {
            "code": "24183.0",
            "description": "Diagnosis of Dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "ReadcodeDescr": "Spasmodic dysmenorrhoea",
              "Readcode": "K583.14"
            }
          },
          {
            "code": "3266.0",
            "description": "Diagnosis of Dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "ReadcodeDescr": "Painful menorrhoea",
              "Readcode": "K583.11"
            }
          },
          {
            "code": "46925.0",
            "description": "Diagnosis of Dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "ReadcodeDescr": "[X]Psychogenic dysmenorrhoea",
              "Readcode": "Eu45y11"
            }
          },
          {
            "code": "6383.0",
            "description": "History of Dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "ReadcodeDescr": "H/O: dysmenorrhoea",
              "Readcode": "1574.00"
            }
          },
          {
            "code": "693.0",
            "description": "Diagnosis of Dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "ReadcodeDescr": "Dysmenorrhoea",
              "Readcode": "K583.00"
            }
          },
          {
            "code": "7759.0",
            "description": "History of Dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "ReadcodeDescr": "H/O: painful periods",
              "Readcode": "1574.11"
            }
          },
          {
            "code": "7938.0",
            "description": "Diagnosis of Dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "ReadcodeDescr": "Painful menstruation",
              "Readcode": "K583.12"
            }
          },
          {
            "code": "9869.0",
            "description": "Diagnosis of Dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "ReadcodeDescr": "Primary dysmenorrhoea",
              "Readcode": "K583000"
            }
          }
        ]
      },
      {
        "concept_id": 1136,
        "concept_version_id": 3411,
        "concept_name": "Dysmenorrhoea - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH157",
        "phenotype_version_id": 314,
        "phenotype_name": "Dysmenorrhoea",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "N94.4",
            "description": "Primary dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "Category": "Diagnosis of Dysmenorrhoea"
            }
          },
          {
            "code": "N94.5",
            "description": "Secondary dysmenorrhoea",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "Category": "Diagnosis of Dysmenorrhoea"
            }
          },
          {
            "code": "N94.6",
            "description": "Dysmenorrhoea, unspecified",
            "attributes": {
              "Disease": "Dysmenorrhoea",
              "Category": "Diagnosis of Dysmenorrhoea"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/g4xa-tz98",
    "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": 314,
        "version_name": "Dysmenorrhoea",
        "version_date": "2021-10-06T16:05:36.831756Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]