From 82c6db8ca8ac051b1b61b60ab6fca9339a4cc978 Mon Sep 17 00:00:00 2001 From: James Cockayne Date: Wed, 8 Jan 2025 12:42:06 +0000 Subject: [PATCH] Use concept 0 for genders other than male/female as it is the only other allowed concept other than the two available standards. --- DataQualityDashboard/known_errors.txt | 1 - OmopTransformer/Transformation/NhsGenderLookup.cs | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/DataQualityDashboard/known_errors.txt b/DataQualityDashboard/known_errors.txt index 695d562..0273a43 100644 --- a/DataQualityDashboard/known_errors.txt +++ b/DataQualityDashboard/known_errors.txt @@ -1,5 +1,4 @@ table_measurepersoncompleteness_observation field_isstandardvalidconcept_death_cause_concept_id -field_isstandardvalidconcept_person_gender_concept_id field_plausiblevaluelow_cdm_source_source_release_date field_withinvisitdates_visit_detail_visit_detail_start_date \ No newline at end of file diff --git a/OmopTransformer/Transformation/NhsGenderLookup.cs b/OmopTransformer/Transformation/NhsGenderLookup.cs index 8f4f71c..bff6b30 100644 --- a/OmopTransformer/Transformation/NhsGenderLookup.cs +++ b/OmopTransformer/Transformation/NhsGenderLookup.cs @@ -15,10 +15,10 @@ internal class NhsGenderLookup : ILookup "2", new ValueWithNote("8532", "Female") }, { - "9", new ValueWithNote("8551", "Indeterminate (unable to be classified as either male or female)") + "9", new ValueWithNote("0", "Indeterminate (unable to be classified as either male or female)") }, { - "X", new ValueWithNote("8551", "Not known") + "X", new ValueWithNote("0", "Not known") }, };