[
  {
    "phenotype_id": "PH3280",
    "phenotype_version_id": 8273,
    "name": "Antiphospholipid syndrome",
    "definition": "This codelist was taken from [OpenCodelists](https://www.opencodelists.org/), created by [OpenSAFELY](https://www.opensafely.org/). We recommend viewing this Phenotype on the OpenCodelist website to view the most recent version.\n\n\nCodes that indicate incident or history of antiphospholipid syndrome\n\n\n© University of Oxford for the Bennett Institute for Applied Data Science 2025\\. This work may be copied freely for non\\-commercial research and study.\n\n",
    "implementation": null,
    "publications": null,
    "validation": null,
    "citation_requirements": null,
    "created": "2026-01-26T23:09:18.798866Z",
    "author": "OpenSAFELY",
    "collections": [
      {
        "name": "OpenCodelist",
        "value": 31
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": {
      "id": 1,
      "slug": "opensafely",
      "name": "OpenSAFELY"
    },
    "world_access": 1,
    "updated": "2026-01-26T23:09:19.915972Z",
    "references": [
      {
        "url": "https://github.com/opensafely/codelist-development/issues/39",
        "title": "Github discussion"
      }
    ],
    "signed_off": [],
    "methodology": "These codes were mapped first in SNOMED using the opencodelist builder. The search terms used were:\n\n\n- antiphospholipid syndrome\n- hughes syndrome\n- lupus\n\n\nThough a broad search term, \"lupus\" was included to capture codes such as Lupus anticoagulant positive\". Lupus anticoagulant is synonymous with the detection of antiphospholipid antibodies which is seen in antiphospholipid syndrome. 12 codes were identified in SNOMED.\n\n\nThe codes were discussed by 2 practicing clinicians and 1 epidemiologist. A summary of the discussion is available on the github issue below.\n\n\nThese codes were mapped to CTV3 which resulted in 8 codes. One extra TPP CTV3 code was identified from Tree which resulted in 9 codes in total.\n\n",
    "coding_system": [
      {
        "name": "Read codes v3",
        "value": 6
      }
    ],
    "open_codelist_id": "opensafely/antiphospholipid-syndrome",
    "source_reference": "https://www.opencodelists.org/codelist/opensafely/antiphospholipid-syndrome/3a8c6298",
    "concept_information": [
      {
        "concept_id": 8450,
        "concept_version_id": 15935,
        "concept_name": "opensafely/antiphospholipid-syndrome/3a8c6298",
        "coding_system": {
          "id": 6,
          "name": "Read codes v3",
          "description": "Read codes v3"
        },
        "phenotype_id": "PH3280",
        "phenotype_version_id": 8273,
        "phenotype_name": "Antiphospholipid syndrome",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "X704i",
            "description": "Antiphospholipid syndrome",
            "attributes": null
          },
          {
            "code": "X704j",
            "description": "Primary antiphospholipid syndrome",
            "attributes": null
          },
          {
            "code": "X704k",
            "description": "Primary antiphosph syndrome with organ/system involvement",
            "attributes": null
          },
          {
            "code": "X704l",
            "description": "Prim antiphosph syndrome with multisystem involvement",
            "attributes": null
          },
          {
            "code": "X704m",
            "description": "Secondary antiphospholipid syndrome",
            "attributes": null
          },
          {
            "code": "X704n",
            "description": "Secondary antiphospholip synd with organ/system involvement",
            "attributes": null
          },
          {
            "code": "X704o",
            "description": "Secondary antiphospholipid syndrome with multisystem involv",
            "attributes": null
          },
          {
            "code": "XaaPR",
            "description": "Lupus anticoagulant positive",
            "attributes": null
          },
          {
            "code": "Y2546",
            "description": "Hughes syndrome (Antiphospholipid syndrome)",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "3a8c6298",
    "open_codelist_version_tag": "",
    "status": 1,
    "doi": "https://doi.org/10.48533/jyp5-m840",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 3,
      "name": "OpenCodelists Phenotype",
      "description": "OpenSafely's OpenCodelist Phenotype, visit https://www.opencodelists.org/ to learn more",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 8273,
        "version_name": "Antiphospholipid syndrome",
        "version_date": "2026-01-26T23:09:19.927410Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 8272,
        "version_name": "Antiphospholipid syndrome",
        "version_date": "2026-01-26T23:09:18.810207Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]