Skip to content

Primary care encounters, date of uk entry code demographics and time from 1st prac reg to first migration code #43

Merged
YaminaB merged 8 commits into
mainfrom
primary-care-activity
Jun 18, 2026
Merged

Primary care encounters, date of uk entry code demographics and time from 1st prac reg to first migration code #43
YaminaB merged 8 commits into
mainfrom
primary-care-activity

Conversation

@YaminaB

@YaminaB YaminaB commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

This PR adds a script to examine primary care encounters over time by migration status where the denominators are all individuals who have each respective migration status (migrant, non-migrant, unknown) and meet the general inclusion criteria. The migration status variable is created using the migration_status_variable.py script.

Because I want to capture any planned encounters, regardless of whether they actually occurred or not, I am including appointments with a seen_date or start_date within the given interval.

@JaidipGill JaidipGill left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, just the one question about the any_planned_encoutner measure.

Comment thread analysis/primary_care_activity_comparisons.py
@YaminaB YaminaB changed the title Planned primary care encounters Primary care encounters, date of uk entry code demographics and time from 1st prac reg to first migration code Jun 18, 2026
@YaminaB

YaminaB commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator Author

Also added:

  • time from first prac registration to first migration status (across types)
  • demographic description of people who only have a date of UK entry code and no other migration-related information

@YaminaB YaminaB merged commit 8cb2491 into main Jun 18, 2026
1 check failed
@YaminaB YaminaB deleted the primary-care-activity branch June 18, 2026 15:42
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 this pull request may close these issues.

2 participants