-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdefine.yaml
More file actions
2517 lines (2425 loc) · 79.8 KB
/
define.yaml
File metadata and controls
2517 lines (2425 loc) · 79.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
id: https://cdisc.org/define-json
name: Define-JSON
description: >-
Data model for supply and demand data contracts to complement CDISC USDM, ODM, and Dataset-JSON.
This LinkML version includes semantics to act as Rosetta Stone for SDMX, FHIR, OMOP, RDF, and CDISC.
license: MIT
prefixes:
linkml: https://w3id.org/linkml/
skos: http://www.w3.org/2004/02/skos/core#
odm: https://cdisc.org/odm2/
usdm: https://cdisc.org/usdm/
sdtm: https://cdisc.org/cosmos/sdtm_v1.0#
fhir: http://hl7.org/fhir/
omop: https://omop.org/omop-cdm/
qb: http://purl.org/linked-data/cube#
sdmx: http://purl.org/linked-data/sdmx#
dprod: https://ekgf.github.io/dprod/
prov: http://www.w3.org/ns/prov#
dcat: http://www.w3.org/ns/dcat#
osb: https://openstudybuilder.com/
dcterms: http://purl.org/dc/terms/
default_prefix: odm
imports:
- linkml:types
classes:
IdentifiableElement:
abstract: true
mixins:
- Identifiable
- Labelled
GovernedElement:
abstract: true
mixins:
- Identifiable
- Labelled
- Governed
Identifiable:
description: >-
A mixin that provides slots for making an entity addressable within a study or context
mixin: true
attributes:
OID:
description: >-
Local identifier within this study/context.
Use CDISC OID format for regulatory submissions,
or simple strings for internal use.
identifier: true
required: false
range: string
uuid:
description: Universal unique identifier
range: string
Governed:
description: >-
A mixin that provides slots for audit trail and standards governance, including mandatory status, comments, and attribution
mixin: true
slot_usage:
OID:
required: true
attributes:
mandatory:
description: >-
Is this element required?
range: boolean
comments:
description: >-
Comment on the element, such as a rationale for its inclusion or exclusion
range: Comment
multivalued: true
inlined: false
siteOrSponsorComments:
description: >-
Comment on the element, such as a rationale for its inclusion or exclusion
range: SiteOrSponsorComment
multivalued: true
inlined: false
purpose:
description: Purpose or rationale for this data element
any_of:
- range: string
- range: TranslatedText
lastUpdated:
description: When the resource was last updated
range: datetime
owner:
description: Party responsible for this element
narrow_mappings:
- prov:wasAttributedTo
- prov:wasAssociatedBy
any_of:
- range: User
- range: Organization
- range: string
wasDerivedFrom:
description: >-
Reference to another item that this item implements or extends, e.g. a template Item definition.
exact_mappings:
- prov:wasDerivedFrom
any_of:
- range: Item
- range: ItemGroup
- range: MetaDataVersion
- range: CodeList
- range: ReifiedConcept
- range: ConceptProperty
- range: Condition
- range: Method
- range: NominalOccurrence
- range: Dataflow
- range: CubeComponent
- range: DataProduct
- range: ProvisionAgreement
Labelled:
description: >-
A mixin that provides slots for detailing meanings and multilingual descriptions
mixin: true
attributes:
name:
description: Short name or identifier, used for field names
range: string
description:
description: Detailed description, shown in tooltips
any_of:
- range: string
- range: TranslatedText
coding:
description: Semantic tags for this element
range: Coding
multivalued: true
inlined: true
inlined_as_list: true
label:
description: Human-readable label, shown in UIs
any_of:
- range: string
- range: TranslatedText
exact_mappings:
- skos:prefLabel
aliases:
description: >-
Alternative name or identifier
any_of:
- range: string
- range: TranslatedText
multivalued: true
inlined: true
inlined_as_list: true
exact_mappings:
- skos:altLabel
Formatted:
description: >-
A mixin that provides slots for reporting, exchange, or storage formatting
mixin: true
related_mappings:
- sdmx:Facet
- sdmx:Representation
attributes:
decimalDigits:
description: >-
For decimal values, the number of digits after the decimal point
range: integer
displayFormat:
description: >-
A display format for the item
range: string
significantDigits:
description: >-
For numeric values, the number of significant digits
range: integer
Versioned:
description: >-
A mixin that provides version and connectivity information, including version numbers and resource references
mixin: true
attributes:
version:
description: >-
The version of the external resources
range: string
href:
description: Machine-readable instructions to obtain the resource e.g. FHIR path, URL
range: string
required: false
IsProfile:
description: >-
A mixin that provides additional metadata for FHIR resources and Data Products, including profiles, security tags, and validity periods
mixin: true
mixins:
- Versioned
attributes:
profile:
description: Profiles this resource claims to conform to
range: string
multivalued: true
security:
description: Security tags applied to this resource
range: Coding
multivalued: true
inlined: true
inlined_as_list: true
authenticator:
description: Who/what authenticated the resource
any_of:
- range: User
- range: Organization
- range: string
required: false
validityPeriod:
description: Time period during which the resouce is valid
range: Timing
required: false
IsODMItem:
mixin: true
description: >-
A mixin that provides additional attributes for CDISC Operational Data Model items, including roles, completion instructions, and implementation notes
attributes:
role:
description: >-
Identifies the role of the item within the containing context, taken from the roleCodeList
any_of:
- range: string
- range: TranslatedText
roleCodeList:
description: >-
Reference to the CodeList that defines the roles for this item
range: CodeList
hasNoData:
description: >-
True if this is a manifest and there is no data for this item
range: boolean
crfCompletionInstructions:
any_of:
- range: string
- range: TranslatedText
description: >-
CRFCompletionInstructions reference: Instructions for the clinical site on how to enter collected information on the CRF
cdiscNotes:
any_of:
- range: string
- range: TranslatedText
description: >-
CDISCNotes reference: Explanatory text for the variable
implementationNotes:
description: >-
ImplementationNotes reference: Further information, such as rationale and implementation instructions, on how to implement the CRF data collection fields
any_of:
- range: string
- range: TranslatedText
collectionExceptionCondition:
description: >-
Condition that defines when collection may be exempted
range: Condition
preSpecifiedValue:
description: >-
Prefill value or a default value for a field that is automatically populated.
any_of:
- range: string
- range: TranslatedText
IsODMStandard:
description: >-
A mixin that provides properties to indicate standards compliance
mixin: true
attributes:
standard:
description: Reference to the standard being implemented
range: Standard
isNonStandard:
description: One or more members of this set are non-standard extensions
range: boolean
ODMFileMetadata:
description: >-
A mixin that provides ODM file-level metadata attributes including file identifiers, timestamps, and system information
mixin: true
attributes:
fileOID:
description: Unique identifier for the ODM file
range: string
required: true
asOfDateTime:
description: Date and time when the data snapshot was taken
range: datetime
creationDateTime:
description: Date and time when the ODM file was created
range: datetime
required: true
odmVersion:
description: Version of the ODM standard used
range: string
required: true
fileType:
description: Type of ODM file (e.g., Snapshot, Transactional)
range: string
required: true
originator:
description: Organization or system that created the ODM file
range: string
sourceSystem:
description: Source system that generated the data
range: string
sourceSystemVersion:
description: Version of the source system
range: string
context:
description: Define-XML context (usually "Other" for Define-XML)
range: string
defineVersion:
description: Version of Define-XML specification used
range: string
StudyMetadata:
description: >-
A mixin that provides study-level metadata attributes including study identification and protocol information
mixin: true
attributes:
studyOID:
description: Unique identifier for the study
range: string
required: true
studyName:
description: Name of the study
range: string
studyDescription:
description: Description of the study
range: string
protocolName:
description: Protocol name for the study
range: string
MetaDataVersion:
tree_root: true
description: >-
A container element that represents a given version of a specification, linking to a particular usage context such as a study, dataset, or data collection instrument.
close_mappings:
- usdm:StudyDesign
is_a: GovernedElement
mixins:
- ODMFileMetadata
- StudyMetadata
attributes:
itemGroups:
description: >-
Item groups, containing items, defined in this version of the metadata
range: ItemGroup
multivalued: true
inlined: true
inlined_as_list: true
items:
description: >-
Template or top-level items (not belonging to any item group) defined in this version of the metadata
range: Item
multivalued: true
inlined: true
inlined_as_list: true
conditions:
description: >-
Logical conditions that apply to this version of the metadata.
range: Condition
multivalued: true
inlined: true
inlined_as_list: true
whereClauses:
description: >-
Data contexts that apply to this version of the metadata.
range: WhereClause
multivalued: true
inlined: true
inlined_as_list: true
methods:
description: >-
Methods defined in this version of the metadata.
range: Method
multivalued: true
inlined: true
inlined_as_list: true
analyses:
description: >-
Analyses defined in this version of the metadata.
range: Analysis
multivalued: true
inlined: true
inlined_as_list: true
codeLists:
description: >-
Code lists defined in this version of the metadata.
range: CodeList
multivalued: true
inlined: true
inlined_as_list: true
codings:
description: Codings defined in this version of the metadata
range: Coding
multivalued: true
inlined: true
inlined_as_list: true
concepts:
description: Structured Concepts defined in this version of the metadata
range: ReifiedConcept
multivalued: true
relationships:
description: >-
Relationships between items, item groups, and other elements in this version of the metadata.
range: Relationship
multivalued: true
inlined: true
inlined_as_list: true
dictionaries:
description: Dictionaries defined in this version of the metadata
range: Dictionary
multivalued: true
inlined: true
inlined_as_list: true
standards:
description: >-
Standards defined in this version of the metadata
range: Standard
multivalued: true
inlined: true
inlined_as_list: true
annotatedCRFs:
description: >-
Reference to annotated case report forms
range: DocumentReference
multivalued: true
inlined: true
inlined_as_list: true
resources:
description: >-
References to resources and documents that describe this version of the metadata.
any_of:
- range: DocumentReference
- range: Resource
multivalued: true
inlined: true
inlined_as_list: true
dataProducts:
description: >-
Indexed data flows with clear ownership
range: DataProduct
multivalued: true
inlined: true
inlined_as_list: true
displays:
description: >-
Displays defined in this version of the metadata.
range: Display
multivalued: true
inlined: true
inlined_as_list: true
Item:
description: >-
A data element that represents a specific piece of information within a defined context, with data type, constraints, and derivation methods
close_mappings:
- odm:ItemRef
- odm:ItemDef
- qb:ComponentSpecification
- sdmx:DataAttribute
- sdmx:MetadataAttribute
narrow_mappings:
- fhir:StructureDefinition/variable
- fhir:Questionnaire/item
- qb:ComponentProperty
- omop:Field
- omop:DerivedColumn
related_mappings:
- usdm:BiomedicalConceptProperty
- usdm:DerivationConceptProperty
- usdm:AnalysisConceptProperty
- fhir:ElementDefinition
- qb:Measure
- qb:Attribute
- sdmx:Concept
- sdmx:Component
- sdmx:Representation
- osb:sdtm_variable
- osb:specimen
- osb:unit_dimension
- osb:std_unit
is_a: GovernedElement
mixins:
- IsODMItem
- Formatted
attributes:
dataType:
description: >-
The data type of the item.
range: DataType
required: true
length:
description: >-
The maximum length of the data item in characters.
range: integer
codeList:
description: >-
Reference to the CodeList that constrains the item values.
range: CodeList
method:
description: >-
Reference to the Method element that describes how to derive this item's value.
range: Method
rangeChecks:
description: Range checks applied to this item (e.g. edit checks, CORE rules)
range: RangeCheck
multivalued: true
inlined: true
inlined_as_list: true
applicableWhen:
description: |
References to different situations that define when this item applies.
Multiple whereClauses are combined with OR logic: the item applies if ANY referenced WhereClause matches.
Within each WhereClause, conditions are combined with AND logic: all conditions must be true.
Example: whereClause: ["WC.SYSBP", "WC.DIABP"] means the item applies when
(all conditions in WC.SYSBP are true) OR (all conditions in WC.DIABP are true).
range: WhereClause
multivalued: true
inlined: false
close_mappings:
- fhir:StructureDefinition/context
origin:
description: >-
The origin of the data
range: Origin
inlined: true
conceptProperty:
description: >-
Reference to a abstract concept property that this item is a specialization / instance of.
range: ConceptProperty
ItemGroup:
description: >-
A collection element that groups related items or subgroups within a specific context, used for tables, FHIR resource profiles, biomedical concept specializations, or form sections
close_mappings:
- odm:ItemGroupDef
- odm:ItemGroupRef
- osb:ActivityInstance
narrow_mappings:
- fhir:StructureDefinition
- fhir:ViewDefinition
- fhir:Questionnaire
- omop:Table
- qb:DataStructureDefinition
- sdmx:DataStructureDefinition
- sdmx:MetaDataStructureDefinition
related_mappings:
- qb:Dataset
- qb:Observation
- qb:ObservationGroup
- qb:Slice
- osb:Activity
is_a: GovernedElement
mixins:
- IsProfile
- IsODMStandard
attributes:
domain:
description: >-
Domain abbreviation for the dataset.
range: string
structure:
description: >-
Data structure of the item group, indicating how the records are organized.
If this is a FHIR Resource, is it nested or flattened?
If this is a structured concept, is it a Biomedical/Derivation/Analysis concept?
any_of:
- range: string
- range: TranslatedText
isReferenceData:
description: >-
Set to Yes if this is a reference item group.
range: boolean
type:
description: >-
Type of item group
range: ItemGroupType
items:
description: Items in this group
range: Item
multivalued: true
close_mappings:
- fhir:StructureDefinition/snapshot
- fhir:StructureDefinition/differential
inlined: false
inlined_as_list: true
keySequence:
description: >-
Ordered list of Items that define the dataset key structure for sorting and uniqueness.
Each entry is an OID reference to an Item in the items array.
Order determines sorting precedence, merge operations, and record uniqueness.
These are allowed to be null, unlike stricter dataset dimensions or primary keys.
range: Item
multivalued: true
inlined: false
inlined_as_list: true
close_mappings:
- odm:ItemRef.KeySequence
- sdmx:DimensionDescriptor
slices:
description: >-
Slices are specific subset ItemGroups that belong to, or are used by this ItemGroup
range: ItemGroup
multivalued: true
inlined: false
inlined_as_list: true
implementsConcept:
description: >-
Reference to a abstract concept topic that this item group is a specialization of
range: ReifiedConcept
applicableWhen:
description: |
References to different situations that define when this item applies.
Multiple whereClauses are combined with OR logic: the item applies if ANY referenced WhereClause matches.
Within each WhereClause, conditions are combined with AND logic: all conditions must be true.
Example: whereClause: ["WC.SYSBP", "WC.DIABP"] means the item applies when
(all conditions in WC.SYSBP are true) OR (all conditions in WC.DIABP are true).
range: WhereClause
multivalued: true
inlined: false
close_mappings:
- fhir:StructureDefinition/context
hasNoData:
description: >-
Used to indicate that this ItemGroup has no data, e.g. for a manifest.
range: boolean
Relationship:
description: >-
A semantic link that defines connections between elements such as Items or ItemGroups, capturing relationships like "is the unit for" or "assesses seriousness of"
from_schema: sdtm
related_mappings:
- sdmx:ConceptSchemeMap
is_a: IdentifiableElement
attributes:
subject:
description: >-
The starting element of the relationship (e.g., an Item or ItemGroup).
range: IdentifiableElement
required: true
object:
description: >-
The ending element of the relationship.
range: IdentifiableElement
required: true
predicateTerm:
description: >-
Short variable relationship linking phrase for programming purposes.
range: PredicateTermEnum
required: true
linkingPhrase:
description: >-
Variable relationship descriptive linking phrase.
range: LinkingPhraseEnum
required: true
Translation:
description: >-
A text representation that provides content in a specific language, used for multilingual support
exact_mappings:
- odm:TranslatedText
- sdmx:InternationalString
attributes:
"language":
description: The language of the translation
range: string
required: true
"value":
description: The translated text
range: string
required: true
TranslatedText:
attributes:
translations:
range: Translation
multivalued: true
inlined: true
inlined_as_list: true
CodeList:
description: >-
A value set that defines a discrete collection of permissible values for an item, corresponding to the ODM CodeList construct
exact_mappings:
- odm:CodeList
- omop:Vocabulary
- fhir:ValueSet
close_mappings:
- skos:Collection
- sdmx:ItemScheme
- qb:codeList
related_mappings:
- usdm:BiomedicalConceptProperty/responseCodes
narrow_mappings:
- sdmx:Codelist
- sdmx:ValueList
- sdmx:ConceptScheme
is_a: GovernedElement
mixins:
- Versioned
- IsODMStandard
attributes:
dataType:
description: >-
The data type for the values in the code list
range: DataType
formatName:
description: >-
Name of a standard format definition
range: string
codeListItems:
description: >-
The individual values that make up this CodeList.
The type of CodeListItem included determines its behaviour
range: CodeListItem
multivalued: true
inlined: true
inlined_as_list: true
externalCodeList:
description: >-
Reference to a code list that is defined externally to this study
range: Resource
CodeListItem:
description: >-
A structured member of a CodeList that extends the Coding class with additional context-specific properties
exact_mappings:
- odm:CodeListItem
close_mappings:
- usdm:AliasCode
- usdm:ResponseCode
- fhir:CodeableConcept
- omop:Concept
narrow_mappings:
- sdmx:Code
- sdmx:ValueItem
attributes:
codedValue:
description: >-
The value of the CodeListItem before decoding
range: string
required: true
decode:
description: >-
The decoded value of the CodeListItem
range: string
description:
description: >-
A detailed description of the code (e.g., for documentation purposes)
any_of:
- range: string
- range: TranslatedText
coding:
description: >-
The dictionary definition of the CodeListItem
range: Coding
inlined: true
aliases:
description: Alternative labels for the code (ODM Alias, skos:altLabel)
any_of:
- range: string
- range: TranslatedText
multivalued: true
weight:
description: Numeric significance of the code (e.g., for scoring)
range: decimal
other:
description: >-
Flag to indicate that the term represents "other" content
range: boolean
Comment:
description: >-
A descriptive element that contains explanatory text provided by a data or metadata handler
exact_mappings:
- odm:CommentDef
- usdm:CommentAnnotation
- fhir:Annotation
- sdmx:Annotation
is_a: GovernedElement
attributes:
text:
description: >-
The comment text.
any_of:
- range: string
- range: TranslatedText
required: true
documents:
description: >-
References to documents that contain or are referenced by this comment
range: DocumentReference
multivalued: true
inlined: true
inlined_as_list: true
Coding:
description: >-
A semantic reference that provides standardized codes and their meanings from controlled vocabularies
exact_mappings:
- odm:Coding
- usdm:Code
- fhir:Coding
close_mappings:
- omop:Concept
- skos:Concept
- skos:Label
- sdmx:Code
- sdmx:Concept
- sdmx:ISOConceptReference
attributes:
code:
description: >-
The code value
range: string
required: true
decode:
description: Human-readable meaning
any_of:
- range: string
- range: TranslatedText
exact_mappings:
- skos:prefLabel
codeSystem:
description: >-
The code system identifier
range: string
required: true
codeSystemVersion:
description: >-
The code system version
range: string
aliasType:
description: >-
How this coding is related in the context of its parent element
range: AliasPredicate
Dictionary:
description: >-
A dictionary that defines a set of codes and their meanings
is_a: IdentifiableElement
mixins:
- Versioned
attributes:
terms:
description: Terms in this dictionary - leave this empty in most cases to keep the file small
range: Coding
multivalued: true
inlined: true
inlined_as_list: true
publishedBy:
description: >-
Associates the Data Provider that reports/publishes the data.
any_of:
- range: Organization
- range: string
ReifiedConcept:
description: >-
A canonical information layer that makes abstract concepts explicit and referenceable, showing how different data implementations represent the same underlying meanings through a star schema structure with multiple properties
close_mappings:
- sdmx:MetaDataStructureDefinition
- sdmx:Concept
- osb:Activity
narrow_mappings:
- usdm:BiomedicalConcept
- usdm:AnalysisConcept
- usdm:DerivationConcept
related_mappings:
- osb:ActivityInstance
- osb:assm_group
- osb:assm_subgroup
is_a: GovernedElement
mixins:
- Versioned
attributes:
properties:
description: >-
Properties of the reified object, which can be other governed elements or simple values
range: ConceptProperty
multivalued: true
inlined: true
inlined_as_list: true
ConceptProperty:
description: >-
A reified property concept that exists within the context of its containing topic concept
close_mappings:
- sdmx:MetaDataAttribute
- sdmx:Concept
narrow_mappings:
- usdm:BiomedicalConceptProperty
- usdm:DerivationConceptProperty
- usdm:AnalysisConceptProperty
related_mappings:
- osb:sdtm_variable
- osb:specimen
- osb:unit_dimension
- osb:std_unit
- osb:laterality
- osb:location
- osb:position
is_a: GovernedElement
attributes:
minOccurs:
description: >-
Minimum number of occurrences of this property in the context.
Set to >0 to mandate some number of occurrences
range: integer
maxOccurs:
description: >-
Maximum number of occurrences of this property in the context.
Leave empty for unbounded. Set to 0 to disable property
range: integer
codeList:
description: >-
Reference to a CodeList that constrains the values of this property
range: CodeList
WhereClause:
description: >-
A conditional element that describes the circumstances under which a containing context applies, linking conditions to structures where they are used
close_mappings:
- sdmx:AttachmentConstraint
related_mappings:
- fhir:StructureDefinition/context
- qb:ObservationGroup
- qb:Slice
- sdmx:CubeRegion
- sdmx:MetadataTargetRegion
is_a: GovernedElement
attributes:
conditions:
description: Logical conditions that apply in this context (combined with AND)
range: Condition
multivalued: true
inlined: false
Condition:
description: >-
A reusable, composable, and nestable logical construct allowing for complex expressions.
Conditions are most useful when given a meaningful name and linked to Study Definitions.
close_mappings:
- odm:ConditionDef
- usdm:Condition
related_mappings:
- fhir:Expression
- qb:SliceKey
- sdmx:DataConstraint
- sdmx:MetaDataConstraint
- sdmx:DataKeySet
is_a: GovernedElement
attributes:
rangeChecks:
description: Range checks that compose this condition
range: RangeCheck
multivalued: true
inlined: true
inlined_as_list: true
implementsCondition:
description: Reference to a external (e.g. USDM) condition definition that this implements
expressions:
description: >-
Logical expression, resolving to a boolean, that implements this condition in a specific context
range: FormalExpression
multivalued: true
inlined: true
inlined_as_list: true
operator:
description: >-
Logical operator for combining child conditions or range checks.
Defaults to ALL if not specified.
range: LogicalOperator
required: false
conditions:
description: >-
Child conditions to combine using the operator.
Multiple conditions are composed according to the operator (AND/OR/NOT).
Rearrange and nest to compose XOR, or combinations of AND and OR.
Unless the operator is EXPRESSION, in which case the formalExpression is used instead.
Use OID references to reuse conditions defined elsewhere.
range: Condition
multivalued: true
inlined: false
RangeCheck:
description: >-
A validation element that performs a simple comparison check between a referenced item's value and specified values, resolving to a boolean result
related_mappings:
- qb:SliceKey