This commit is contained in:
James Agnew 2016-09-28 17:04:55 -04:00
parent 8a9a031a8d
commit 5da1d22d02
3 changed files with 7 additions and 3 deletions

View File

@ -529,7 +529,7 @@ public class FhirInstanceValidatorDstu3Test {
List<SingleValidationMessage> errors = logResultsAndReturnNonInformationalOnes(output);
assertThat(errors.toString(), containsString("Element 'Observation.subject': minimum required = 1, but only found 0"));
assertThat(errors.toString(), containsString("Element encounter @ Observation: max allowed = 0, but found 1"));
assertThat(errors.toString(), containsString("Element 'Observation.encounter: max allowed = 0, but found 1"));
assertThat(errors.toString(), containsString("Element 'Observation.device': minimum required = 1, but only found 0"));
assertThat(errors.toString(), containsString(""));
}
@ -689,7 +689,7 @@ public class FhirInstanceValidatorDstu3Test {
List<SingleValidationMessage> all = logResultsAndReturnAll(output);
assertEquals(1, all.size());
assertEquals("Patient.identifier.type", all.get(0).getLocationString());
assertEquals("None of the codes provided are in the value set http://hl7.org/fhir/ValueSet/identifier-type (http://hl7.org/fhir/ValueSet/identifier-type, and a code should come from this value set unless it has no suitable code)", all.get(0).getMessage());
assertEquals("None of the codes provided are in the value set http://hl7.org/fhir/ValueSet/identifier-type (http://hl7.org/fhir/ValueSet/identifier-type, and a code should come from this value set unless it has no suitable code) (codes = http://example.com/foo/bar#bar)", all.get(0).getMessage());
assertEquals(ResultSeverityEnum.WARNING, all.get(0).getSeverity());
}

View File

@ -78,7 +78,7 @@ public class ResourceValidatorDstu3Test {
assertTrue(result.isSuccessful());
assertThat(ooencoded, containsString("No issues"));
assertThat(ooencoded, containsString("Unknown extension http://foo"));
}
/**

View File

@ -110,6 +110,10 @@
<action type="fix">
CLI was not correctly able to upload DSTU2 examples to any server
</action>
<action type="fix">
STU3 validator has been upgrated to include fixes made since the
1.6.0 ballot
</action>
</release>
<release version="2.0" date="2016-08-30">
<action type="fix">