diff --git a/src/aidbox_sdk/schema/verify.clj b/src/aidbox_sdk/schema/verify.clj index 11454b3..f84ddbc 100644 --- a/src/aidbox_sdk/schema/verify.clj +++ b/src/aidbox_sdk/schema/verify.clj @@ -32,7 +32,10 @@ "Finds core package in the list of packages. Throws an exception if there are more then one core package." [packages] - (let [cores (filter #(= "fhir.core" (:type %)) packages) + (let [cores (filter #(or + (= "Core" (:type %)) + (= "fhir.core" (:type %))) + packages) core (first cores)] (cond (= (count cores) 0)