[
  {
    "phenotype_id": "PH864",
    "phenotype_version_id": 1807,
    "name": "Contact with Mental Health Services",
    "definition": "Background: \n\nStudies have reported an increased risk of mortality among people prescribed mirtazapine compared to other antidepressants. The study aimed to compare all-cause and cause-specific mortality between adults prescribed mirtazapine or other second-line antidepressants.\n\n\nMethods: \n\nThis cohort study used English primary care electronic medical records, hospital admission records, and mortality data from the Clinical Practice Research Datalink (CPRD), for the period 01 January 2005 to 30 November 2018. It included people aged 18–99 years with depression first prescribed a selective serotonin reuptake inhibitor (SSRI) and then prescribed mirtazapine (5081), a different SSRI (15,032), amitriptyline (3905), or venlafaxine (1580). Follow-up was from starting to stopping the second antidepressant, with a 6-month wash-out window, censoring at the end of CPRD follow-up or 30 November 2018. Age-sex standardised rates of all-cause mortality and death due to circulatory system disease, cancer, or respiratory system disease were calculated. Survival analyses were performed, accounting for baseline characteristics using inverse probability of treatment weighting.\n\n\nResults: \n\nThe cohort contained 25,598 people (median age 41 years). The mirtazapine group had the highest standardised mortality rate, with an additional 7.8 (95% confidence interval (CI) 5.9–9.7) deaths/1000 person-years compared to the SSRI group. Within 2 years of follow-up, the risk of all-cause mortality was statistically significantly higher in the mirtazapine group than in the SSRI group (weighted hazard ratio (HR) 1.62, 95% CI 1.28–2.06). No significant difference was found between the mirtazapine group and the amitriptyline (HR 1.18, 95% CI 0.85–1.63) or venlafaxine (HR 1.11, 95% CI 0.60–2.05) groups. After 2 years, the risk was significantly higher in the mirtazapine group compared to the SSRI (HR 1.51, 95% CI 1.04–2.19), amitriptyline (HR 2.59, 95% CI 1.38–4.86), and venlafaxine (HR 2.35, 95% CI 1.02–5.44) groups. The risks of death due to cancer (HR 1.74, 95% CI 1.06–2.85) and respiratory system disease (HR 1.72, 95% CI 1.07–2.77) were significantly higher in the mirtazapine than in the SSRI group.\n\n\nConclusions: \n\nMortality was higher in people prescribed mirtazapine than people prescribed a second SSRI, possibly reflecting residual differences in other risk factors between the groups. Identifying these potential health risks when prescribing mirtazapine may help reduce the risk of mortality.\n\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [
      {
        "doi": null,
        "details": "Rebecca M Joseph, Ruth H Jack, Richard Morriss, Roger David Knaggs, Debbie Buttler, Chris Hollis, Julia Hippisley-Cox, Carrol Coupland, The risk of all-cause and cause-specific mortality in people prescribed mirtazapine an active comparator cohort study using electronic health records. BMC Medicine, 20(43), 2022."
      }
    ],
    "validation": "",
    "citation_requirements": "",
    "created": "2022-04-04T07:07:11.469421Z",
    "author": "Rebecca M Joseph, Ruth H Jack, Richard Morriss, Roger David Knaggs, Debbie Buttler, Chris Hollis, Julia Hippisley-Cox, Carrol Coupland",
    "collections": [
      {
        "name": "ClinicalCodes Repository",
        "value": 25
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2022-04-04T07:07:11.469445Z",
    "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
      }
    ],
    "event_date_range": "01/01/2005 - 30/11/2018",
    "concept_information": [
      {
        "concept_id": 2614,
        "concept_version_id": 6641,
        "concept_name": "Contact with Mental Health Services - Primary Care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH864",
        "phenotype_version_id": 1807,
        "phenotype_name": "Contact with Mental Health Services",
        "code_attribute_header": [
          "Entity type",
          "Category",
          "Coding System (Read)"
        ],
        "codes": [
          {
            "code": "64R6.00",
            "description": "child: school psychol. service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "64R6.11",
            "description": "child referral-school psychol.",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "64R7.00",
            "description": "child: clinical psychologist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "64R7.11",
            "description": "child refer- clinical psychol.",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "6779",
            "description": "psychological counselling",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "677A.00",
            "description": "psychosexual counselling",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "67X..00",
            "description": "psychoeducation",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "69F..00",
            "description": "mental health act examination",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "69FZ.00",
            "description": "mental health act exam nos",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7P22.00",
            "description": "rehabilitation for psychiatric disorders",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7P22y00",
            "description": "other specified rehabilitation for psychiatric disorders",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7P22z00",
            "description": "rehabilitation for psychiatric disorders nos",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8A2..00",
            "description": "psychiatric monitoring",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8A21.00",
            "description": "psychiatric observation",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8A2Z.00",
            "description": "psychiatric monitoring nos",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8Ce7.00",
            "description": "preferred place of care - mental health unit",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8CM2.00",
            "description": "psychiatry care plan",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8CM9.00",
            "description": "mental health care programme approach contingency plan",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8CM9.11",
            "description": "mental health cpa contingency plan available",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8CQ..00",
            "description": "mental health crisis plan",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8CQ0.00",
            "description": "completion of mental health crisis plan",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8CQ1.00",
            "description": "mental health care programme approach crisis plan",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8CV3.00",
            "description": "psychological therapy started",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8CY..00",
            "description": "mental health care programme approach",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8G10.00",
            "description": "psychotherapy - behavioural",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8G11.00",
            "description": "psychotherapy - cognitive",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8G12.00",
            "description": "psychotherapy - psychodynamic",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8G12000",
            "description": "short-term psychodynamic therapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8G13100",
            "description": "cbtp - cognitive behavioural therapy for psychosis",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8G16.00",
            "description": "interpersonal psychotherapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8G51.00",
            "description": "group psychotherapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8GA..00",
            "description": "psychological nursing",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8GG..00",
            "description": "systemic psychotherapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8GH..00",
            "description": "child psychotherapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8H23.00",
            "description": "admit psychiatric emergency",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8H23000",
            "description": "emerg psychiatric admiss mha",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8H2L.00",
            "description": "admit psychogeriatric emergency",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8H2T.00",
            "description": "emergency voluntary psychiatric admission mental health act",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8H34.00",
            "description": "psychiatric day care",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8H38.00",
            "description": "non-urgent psychiatric admisn.",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8H3Q.00",
            "description": "non-urgent psychogeriatric admission",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8H49.00",
            "description": "psychiatric referral",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8H4D.00",
            "description": "referral to psychogeriatrician",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8H4f.00",
            "description": "referral to learning disabilities psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8H4P.00",
            "description": "referral to child psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8H7A.00",
            "description": "refer to mental health worker",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8H7B.00",
            "description": "refer to community psych.nurse",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8H7T.00",
            "description": "refer to psychologist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HB8.00",
            "description": "mental therapy follow-up",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HBK.00",
            "description": "mental health triage nurse follow up",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8Hc..00",
            "description": "referral to mental health team",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8Hc0.00",
            "description": "referral to community mental health team",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8Hc1.00",
            "description": "referral to mental health crisis team",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8Hc2.00",
            "description": "referral to primary care mental health team",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8Hg7.00",
            "description": "discharged from care of mental health triage nurse",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8Hg9.00",
            "description": "discharged from community mental health service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HgB.00",
            "description": "discharged by mental health primary care worker",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HgY.00",
            "description": "discharge from child and adolescent mental health service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HHn.00",
            "description": "referral to non nhs mental health community service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HHo.00",
            "description": "referral to older age community mental health team",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HHr.00",
            "description": "referral for mental health self-help literature",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HHR.00",
            "description": "referral to child and adolescent psychiatry service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HHs.00",
            "description": "referral to psychosis early intervention service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HHT.00",
            "description": "referral to psychotherapist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HHu.00",
            "description": "referral to primary care mental health gateway worker",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HHv.00",
            "description": "referral to primary care mental health graduate worker",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8Hj2.00",
            "description": "referral to psycho-educational group",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HJ3.00",
            "description": "psychiatric self-referral",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HK9.00",
            "description": "psychiatric d.v. requested",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HKC.00",
            "description": "psychogeriatrics d.v. requestd",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HkK.00",
            "description": "referral to improving access to psychological therapies prog",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8Hl9.00",
            "description": "referral to educational psychologist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HL9.00",
            "description": "psychiatry d.v. done",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HlB.00",
            "description": "urgent referral to psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HLC.00",
            "description": "psychogeriatric d.v. done",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HlD.00",
            "description": "referral to forensic psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HM9.00",
            "description": "listed for psychiatric admissn",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HMC.00",
            "description": "listed for psychogeriatr admis",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HTc.00",
            "description": "referral to psychosexual clinic",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HVi.00",
            "description": "private referral to psychologist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HVO.00",
            "description": "private referral to psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8HVS.00",
            "description": "private referral to psychogeriatrician",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "8T21.00",
            "description": "referral for mental health assessment",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9239",
            "description": "fp22-in mental hospital",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9bA..00",
            "description": "psychiatry",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9bA0.00",
            "description": "mental handicap (specialty)",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9bA1.00",
            "description": "mental illness (specialty)",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9bA2.00",
            "description": "child and adolescent psychiatry",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9bA3.00",
            "description": "forensic psychiatry",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9bA4.00",
            "description": "psychotherapy (specialty)",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9bA5.00",
            "description": "old age psychiatry",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N0B.00",
            "description": "seen in psychogeriatric clinic",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N0T.00",
            "description": "seen in child psychology clinic",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N1H.00",
            "description": "seen in elderly mentaly infirm home",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N1M.00",
            "description": "seen in psychology clinic",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N1T.00",
            "description": "seen in psychiatry clinic",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N1yA00",
            "description": "seen in psychogeriatric clinic",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N2a.00",
            "description": "seen by community psychiatric nurse",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N2E200",
            "description": "seen by core psychiatry trainee doctor",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N2q.00",
            "description": "seen by primary care graduate mental health worker",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N2r.00",
            "description": "seen by mental health triage nurse",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N2v.00",
            "description": "seen by primary care mental health gateway worker",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N2W.00",
            "description": "seen by psychologist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N2W000",
            "description": "seen by assistant psychologist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N2W100",
            "description": "seen by forensic psychologist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N2W200",
            "description": "seen by child and adolescent psychologist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N2W300",
            "description": "seen by trainee psychologist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N2z.00",
            "description": "seen by child and adolescent mental health service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N5F.00",
            "description": "patient initiated encounter with mental health crisis team",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N5G400",
            "description": "111 contact disposition to mental health service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9N6h.00",
            "description": "referral by mental health service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9Ng6.00",
            "description": "independent mental capacity advocate instructed",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NI6.00",
            "description": "psychiatric outreach clinic",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NJb.00",
            "description": "in-house psychiatry first appointment",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NJc.00",
            "description": "in-house psychiatry discharge",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NJd.00",
            "description": "in-house psychiatry follow-up appointment",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9Nk6.00",
            "description": "seen in mental health clinic",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9Nla.00",
            "description": "seen by psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9Nla000",
            "description": "seen by child and adolescent psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9Nla100",
            "description": "seen by consultant psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NlG.00",
            "description": "seen by forensic psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NlK.00",
            "description": "seen by psychotherapist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NlK000",
            "description": "seen by trainee psychotherapist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NN4.00",
            "description": "has community mental health team key worker",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NN5.00",
            "description": "under care of psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NN7.00",
            "description": "under care of mental health team",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NN7000",
            "description": "under care of mental health in-reach team",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NNE.00",
            "description": "under the care of psychologist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NNE000",
            "description": "under care of educational psychologist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NNM.00",
            "description": "under care of community psychiatric nurse",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NNQ.00",
            "description": "under care of hospital psychiatric team",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9No0.00",
            "description": "seen in child and adolescent psychiatry clinic",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NS1.00",
            "description": "attended psycho-educational group",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NSA.00",
            "description": "unsuitable for biopsychosocial assessment",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "9NSC.00",
            "description": "accepted by psychological talking therapy service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z522.00",
            "description": "behavioural psychotherapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z571.00",
            "description": "systemic family psychotherapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z572.00",
            "description": "strategic family psychotherapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z573.00",
            "description": "structural family psychotherapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z574.00",
            "description": "narrative family psychotherapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z576.00",
            "description": "psychosexual therapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z576100",
            "description": "generic psychosexual therapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z576200",
            "description": "relationship orientated psychosexual therapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z5A..00",
            "description": "psychoanalytic and psychodynamic therapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z5A..11",
            "description": "psychoanalytical - psychodynamic therapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z5A3.00",
            "description": "psychodynamic psychotherapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z5A3100",
            "description": "long-term psychodynamic psychotherapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z5A3400",
            "description": "psychodynamic-interpersonal psychotherapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z5A4.00",
            "description": "brief focal psychodynamic therapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z5A5.00",
            "description": "group psychotherapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z5A5100",
            "description": "group analytic psychotherapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z5A6200",
            "description": "child-based psychoanalytic psychotherapy",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z5C1.00",
            "description": "day psychotherapy programme",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Z922.00",
            "description": "care planning under section 117 of mental health act 1983",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL1B.00",
            "description": "under care of psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL1B100",
            "description": "under care of child and adolescent psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL1B200",
            "description": "under care of forensic psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL1B300",
            "description": "under care of liaison psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL1B400",
            "description": "under care of psychogeriatrician",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL1B411",
            "description": "under care of elderly mentally ill psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL1B412",
            "description": "under care of old age psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL1B500",
            "description": "under care of psychiatrist for mental handicap",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL1B600",
            "description": "under care of rehabilitation psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL22B00",
            "description": "under care of nurse psychotherapist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL22E00",
            "description": "under care of psychiatric nurse",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL23100",
            "description": "under care of community psychiatric nurse",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL31400",
            "description": "under care of mental health counsellor",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL34.00",
            "description": "under care of psychotherapist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL5B.00",
            "description": "referral to psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL5B100",
            "description": "referral to child and adolescent psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL5B111",
            "description": "referral to child psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL5B200",
            "description": "referral to forensic psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL5B300",
            "description": "referral to liaison psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL5B400",
            "description": "referral to rehabilitation psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL5B500",
            "description": "referral to psychiatrist for mental handicap",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL62B00",
            "description": "referral to nurse psychotherapist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL62E00",
            "description": "referral to psychiatric nurse",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL73400",
            "description": "referral to mental health counsellor",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL77.00",
            "description": "referral to psychotherapist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL78.00",
            "description": "referral to psychologist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL78.11",
            "description": "refer to psychologist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL9D.00",
            "description": "seen by psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL9D100",
            "description": "seen by child and adolescent psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL9D200",
            "description": "seen by forensic psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL9D300",
            "description": "seen by liaison psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL9D400",
            "description": "seen by psychogeriatrician",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL9D411",
            "description": "seen by psychiatrist for the elderly mentally ill",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL9D412",
            "description": "seen by old age psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL9D500",
            "description": "seen by psychiatrist for mental handicap",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZL9D600",
            "description": "seen by rehabilitation psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLA2B00",
            "description": "seen by nurse psychotherapist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLA2E00",
            "description": "seen by psychiatric nurse",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLA3100",
            "description": "seen by community psychiatric nurse",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLB5.00",
            "description": "seen by mental health counsellor",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLBB.00",
            "description": "seen by psychologist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLBC.00",
            "description": "seen by psychotherapist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLD1400",
            "description": "discharge by mental health counsellor",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLD2a00",
            "description": "discharge by psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLD2b00",
            "description": "discharge by child and adolescent psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLD2c00",
            "description": "discharge by forensic psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLD2d00",
            "description": "discharge by liaison psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLD2e00",
            "description": "discharge by psychogeriatrician",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLD2e11",
            "description": "discharge by old age psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLD2e12",
            "description": "discharge by psychiatrist for the elderly mentally ill",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLD2f00",
            "description": "discharge by psychiatrist for mental handicap",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLD2g00",
            "description": "discharge by rehabilitation psychiatrist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLD7900",
            "description": "discharge by nurse psychotherapist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLD7C00",
            "description": "discharge by psychiatric nurse",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLD8100",
            "description": "discharge by community psychiatric nurse",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLDA.00",
            "description": "discharge by educational psychologist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLDB.00",
            "description": "discharge by psychotherapist",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLE9.00",
            "description": "discharge from psychiatry service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLE9100",
            "description": "discharge from child and adolescent psychiatry service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLE9200",
            "description": "discharge from forensic psychiatry service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLE9300",
            "description": "discharge from liaison psychiatry service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLE9400",
            "description": "discharge from mental handicap psychiatry service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLE9500",
            "description": "discharge from psychogeriatrician service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLE9511",
            "description": "discharge from old age psychiatry service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLE9512",
            "description": "discharge from elderly mentally ill service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLE9600",
            "description": "discharge from rehabilitation psychiatry service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLED.00",
            "description": "discharge from psychotherapy service",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLF2200",
            "description": "discharge from psychiatry day hospital",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLF2300",
            "description": "discharge from psychogeriatric day hospital",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLF2311",
            "description": "discharge from old age psychiatry day hospital",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZLF2312",
            "description": "discharge from elderly mentally ill day hospital",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZV66300",
            "description": "[v]convalescence after psychotherapy or mental dis treatment",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZV67300",
            "description": "[v]psychotherapy/other treatment-mental disorder follow-up",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZV69.00",
            "description": "[v]psychiatric paitient admission details",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZV69000",
            "description": "[v]psychiatric patient - not previously admitted",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZV69100",
            "description": "[v]psych patient - prev admitted this health care provider",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZV69111",
            "description": "[v]psychiatric patient - previous admission this district",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZV69200",
            "description": "[v]psych patient - prev admitted other health care provider",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZV69211",
            "description": "[v]psychiatric patient - previously admitted other district",
            "attributes": {
              "Entity type": "res176: Contact with mental health services",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/qrwv-ax66",
    "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": 1807,
        "version_name": "Contact with Mental Health Services",
        "version_date": "2022-04-04T07:07:11.495983Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]