fhir-sdc icon indicating copy to clipboard operation
fhir-sdc copied to clipboard

Rethink $constraint-check

Open ruscoder opened this issue 2 years ago • 2 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)

ruscoder avatar Jun 14 '23 13:06 ruscoder

@ir4y what do you think?

ruscoder avatar Jun 14 '23 13:06 ruscoder