Stream: implementers
Topic: Negating Reverse Chaining
Yosbel Esperón González (Jun 10 2019 at 19:33):
I have a problem trying to make the correct query using Reverse Chaining, for example if I have this query: /DiagnosticReport?_has:Task:based-on:status:not=requested
it returns the DiagnosticReport that have at least one Task with status not requested, if instead of that I want the DiagnoticReport where there is not Task based-on it with status requested how could I make this query?
Lloyd McKenzie (Jun 10 2019 at 19:49):
I don't think there's a mechanism to say "_has-not". You could submit a change request proposing something like that - though we're really trying to draw a line around increasing the complexity of the base RESTful search capabilities. Have you explored doing this with GraphQL?
Yosbel Esperón González (Jun 10 2019 at 19:55):
I don't think there's a mechanism to say "_has-not". You could submit a change request proposing something like that - though we're really trying to draw a line around increasing the complexity of the base RESTful search capabilities. Have you explored doing this with GraphQL?
Sorry, I can see this as a duplicate of https://chat.fhir.org/#narrow/stream/179166-implementers/topic/REST.20API/near/166814890 . I haven't tried with GraphQL since we are not using it.
Last updated: Apr 12 2022 at 19:14 UTC