Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve how we define and load clinical codes and codelists #78

Closed
milanwiedemann opened this issue Dec 3, 2024 · 0 comments · Fixed by #86
Closed

Improve how we define and load clinical codes and codelists #78

milanwiedemann opened this issue Dec 3, 2024 · 0 comments · Fixed by #86
Assignees

Comments

@milanwiedemann
Copy link
Member

milanwiedemann commented Dec 3, 2024

we're defining codes in different ways at different places, e.g.:

  • pharmacy_first_med_codelist = (
    acute_otitis_media_tx_cod
    + impetigo_treatment_tx_cod
    + infected_insect_bites_tx_cod
    + shingles_treatment_tx_cod
    + sinusitis_tx_cod
    + sore_throat_tx_cod
    + urinary_tract_infection_tx_cod
    )
    # Community Pharmacist Consultation Service for minor illness - 1577041000000109
    # Pharmacy First service - 983341000000102
    pharmacy_first_consultation_codelist = ["1577041000000109", "983341000000102"]
  • pharmacy_first_event_codes = {
    # # Community Pharmacy (CP) Blood Pressure (BP) Check Service (procedure)
    # "blood_pressure_service": ["1659111000000107"],
    # # Community Pharmacy (CP) Contraception Service (procedure)
    # "contraception_service": ["1659121000000101"],
    # Community Pharmacist (CP) Consultation Service for minor illness (procedure)
    "consultation_service": ["1577041000000109"],
    # Pharmacy First service (qualifier value)
    "pharmacy_first_service": ["983341000000102"],
    "combined_pf_service": ["1577041000000109", "983341000000102"],
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants