Stream: dotnet
Topic: PocoNavigator issue DSTU2
Richard Kavanagh (Jun 29 2018 at 17:21):
I have a test XML bundle that I am navigating by means of the PocoNavigator. The Bunde looks like cap03.JPG
You will see there are two Flag resources each with an identical Subject identifier. When the PocoNavigator creates the list of elements in the Bundle it somehow gets different results for these two references. See attached cap01.JPG cap02.JPG .Look at the 'FhieValue".
Any ideas why this might be?
Ewout Kramer (Jul 02 2018 at 11:40):
Hi Richard, I don't see any differences in cap01/02 as compared to cap03, any pointers to what I should look at specifically (what's FhieValue?)
Richard Kavanagh (Jul 02 2018 at 15:16):
Cap03 is the instance that is being used. You should see that for both instances of the Flag resource the subject is the same. Cap01/Cap02 are the two subject references as per the PocoNavigator. The only difference is in "FhirValue" (Note my previous typo). My question is why they have different values when they are both the same (in the XML at least).
Ewout Kramer (Jul 03 2018 at 07:24):
Thanks for the clarification, it's clear to me now! Yes, you'd expect these to be the same. The misssing (three sss) is intriguing too. We should be able to find that in the source code. I know @Brian Postlethwaite has created custom debugger display fields for these elements, so that's where I would start looking. Though I agree that since the inputs are the same, the debugger display should display the same thing too....
Ewout Kramer (Jul 03 2018 at 07:32):
Ok, so I cannot find the string "misssing" in the DSTU2 source code, and I don't see it in cap03.jpg either. @Richard Kavanagh can you search on that value? Is that somewhere in your code or in some bit of input file that I cannot see?
Brian Postlethwaite (Jul 04 2018 at 06:03):
I'd expect that the missing could be in the ToString override in the Url class perhaps, rather than something we coded explicitly.
But yes, I'm sure this would be the Debugger Display, to verify this just walk into the Current.FhirValue
Last updated: Apr 12 2022 at 19:14 UTC