FHIR Chat · Decedent's Military Service · Death on FHIR

Stream: Death on FHIR

Topic: Decedent's Military Service


view this post on Zulip Eric Trinh (Genesis) (Sep 09 2021 at 22:00):

For Madelyn Patel record, in spreadsheet it says Y for Military Service but Canary expects Unknown

view this post on Zulip Saul Kravitz (Sep 09 2021 at 22:05):

Logged as NVSS-263 -- will investigate.

view this post on Zulip Eric Trinh (Genesis) (Sep 09 2021 at 22:14):

For Case 3, the code is N but the display text is unknown which i don't think is correct. N is typically the code for No which is also the value in the spreadsheet.
image.png

view this post on Zulip Pete Krautscheid (Sep 10 2021 at 19:43):

It looks we have the same issue with Case 4 as you found with Case 3. These have all been addressed (via https://github.com/nightingaleproject/canary/pull/59) and the fix will be in the next Canary release

view this post on Zulip Velan (Sep 14 2021 at 19:10):

Hi @Saul Kravitz @Sarah MacAdam @Pete Krautscheid

When "UNK" (unknown) value send to VRDR (dotnet) DeathRecord component, json not producing output resource for Military Service section. I noticed that in the VRDR DeathRecord component returning null for all except (Y/N). Can u review that?

Here you have the code snippet....
image.png

Thanks
Velan
NYC DOHMH

view this post on Zulip Velan (Sep 14 2021 at 19:41):

attached json file generated today morning....

YC_DEATH_2109140925_19018607_New.json

view this post on Zulip Velan (Sep 14 2021 at 19:43):

Canary validated the file and error out....

image.png

view this post on Zulip Sarah MacAdam (Sep 14 2021 at 20:22):

Thank you @Velan I am looking into this issue now.

view this post on Zulip Sarah MacAdam (Sep 14 2021 at 20:37):

@Velan What method are you using to set the Military Service to "UNK"? If you are using the library to set it, it should look like this

            record.MilitaryService = new Dictionary<string, string>() {
                { "code", "UNK" },
                { "system", CodeSystems.PH_NullFlavor_HL7_V3 },
                { "display", "unknown" } };

view this post on Zulip Velan (Sep 14 2021 at 20:55):

setting value to the member "MilitaryServiceBoolean" of DeathRecord.

view this post on Zulip Sarah MacAdam (Sep 14 2021 at 21:10):

In that case you can use null in the case the Military service is unknown, it would look like this

record.MilitaryServiceBoolean = null;

is that what your code looks like?

view this post on Zulip Velan (Sep 14 2021 at 21:25):

not passing null , setting the value "UNK"

view this post on Zulip Sarah MacAdam (Sep 14 2021 at 21:34):

@Velan try setting the value to null, and see if that resolves the issue. That's the correct way to set the value when it is unknown.


Last updated: Apr 12 2022 at 19:14 UTC