{
"fieldOne": {
"myCoercedValue": "1",
"myStringValue": "1"
},
"FieldTwo": {
"myCoercedValue": "2",
"myStringValue": "2"
}
}
Ideally, it should have been
{
"fieldOne": "2",
"FieldTwo": "2"
}
How can I make use of FHIR extension in my normal API operations that uses Spring Rest with Jackson?
Adding to it,
My extension is of type BaseIdentifiableElement. I tried using the parsers, but it requires object of type IBaseResource. Tried marking my extension as IBaseResource as well, but it is a clash on method setID(String) between IBaseResource and BaseIdentifiableElement. Not sure if this was the right thing to do, just wanted to get it working somehow.
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/b7b9ff59-4059-481f-86c9-190a0f62cdde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I can use custom resource. But I am not sure if I can declare my extension as resource as well. I thought extensions should be extending BaseIdentifiableElement always.
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+unsubscribe@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/6676b169-2eec-4d45-b3ec-35110652efad%40googlegroups.com.