File tree 3 files changed +10
-2
lines changed
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 331
331
:derivation (:derivation constraint)})
332
332
(apply-patterns (:url constraint)
333
333
(filter #(contains? (last %) :pattern )
334
- (:elements constraint)))))
334
+ (:elements constraint)))
335
+ ((fn [schema] (update schema :deps set/union #{" Meta" })))))
335
336
336
337
(defn convert-constraints [constraint-schemas base-schemas]
337
338
(let [base-schemas (vector->map base-schemas)]
Original file line number Diff line number Diff line change 80
80
search-param-ir-schemas (converter/convert-search-params search-param-schemas
81
81
fhir-schemas)
82
82
constraint-ir-schemas (converter/convert-constraints constraint-schemas
83
- ir-schemas)
83
+ ( remove fhir/constraint? ir-schemas) )
84
84
85
85
generator' (lang->generator target-language)
86
86
Original file line number Diff line number Diff line change 3518
3518
:patterns (),
3519
3519
:name " Observation" ,
3520
3520
:type " Observation" ,
3521
+ :deps #{" Meta" }
3521
3522
:elements
3522
3523
[{:name " meta" ,
3523
3524
:required true ,
4075
4076
:patterns [],
4076
4077
:name " Observation" ,
4077
4078
:type " Observation" ,
4079
+ :deps #{" Meta" }
4078
4080
:elements
4079
4081
[{:name " meta" ,
4080
4082
:required true ,
4632
4634
:patterns [],
4633
4635
:name " Observation" ,
4634
4636
:type " Observation" ,
4637
+ :deps #{" Meta" }
4635
4638
:elements
4636
4639
[{:name " meta" ,
4637
4640
:required true ,
5201
5204
:patterns [],
5202
5205
:name " Observation" ,
5203
5206
:type " Observation" ,
5207
+ :deps #{" Meta" }
5204
5208
:elements
5205
5209
[{:name " meta" ,
5206
5210
:required true ,
5746
5750
:patterns [" " ],
5747
5751
:name " Observation" ,
5748
5752
:type " Observation" ,
5753
+ :deps #{" Meta" }
5749
5754
:elements
5750
5755
[{:name " meta" ,
5751
5756
:required true ,
6303
6308
:patterns [],
6304
6309
:name " Observation" ,
6305
6310
:type " Observation" ,
6311
+ :deps #{" Meta" }
6306
6312
:elements
6307
6313
[{:name " meta" ,
6308
6314
:required true ,
6873
6879
:patterns [],
6874
6880
:name " Observation" ,
6875
6881
:type " Observation" ,
6882
+ :deps #{" Meta" }
6876
6883
:elements
6877
6884
[{:name " meta" ,
6878
6885
:required true ,
You can’t perform that action at this time.
0 commit comments