Skip to content
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

Must Support/Profile Conformance #14

Open
ms-k1ngk0ng opened this issue Oct 25, 2022 · 1 comment
Open

Must Support/Profile Conformance #14

ms-k1ngk0ng opened this issue Oct 25, 2022 · 1 comment

Comments

@ms-k1ngk0ng
Copy link
Contributor

Add support for generating tests targeting Must Support conformance of resources served by a FHIR endpoint that adhere to a profile.

@ms-k1ngk0ng
Copy link
Contributor Author

I actually think these should be pretty simple. I would start by generating a search operation for the given resource with the expected profile, and then validate against the profile. Alternatively, if testing whether or not the endpoint stores incomplete/non-conformant resources, create a fully conformant resource, remove specific elements, POST it during setup, and then try to retrieve it during the Test and confirm against a fixture of the fully conformant that is expected elements are missing. Or, assert that it won't store non-conformant resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant