Skip to content

Commit

Permalink
Merge pull request #911 from ahdis/oe_910
Browse files Browse the repository at this point in the history
do not add Binary resources which are not really Binary #910
  • Loading branch information
grahamegrieve authored Jul 4, 2024
2 parents 0ff0f3a + 7376280 commit 20e8f55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ private List<String> fixedFileTypes() {
}

private void addFile(List<FetchedFile> res, File f, org.hl7.fhir.r5.elementmodel.Element e, String cnt) throws IOException {
if (!e.fhirType().equals("ImplementationGuide")) {
if (!e.fhirType().equals("ImplementationGuide") && !(f.getName().startsWith("Binary") && !"Binary".equals(e.fhirType()))) {
addFile(res, f, cnt);
}
}
Expand Down

0 comments on commit 20e8f55

Please sign in to comment.