The Unit
[p`diop] (prism diopter (magnifying power)) is a valid unit expression but it is being classified as an ONC 2015 S&CC Vocabulary Validation Conformance Error. I understand that it is not in the value set (2.16.840.1.113883.1.11.12839) but it should not be classified as an error since many specialties will have units that are valid but not part of the most common list.
Previously, [diop] (diopter) was doing the same thing and was fixed at some point. Is it possible to apply the following workflow?
- Check if the Unit code is in the value set
- If the Unit code is in the value set, it conforms so stop checking
- If the Unit code is not in the value set, check if it is a valid code
- If the Unit code is valid then stop checking - Could mark as informational or a warning at this point since it is valid but not in the expected value set
- If the Unit code is not valid, output a conformance error
I have attached the source document, the scorecard output and the conformance error from the validator.