Stream: implementers
Topic: validator messages - issue type?
Robin Bosman (Oct 21 2020 at 10:58):
I could not find any but to confirm: do the different messages that the validator produce have an 'issue-type'?
(I mean: besides the severity of every message, does every message also have an issue-type from https://www.hl7.org/fhir/valueset-issue-type.html ? )
Lloyd McKenzie (Oct 21 2020 at 15:45):
You can ask the validator to spit out an OperationOutcome, and those would have an issue-type
Robin Bosman (Oct 22 2020 at 16:56):
Are those not always of type 'processing'? (well at least based on what I read here https://hapifhir.io/hapi-fhir/apidocs/hapi-fhir-base/src-html/ca/uhn/fhir/validation/ValidationResult.html#line.104 )
Grahame Grieve (Oct 22 2020 at 20:58):
no
Grahame Grieve (Oct 22 2020 at 21:00):
search for IssueType.
in https://github.com/hapifhir/org.hl7.fhir.core/blob/master/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/InstanceValidator.java
Last updated: Apr 12 2022 at 19:14 UTC