Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesagnew committed Sep 28, 2016
1 parent 8a9a031 commit 5da1d22
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ public void testValidateResourceContainingProfileDeclaration() {
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(""));
}
Expand Down Expand Up @@ -689,7 +689,7 @@ public void testValidateResourceWithValuesetExpansionBad() {
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());

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void testValidateResourceWithResourceElements() {

assertTrue(result.isSuccessful());

assertThat(ooencoded, containsString("No issues"));
assertThat(ooencoded, containsString("Unknown extension http://foo"));
}

/**
Expand Down
4 changes: 4 additions & 0 deletions src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 5da1d22

Please sign in to comment.