Stream: implementers
Topic: fhir-net-api deserialization issue
Sean McIlvenna (Jul 28 2016 at 16:07):
In the alpha (STU3) version of the fhir-net-api, I am trying to deserialize the base profile bundle from hl7-fhir.github.io (profiles-resources.xml). I get an error "Literal ActivityDefinition is not a valid value for enumeration ResourceType". It seems that ActivityDefinition is not defined in the fhir-net-api's ResourceType enumeration. Does anyone know if this is just something new in FHIR STU3 that the fhir-net-api hasn't accounted for, yet? Or am I just doing something wrong?
Grahame Grieve (Jul 28 2016 at 19:30):
I think you need a new release - should be soon.
Sean McIlvenna (Jul 28 2016 at 21:45):
yah... found that I was using the package available on nuget, which is not the latest. had to checkout the fhir-net-api source code's f-connectathon-sep2016 branch, build the project separately, and manually include the dlls in my projects
Sean McIlvenna (Jul 28 2016 at 21:45):
that seemed to fix most of the problems
Brian Postlethwaite (Jul 29 2016 at 13:23):
I've pushed a new update with the final models generated into it a short time ago.
Last updated: Apr 12 2022 at 19:14 UTC