Commit ad61c53
Add three-layer variable schema with microschema integration
- Update schema to import clinical-microschemas and linkml-microschema-profile
- Remove local unit and data_type slot definitions in favour of imported versions
- Add missing namespace prefixes (OMOP, OBA, LOINC, UCUM, UBERON, MONDO, HP, MMO, RxNorm, ISO11179)
- Add FhsHeight002 class declaring conformance to HumanBodyHeightRecord002 microschema
- Add inlined_as_list to missing_value slot
- Replace placeholder test data with real SingleVariable, FhsHeight002, and CompoundVariable examples
- Regenerate Python datamodels
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 03fd057 commit ad61c53
8 files changed
Lines changed: 4318 additions & 160 deletions
File tree
- src/bdc_variable_library
- datamodel
- schema
- tests/data/valid
Lines changed: 2411 additions & 99 deletions
Large diffs are not rendered by default.
Lines changed: 1791 additions & 18 deletions
Large diffs are not rendered by default.
Lines changed: 71 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
19 | 29 | | |
20 | 30 | | |
21 | 31 | | |
22 | 32 | | |
23 | 33 | | |
| 34 | + | |
| 35 | + | |
24 | 36 | | |
25 | 37 | | |
26 | 38 | | |
| |||
85 | 97 | | |
86 | 98 | | |
87 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
88 | 117 | | |
89 | 118 | | |
90 | 119 | | |
91 | 120 | | |
| 121 | + | |
| 122 | + | |
92 | 123 | | |
93 | 124 | | |
94 | 125 | | |
| |||
126 | 157 | | |
127 | 158 | | |
128 | 159 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | 160 | | |
139 | 161 | | |
140 | 162 | | |
| |||
158 | 180 | | |
159 | 181 | | |
160 | 182 | | |
| 183 | + | |
| 184 | + | |
161 | 185 | | |
162 | 186 | | |
163 | 187 | | |
| |||
180 | 204 | | |
181 | 205 | | |
182 | 206 | | |
| 207 | + | |
| 208 | + | |
183 | 209 | | |
| 210 | + | |
184 | 211 | | |
| 212 | + | |
| 213 | + | |
185 | 214 | | |
186 | 215 | | |
187 | 216 | | |
| |||
200 | 229 | | |
201 | 230 | | |
202 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
203 | 240 | | |
204 | 241 | | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | 242 | | |
219 | 243 | | |
220 | | - | |
| 244 | + | |
221 | 245 | | |
222 | 246 | | |
223 | | - | |
| 247 | + | |
224 | 248 | | |
225 | | - | |
| 249 | + | |
226 | 250 | | |
227 | | - | |
| 251 | + | |
228 | 252 | | |
229 | | - | |
| 253 | + | |
230 | 254 | | |
231 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments