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

Allow setting code system violation severity on UnknownCodeSystemWarningValidationSupport #3153

Closed
TipzCM opened this issue Nov 9, 2021 · 0 comments
Assignees

Comments

@TipzCM
Copy link
Collaborator

TipzCM commented Nov 9, 2021

Describe the bug
UnknownCodeSystemWarningValidationSupport does not throw warnings if set to do so.

Currently it's either "allow" or "not allow", and "allow" is non functional.

I was expecting that setting the validation policy config to GENERATE_WARNING would cause smile to return warnings when we provided an arbitrary system in a coding data type.

However, the following resource fails validation with the error Unknown Code System 'http://hl7.org/fhir/universal-tag'

To Reproduce

{
    "resourceType": "Patient",
    "meta": {
        "tag": [
            {
                "system": "http://hl7.org/fhir/universal-tag",
                "code": "golden"
            }
        ]
    }
}

Expected behavior
Allowing warning behaviour should be allowed

Environment (please complete the following information):

  • HAPI FHIR Version 5.7.0-PRE2-SNAPSHOT
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

2 participants