Closed KGOH closed 1 year ago
Got an exception while validating such data:
{:serviceProvider [{:id "8cd75b6e", :resourceType "Organization"}]}]
with this schema https://github.com/zen-fhir/hl7-fhir-r4-core/blob/4e8244048fe4327e1d6675b2ccbc50973dc9acb9/zrc/hl7-fhir-r4-core/Encounter.edn#L80
java.lang.IllegalArgumentException: Key must be integer at clojure.lang.APersistentVector.invoke (APersistentVector.java:297) clojure.core$some.invokeStatic (core.clj:2718) clojure.core$some.invoke (core.clj:2709) zen.misc$fn__8610$fn__8612.invoke (misc.clj:12) zen.v2_validation$compile_schema$compiled_sch__8151.invoke (v2_validation.clj:162) zen.v2_validation$fn__8318$keys_sch__8325.invoke (v2_validation.clj:508) zen.v2_validation$compile_schema$compiled_sch__8151.invoke (v2_validation.clj:162) zen.v2_validation$get_cached$fn__8161.invoke (v2_validation.clj:182) zen.v2_validation$_STAR_validate_schema.invokeStatic (v2_validation.clj:219) zen.v2_validation$_STAR_validate_schema.invoke (v2_validation.clj:209) zen.v2_validation$validate.invokeStatic (v2_validation.clj:247) zen.v2_validation$validate.doInvoke (v2_validation.clj:231)
Got an exception while validating such data:
with this schema https://github.com/zen-fhir/hl7-fhir-r4-core/blob/4e8244048fe4327e1d6675b2ccbc50973dc9acb9/zrc/hl7-fhir-r4-core/Encounter.edn#L80