Skip to content

Do not consume placeholder imms api values#6363

Merged
jf-x-dev merged 3 commits intonextfrom
do-not-consume-placeholder-imms-api-values
Apr 1, 2026
Merged

Do not consume placeholder imms api values#6363
jf-x-dev merged 3 commits intonextfrom
do-not-consume-placeholder-imms-api-values

Conversation

@jf-x-dev
Copy link
Copy Markdown
Contributor

@jf-x-dev jf-x-dev commented Mar 18, 2026

Some Imms API records have placeholder values which would not be worth consuming. For example, some records have an expiry date of 9999-12-31 or a URN/ODS code of X99999. This information is not useful and it is probably better for users if we leave these fields as nil in these cases.

Jira-Issue: MAV-4095

@jf-x-dev jf-x-dev force-pushed the do-not-consume-placeholder-imms-api-values branch 3 times, most recently from f61ca3a to 2137501 Compare March 23, 2026 08:00
@jf-x-dev jf-x-dev marked this pull request as ready for review March 23, 2026 08:00
@jf-x-dev jf-x-dev requested a review from a team as a code owner March 23, 2026 08:00
Comment thread spec/lib/fhir_mapper/location_spec.rb Outdated
@jf-x-dev jf-x-dev added the data consistency Validations and data tweaks label Mar 23, 2026
@jf-x-dev jf-x-dev force-pushed the do-not-consume-placeholder-imms-api-values branch 3 times, most recently from 8194491 to 09e1732 Compare March 23, 2026 11:36
@jf-x-dev jf-x-dev modified the milestones: v7.7.0, v7.8.0 Mar 23, 2026
@mikejamesthompson mikejamesthompson added the imms fhir api Related to the immunisations FHIR API label Mar 31, 2026
jf-x-dev added 3 commits April 1, 2026 10:29
* Sets the performed_ods_code to nil instead

Jira-Issue: MAV-4095
* Many records have a placeholder expiry date of 9999-12-31
* There may be other placeholders that we have not seen yet
* We'll only store the date if it has a realistic expiry date
* Continue filling the location name with the location code if it is not a placeholder but Mavis doesn't recognize it

Jira-Issue: MAV-4095
@jf-x-dev jf-x-dev force-pushed the do-not-consume-placeholder-imms-api-values branch from 09e1732 to 4488f88 Compare April 1, 2026 09:30
@jf-x-dev jf-x-dev merged commit 220d534 into next Apr 1, 2026
16 checks passed
@jf-x-dev jf-x-dev deleted the do-not-consume-placeholder-imms-api-values branch April 1, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data consistency Validations and data tweaks imms fhir api Related to the immunisations FHIR API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants