Stream: hapi
Topic: User resource in DSTU2?
Yunwei Wang (Apr 04 2018 at 17:11):
When I look the DSTU2 metadata http://hapi.fhir.org/baseDstu2/metadata, there is a resource User. But I don't find this resource in DSTU2 spec. (actually, any spec). And the User resource is removed in DSTU3 metadata. Is this a bug?
Grahame Grieve (Apr 04 2018 at 20:12):
there was never a User resource in FHIR, and we won't add one
Michael Calderero (Apr 04 2018 at 20:37):
I think HAPI's tinder generator uses spreadsheet xmls for the DSTU2 resources. There's a user-spreadsheet.xml in the HAPI sources, which I think came from https://gforge.hl7.org/gf/project/fhir/scmsvn/?action=browse&path=%2Fdstu2-last%2Fbuild%2Fsource%2Fuser%2F (and which still exists in GForge in trunk).
It's not in the DSTU2 spec so HAPI should probably remove it. @James Agnew ?
Grahame Grieve (Apr 04 2018 at 20:42):
I should delete it to remove temptation...
Yunwei Wang (Apr 05 2018 at 15:40):
That causes a big problem on my client code using .NET library. It throws exception when parsing metadata because of that User resource. I don't know if there is a way to ignore exception and continue parsing the rest of metadata.
Brian Postlethwaite (Apr 05 2018 at 22:10):
Have answered how to deal with this in the dotnet stream.
James Agnew (May 20 2018 at 20:46):
I'm actually not clear on why this resource crept back into our build. We've removed it once already!
It will be gone once more in HAPI FHIR 3.4.0.
Martijn Harthoorn (May 24 2018 at 08:01):
git blame :)
James Agnew (May 28 2018 at 18:42):
@Martijn Harthoorn .... I'd do that, but then I'd guarantee it's my fault. :p
Martijn Harthoorn (May 30 2018 at 09:12):
:)
Last updated: Apr 12 2022 at 19:14 UTC