<commit_before>{
    "name": "Hospital Only Prescribing",
    "title": [
        "Hospital Only Prescribing"
    ],
    "description": [
        "Hospital Only Prescribing"
    ],
    "why_it_matters": [
        "Hospital Only Prescribing"
    ],
    "numerator_short": "Items",
    "denominator_short": "1000 Patients",
    "url": null,
    "is_percentage": false,
    "is_cost_based": false,
    "low_is_good": true,
    "tags": [
        "core"
    ],
    "numerator_type": "bnf_items",
    "numerator_where": [
        "bnf_code IN (SELECT DISTINCT(bnf_code) FROM {measures}.dmd_objs_hospital_only)",
        "AND bnf_code NOT IN (",
        "'0406000S0AAACAC', -- Ondansetron HCl_Tab 8mg\n",
        "'0408010F0AAABAB', -- Clonazepam_Tab 500mcg\n",
        "'0408010F0AAACAC', -- Clonazepam_Tab 2mg\n",
        "'0703021Q0AAAAAA', -- Desogestrel_Tab 75mcg\n",
        "'0704050R0AAABAB' -- Tadalafil_Tab 20mg\n",
        ")"
    ],
    "denominator_type": "list_size"
}
<commit_msg>Update hospital_only.json<commit_after>{
    "name": "Hospital Only Prescribing",
    "title": [
        "Hospital Only Prescribing"
    ],
    "description": [
        "Primary care prescribing of Hospital Only medicines as designated by the NHS Dictionary of Medicines and Devices per 1000 patients"
    ],
    "why_it_matters": [
        "The <a href='https://ebmdatalab.net/what-is-the-dmd-the-nhs-dictionary-of-medicines-and-devices/'> NHS Dictionary of Medicines and Devices </a> designates certain",
        "medicines as <b>hospital only<b> as the manufacturer has specified it should generally be used in hospitals. This measure suports review and audit",
        " of appropriateness as sometimes they may be selected in error for example <a href='https://ebmdatalab.net/zuclopenthixol-acetate-a-new-kind-of-measure-on-openprescribing/'> zuclopenthixol acetate (blog here) </a>.",
        "<p>Please note that this is an experimental measure. We would be grateful for",
    "any feedback at <a href='mailto:<EMAIL>?Subject=hospital%20only'><EMAIL></a>"
     ],
    "numerator_short": "Items",
    "denominator_short": "1000 Patients",
    "url": null,
    "is_percentage": false,
    "is_cost_based": false,
    "low_is_good": false,
    "tags": [
        "core",
        "safety"
    ],
    "numerator_type": "bnf_items",
    "numerator_where": [
        "bnf_code IN (SELECT DISTINCT(bnf_code) FROM {measures}.dmd_objs_hospital_only)",
        "AND bnf_code NOT IN (",
        "'0406000S0%CAC', -- Ondansetron HCl_Tab 8mg\n",
        "'0408010F0%BAB', -- Clonazepam_Tab 500mcg\n",
        "'0408010F0%CAC', -- Clonazepam_Tab 2mg\n",
        "'0703021Q0%AAAA', -- Desogestrel_Tab 75mcg\n",
        "'0704050R0AAABAB' -- Tadalafil_Tab 20mg\n",
        ")"
    ],
    "denominator_type": "list_size"
}

{'fraction_non_alphanumeric': 0.13974267333809864, 'fraction_numerical': 0.040028591851322376, 'mean_word_length': 3.004291845493562, 'pattern_counts': {'":': 28, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4888336', 'n_tokens_mistral': 1090, 'n_tokens_neox': 976, 'n_words': 213}