beda-software/fhir-sdc

Rethink $constraint-check

ruscoder opened this issue · 1 comments

Currently, $constraint-check is available only for /QuestionnaireResponse and questionnaire is a required param for it. Meanwhile $extract and $populate is available for /Questionnaire/[id]

It makes it harder to control the policies, e.g. I don't want to allow using custom questionnaires.

My suggestion, is to add /Questionnaire/[id]/$constraint-check and /Questionnaire/$constraint-check in addition to the current one (that should be left just for backward compatibility)

@ir4y what do you think?