Stream: hapi
Topic: DSTU2 QuestionaireResponse
Kevin Mayfield (Jul 16 2017 at 07:53):
I'm processing a FHIR Message and posting the results via REST API. I process most resources using like this: MethodOutcome outcome = client.update().resource(procedureRequest)
.conditionalByUrl("ProcedureRequest?identifier=" + procedureRequest.getIdentifier().get(0).getSystem() + "%7C" + procedureRequest.getIdentifier().get(0).getValue())
.execute();
Kevin Mayfield (Jul 16 2017 at 07:54):
QuestionaireResponse doesn't support this identifier query. Any suggested work arounds? I want to update the resource if it's already present or post if not.
Kevin Mayfield (Jul 17 2017 at 09:50):
and also Flag.
Kevin Mayfield (Jul 17 2017 at 11:37):
Have found a work around. Search on _content and then post if no resources found. (Crude but it's just a demo)
Last updated: Apr 12 2022 at 19:14 UTC