-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support resources/<resourceType>/profiles
properties from $validation when mode is set
#2905
Comments
fhirServer/resources/<resourceType>/profiles
properties from $validation when mode is set
fhirServer/resources/<resourceType>/profiles
properties from $validation when mode is setresources/<resourceType>/profiles
properties from $validation when mode is set
With the changes implemented via this issue, the
|
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
Issue #2905 - support profile properties from $validate when mode set
I verified that I am now able to invoke the
As defined in the spec, the response code is 200 OK whether there are validation errors or not. The profile validation logic does appear to be in line with the configuration.
Interestingly, it also allows any other value for
I think we should clean that up, but its definitely lower priority since the operation does work as documented in the user guide. |
I opened #2964 for the remaning work I see on getting |
Is your feature request related to a problem? Please describe.
While validating #2873 and #2834 I realized that we only exercise these rules during ingestion and not validation.
The $validate endpoint serves multiple use cases:
The input parameter that controls this switch is called
mode
but I think we mostly ignore that today.Describe the solution you'd like
When
$validate
is called with a mode ofcreate
orupdate
, we should make use of the applicable fhir-server-configfhirServer/resources/<resourceType>/profiles
config properties so that the response will reflect the expected result of an attempted create/update request with this same content.Describe alternatives you've considered
Acceptance Criteria
AND [another precondition]
WHEN [test step]
AND [test step]
THEN [verification step]
AND [verification step]
Additional context
The text was updated successfully, but these errors were encountered: