diff --git a/analysis/codelists.py b/analysis/codelists.py index 18e4cb7..ab06f3c 100644 --- a/analysis/codelists.py +++ b/analysis/codelists.py @@ -67,7 +67,8 @@ ) # Community Pharmacist Consultation Service for minor illness - 1577041000000109 # Pharmacy First service - 983341000000102 -pharmacy_first_consultation_codelist = ["1577041000000109", "983341000000102"] +# Community Pharmacy First Service - 2129921000000100 +pharmacy_first_consultation_codelist = ["1577041000000109", "983341000000102", "2129921000000100"] # PF codes separated for individual analysis pharmacy_first_event_codes = { @@ -75,5 +76,7 @@ "consultation_service": ["1577041000000109"], # Pharmacy First service (qualifier value) "pharmacy_first_service": ["983341000000102"], - "combined_pf_service": ["1577041000000109", "983341000000102"], + # Community Pharmacy Pharmacy First Service + "community_pharmacy_first_service": ["2129921000000100"], + "combined_pf_service": ["1577041000000109", "983341000000102", "2129921000000100"], } diff --git a/lib/functions/tidy_measures.R b/lib/functions/tidy_measures.R index 6d1ff6f..f76bd47 100644 --- a/lib/functions/tidy_measures.R +++ b/lib/functions/tidy_measures.R @@ -2,6 +2,7 @@ pf_measures_name_dict <- list( consultation_service = "Consultation Service", pharmacy_first_service = "Pharmacy First Consultation", + community_pharmacy_first_service = "Community Pharmacy First Service", combined_pf_service = "Pharmacy First Consultations (Combined)", acute_otitis_media = "Acute Otitis Media", herpes_zoster = "Herpes Zoster", @@ -15,6 +16,7 @@ pf_measures_name_dict <- list( pf_measures_name_mapping <- list( consultation_service = "clinical_service", pharmacy_first_service = "clinical_service", + community_pharmacy_first_service = "clinical_service", combined_pf_service = "pharmacy_first_services", acute_otitis_media = "clinical_condition", herpes_zoster = "clinical_condition",