From 737628075049123722c1d05ce5be60615be7acd5 Mon Sep 17 00:00:00 2001 From: oliveregger Date: Tue, 18 Jun 2024 17:43:18 +0200 Subject: [PATCH] do not add Binary resources which are not really Binary #910 --- .../main/java/org/hl7/fhir/igtools/publisher/SimpleFetcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/SimpleFetcher.java b/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/SimpleFetcher.java index a70ac982..d4e6607f 100644 --- a/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/SimpleFetcher.java +++ b/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/SimpleFetcher.java @@ -429,7 +429,7 @@ private List fixedFileTypes() { } private void addFile(List 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); } }