Skip to content

Commit 4844558

Browse files
committed
chore: primitive-element? is false if not in r4 r4b r5
1 parent 541394d commit 4844558

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/aidbox_sdk/fhir.clj

+1
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,4 @@
149149
(defmethod primitive-element? "hl7.fhir.r4.core" [_ {:keys [type]}] (contains? r4-primitive-types type))
150150
(defmethod primitive-element? "hl7.fhir.r4b.core" [_ {:keys [type]}] (contains? r4b-primitive-types type))
151151
(defmethod primitive-element? "hl7.fhir.r5.core" [_ {:keys [type]}] (contains? r5-primitive-types type))
152+
(defmethod primitive-element? :default [_ _] false)

0 commit comments

Comments
 (0)