Skip to content

Conversation

thomasleese
Copy link
Contributor

In the SystmOne exporter. This situation can occur if a vaccination is recorded in the community clinic, where the location will be nil, and the location_name will be set instead.

This change was made in aae7b83, previously vaccination records in the generic clinic would have a location of the generic clinic, but we want to move to a world where the location is the specific community clinic where the record took place.

This error was spotted by the regression tests and fixes this Sentry error: https://good-machine.sentry.io/issues/6818602795/

@thomasleese thomasleese added this to the v3.2.0 milestone Aug 19, 2025
@thomasleese thomasleese requested a review from a team as a code owner August 19, 2025 07:52
@thomasleese thomasleese added the bug Something isn't working label Aug 19, 2025
@thomasleese thomasleese force-pushed the systm-one-no-location branch from 5e98cfc to 0b6af9f Compare August 19, 2025 07:53
In the SystmOne exporter. This situation can occur if a vaccination is
recorded in the community clinic, where the `location` will be `nil`,
and the `location_name` will be set instead.

This change was made in aae7b83,
previously vaccination records in the generic clinic would have a
location of the generic clinic, but we want to move to a world where the
location is the specific community clinic where the record took place.

This error was spotted by the regression tests and fixes this Sentry
error: https://good-machine.sentry.io/issues/6818602795/
@thomasleese thomasleese force-pushed the systm-one-no-location branch from 0b6af9f to 5a9f91d Compare August 19, 2025 07:54
Copy link

@thomasleese thomasleese enabled auto-merge August 19, 2025 08:22
@thomasleese thomasleese merged commit 6774df9 into next Aug 19, 2025
17 of 18 checks passed
@thomasleese thomasleese deleted the systm-one-no-location branch August 19, 2025 08:27
thomasleese added a commit that referenced this pull request Aug 19, 2025
Handle `nil` vaccination record location
thomasleese added a commit that referenced this pull request Aug 20, 2025
Handle `nil` vaccination record location
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants