private ValidationResult validatePatient(final Patient patient) {
final FhirValidator fhirValidator = FhirContext.forDstu2Hl7Org().newValidator();
final FhirInstanceValidator fhirInstanceValidator = new FhirInstanceValidator(new MyValidationSupport());
fhirValidator.registerValidatorModule(fhirInstanceValidator);
return fhirValidator.validateWithResult(mapper.toHl7Org(patient));
}
Does anyone know what am I doing wrong?
org.hl7.fhir.utilities.validation.ValidationMessage
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/4eb63c1a-0a08-4fb4-b003-329c7a9d3666%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/74989269-f649-4534-a1f2-5cb51125c253n%40googlegroups.com.