Fhir "not in" search

How to get Practitioners that do not have QuestionnaireResponse for specific Questionnaire.

SQL analog
Select Practitioners p where p.id not in (Select qr.source.id from QuestionnaireResponse qr where qr.questionnaire=‘http://fhir/Questionnaire/12345’ )

1 Like