Stream: Death on FHIR
Topic: Decedent's Military Service
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
Saul Kravitz (Sep 09 2021 at 22:05):
Logged as NVSS-263 -- will investigate.
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
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
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
Velan (Sep 14 2021 at 19:41):
attached json file generated today morning....
YC_DEATH_2109140925_19018607_New.json
Velan (Sep 14 2021 at 19:43):
Canary validated the file and error out....
Sarah MacAdam (Sep 14 2021 at 20:22):
Thank you @Velan I am looking into this issue now.
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" } };
Velan (Sep 14 2021 at 20:55):
setting value to the member "MilitaryServiceBoolean" of DeathRecord.
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?
Velan (Sep 14 2021 at 21:25):
not passing null , setting the value "UNK"
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