Skip to content

Commit

Permalink
Fix gen
Browse files Browse the repository at this point in the history
  • Loading branch information
ApricotLace committed Jan 11, 2024
1 parent 70cd0c7 commit 2d98e23
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/gen.clj
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,8 @@
:single-attr
(assoc acc
(keyword (str/lower-case (kw-to-string k)))
'{:type zen/map
:keys {:type zen/string
:zen.fhir/type "string"}})
'{:type zen/string
:zen.fhir/type "string"})
:multi-attr
(assoc acc
(keyword (str/lower-case (kw-to-string k)))
Expand Down Expand Up @@ -264,13 +263,13 @@
(assoc acc
(to-zen-name k "code")
`{:zen/tags #{aidbox.search-parameter.v1/search-parameter}
:name ~(to-camel-name "code")
:name ~(to-camel-name k "code")
:type :token
:resource {:resourceType "Entity" :id "Concept"}
:expression [["property" ~(kw-to-string k) "code"]]}
(to-zen-name k "display")
`{:zen/tags #{aidbox.search-parameter.v1/search-parameter}
:name ~(to-camel-name "display")
:name ~(to-camel-name k "display")
:type :string
:resource {:resourceType "Entity" :id "Concept"}
:expression [["property" ~(kw-to-string k) "display"]]})))
Expand Down Expand Up @@ -329,4 +328,5 @@
(generate-index-schemas)
(generate-search-schemas))


)

0 comments on commit 2d98e23

Please sign in to comment.