-
Notifications
You must be signed in to change notification settings - Fork 4
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
UDS+ Lab Observation inherits US Core BMI constraints #24
Comments
These constraints are from base FHIR, not from US Core, but given the error messages I'm a little confused too. There are certain "magic" codes which require that a certain profile be conformed to, one of which is BMI: http://hl7.org/fhir/R4/observation.html#core
Then the Vital Signs link below that brings you to the full set of magic Observation profiles, including height, weight, blood pressure, etc. If the observation in question here has the LOINC code What's confusing to me though is the 5th error message in your image though, it seems to be saying that code is required but not found. Does this Observation have that code? |
This specific test case used LOINC 59574-4, which is BMI percentile. I'll also call out that the 6th issue from that image also conflicts with the UDS+ IG, as the UDS+ IG requires a precision of year. Here's the exact JSON I pasted into the test kit: { |
Thanks for sharing the actual resource, makes it a lot easier to confirm and debug! So there are a few pieces to this. First it's important to note that the test kit is just using the HL7 validator which we consider to be authoritative, you will see the same messages for this resource at https://validator.fhir.org/ . So until this rises to the level of "confirmed bug" in either the validator or the IG we can't do anything about those error messages. I posed a question about what codes trigger the core profiles like BMI at the FHIR Zulip: https://chat.fhir.org/#narrow/stream/291844-FHIR-Validator/topic/Magic.20Observation.20codes.20list But then regarding the apparent incompatibility between the UDS+ profile and the core profile, this is something that will need to be worked out with the UDS+ IG maintainers. I've gone ahead and reported the issue there as well: drajer-health/uds-plus#62 |
Inferno is applying the BMI constraints from US Core onto the UDS+ Lab Observation resource when using the specific BMI LOINC code:

None of these constraints are listed in the UDS+ IG, so they should not be a part of this Inferno test (or they should be added to the UDS+ IG if they are, in fact, supposed to be there).
The text was updated successfully, but these errors were encountered: