Skip to main content

fhir_rs/resource/r5/
value_set.rs

1use crate::prelude::*;
2
3#[derive(Resource, Debug, Clone, Default)]
4#[fhir(base="DomainResource")]
5pub struct ValueSet {
6    /// Logical id of this artifact
7    #[fhir(name="id", min="0", max="1", summary=true, modifier=false, choice="")]
8    pub id: Option<Id>,
9    /// Metadata about the resource
10    #[fhir(name="meta", min="0", max="1", summary=true, modifier=false, choice="")]
11    pub meta: Option<Meta>,
12    /// A set of rules under which this content was created
13    #[fhir(name="implicitRules", min="0", max="1", summary=true, modifier=true)]
14    pub implicit_rules: Option<UriDt>,
15    /// Language of the resource content
16    #[fhir(name="language", min="0", max="1", summary=false, modifier=false, choice="")]
17    pub language: Option<CodeDt>,
18    /// Text summary of the resource, for human interpretation
19    #[fhir(name="text", min="0", max="1", summary=false, modifier=false, choice="")]
20    pub text: Option<Narrative>,
21    /// Contained, inline Resources
22    #[fhir(name="contained", min="0", max="*", summary=false, modifier=false, choice="")]
23    pub contained: Option<Vec<AnyResource>>,
24    /// Additional content defined by implementations
25    #[fhir(name="extension", min="0", max="*", summary=false, modifier=false, choice="")]
26    pub extension: Option<Vec<Extension>>,
27    /// Extensions that cannot be ignored
28    #[fhir(name="modifierExtension", min="0", max="*", summary=true, modifier=true)]
29    pub modifier_extension: Option<Vec<Extension>>,
30    /// Canonical identifier for this value set, represented as a URI (globally unique)
31    #[fhir(name="url", min="0", max="1", summary=true, modifier=false, choice="")]
32    pub url: Option<UriDt>,
33    /// Additional identifier for the value set (business identifier)
34    #[fhir(name="identifier", min="0", max="*", summary=true, modifier=false, choice="")]
35    pub identifier: Option<Vec<Identifier>>,
36    /// Business version of the value set
37    #[fhir(name="version", min="0", max="1", summary=true, modifier=false, choice="")]
38    pub version: Option<StringDt>,
39    /// How to compare versions
40    #[fhir(name="versionAlgorithm", min="0", max="1", summary=true, modifier=false, choice="")]
41    pub version_algorithm: Option<Coding>,
42    /// Name for this value set (computer friendly)
43    #[fhir(name="name", min="0", max="1", summary=true, modifier=false, choice="")]
44    pub name: Option<StringDt>,
45    /// Name for this value set (human friendly)
46    #[fhir(name="title", min="0", max="1", summary=true, modifier=false, choice="")]
47    pub title: Option<StringDt>,
48    /// draft | active | retired | unknown
49    #[fhir(name="status", min="1", max="1", summary=true, modifier=true)]
50    pub status: Option<CodeDt>,
51    /// For testing purposes, not real usage
52    #[fhir(name="experimental", min="0", max="1", summary=true, modifier=false, choice="")]
53    pub experimental: Option<BooleanDt>,
54    /// Date last changed
55    #[fhir(name="date", min="0", max="1", summary=true, modifier=false, choice="")]
56    pub date: Option<DateTimeDt>,
57    /// Name of the publisher/steward (organization or individual)
58    #[fhir(name="publisher", min="0", max="1", summary=true, modifier=false, choice="")]
59    pub publisher: Option<StringDt>,
60    /// Contact details for the publisher
61    #[fhir(name="contact", min="0", max="*", summary=true, modifier=false, choice="")]
62    pub contact: Option<Vec<ContactDetail>>,
63    /// Natural language description of the value set
64    #[fhir(name="description", min="0", max="1", summary=false, modifier=false, choice="")]
65    pub description: Option<MarkdownDt>,
66    /// The context that the content is intended to support
67    #[fhir(name="useContext", min="0", max="*", summary=true, modifier=false, choice="")]
68    pub use_context: Option<Vec<UsageContext>>,
69    /// Intended jurisdiction for value set (if applicable)
70    #[fhir(name="jurisdiction", min="0", max="*", summary=true, modifier=false, choice="")]
71    pub jurisdiction: Option<Vec<CodeableConcept>>,
72    /// Indicates whether or not any change to the content logical definition may occur
73    #[fhir(name="immutable", min="0", max="1", summary=true, modifier=false, choice="")]
74    pub immutable: Option<BooleanDt>,
75    /// Why this value set is defined
76    #[fhir(name="purpose", min="0", max="1", summary=false, modifier=false, choice="")]
77    pub purpose: Option<MarkdownDt>,
78    /// Use and/or publishing restrictions
79    #[fhir(name="copyright", min="0", max="1", summary=false, modifier=false, choice="")]
80    pub copyright: Option<MarkdownDt>,
81    /// Copyright holder and year(s)
82    #[fhir(name="copyrightLabel", min="0", max="1", summary=false, modifier=false, choice="")]
83    pub copyright_label: Option<StringDt>,
84    /// When the ValueSet was approved by publisher
85    #[fhir(name="approvalDate", min="0", max="1", summary=false, modifier=false, choice="")]
86    pub approval_date: Option<DateDt>,
87    /// When the ValueSet was last reviewed by the publisher
88    #[fhir(name="lastReviewDate", min="0", max="1", summary=false, modifier=false, choice="")]
89    pub last_review_date: Option<DateDt>,
90    /// When the ValueSet is expected to be used
91    #[fhir(name="effectivePeriod", min="0", max="1", summary=true, modifier=false, choice="")]
92    pub effective_period: Option<Period>,
93    /// E.g. Education, Treatment, Assessment, etc
94    #[fhir(name="topic", min="0", max="*", summary=false, modifier=false, choice="")]
95    pub topic: Option<Vec<CodeableConcept>>,
96    /// Who authored the ValueSet
97    #[fhir(name="author", min="0", max="*", summary=false, modifier=false, choice="")]
98    pub author: Option<Vec<ContactDetail>>,
99    /// Who edited the ValueSet
100    #[fhir(name="editor", min="0", max="*", summary=false, modifier=false, choice="")]
101    pub editor: Option<Vec<ContactDetail>>,
102    /// Who reviewed the ValueSet
103    #[fhir(name="reviewer", min="0", max="*", summary=false, modifier=false, choice="")]
104    pub reviewer: Option<Vec<ContactDetail>>,
105    /// Who endorsed the ValueSet
106    #[fhir(name="endorser", min="0", max="*", summary=false, modifier=false, choice="")]
107    pub endorser: Option<Vec<ContactDetail>>,
108    /// Additional documentation, citations, etc
109    #[fhir(name="relatedArtifact", min="0", max="*", summary=false, modifier=false, choice="")]
110    pub related_artifact: Option<Vec<RelatedArtifact>>,
111    /// Content logical definition of the value set (CLD)
112    #[fhir(name="compose", min="0", max="1", summary=false, modifier=false, choice="")]
113    pub compose: Option<ValueSetComposeBackboneElement>,
114    /// Used when the value set is "expanded"
115    #[fhir(name="expansion", min="0", max="1", summary=false, modifier=false, choice="")]
116    pub expansion: Option<ValueSetExpansionBackboneElement>,
117    /// Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description
118    #[fhir(name="scope", min="0", max="1", summary=false, modifier=false, choice="")]
119    pub scope: Option<ValueSetScopeBackboneElement>,
120}
121
122#[derive(Element, BackboneElement, Debug, Clone, Default)]
123pub struct ValueSetScopeBackboneElement {
124    /// Unique id for inter-element referencing
125    #[fhir(name="id", min="0", max="1", summary=false, modifier=false, choice="")]
126    pub id: Option<String>,
127    /// Additional content defined by implementations
128    #[fhir(name="extension", min="0", max="*", summary=false, modifier=false, choice="")]
129    pub extension: Option<Vec<Extension>>,
130    /// Extensions that cannot be ignored even if unrecognized
131    #[fhir(name="modifierExtension", min="0", max="*", summary=true, modifier=true)]
132    pub modifier_extension: Option<Vec<Extension>>,
133    /// Criteria describing which concepts or codes should be included and why
134    #[fhir(name="inclusionCriteria", min="0", max="1", summary=false, modifier=false, choice="")]
135    pub inclusion_criteria: Option<StringDt>,
136    /// Criteria describing which concepts or codes should be excluded and why
137    #[fhir(name="exclusionCriteria", min="0", max="1", summary=false, modifier=false, choice="")]
138    pub exclusion_criteria: Option<StringDt>,
139}
140
141#[derive(Element, BackboneElement, Debug, Clone, Default)]
142pub struct ValueSetExpansionBackboneElement {
143    /// Unique id for inter-element referencing
144    #[fhir(name="id", min="0", max="1", summary=false, modifier=false, choice="")]
145    pub id: Option<String>,
146    /// Additional content defined by implementations
147    #[fhir(name="extension", min="0", max="*", summary=false, modifier=false, choice="")]
148    pub extension: Option<Vec<Extension>>,
149    /// Extensions that cannot be ignored even if unrecognized
150    #[fhir(name="modifierExtension", min="0", max="*", summary=true, modifier=true)]
151    pub modifier_extension: Option<Vec<Extension>>,
152    /// Identifies the value set expansion (business identifier)
153    #[fhir(name="identifier", min="0", max="1", summary=false, modifier=false, choice="")]
154    pub identifier: Option<UriDt>,
155    /// Opaque urls for paging through expansion results
156    #[fhir(name="next", min="0", max="1", summary=false, modifier=false, choice="")]
157    pub next: Option<UriDt>,
158    /// Time ValueSet expansion happened
159    #[fhir(name="timestamp", min="1", max="1", summary=false, modifier=false, choice="")]
160    pub timestamp: Option<DateTimeDt>,
161    /// Total number of codes in the expansion
162    #[fhir(name="total", min="0", max="1", summary=false, modifier=false, choice="")]
163    pub total: Option<IntegerDt>,
164    /// Offset at which this resource starts
165    #[fhir(name="offset", min="0", max="1", summary=false, modifier=false, choice="")]
166    pub offset: Option<IntegerDt>,
167    /// Parameter that controlled the expansion process
168    #[fhir(name="parameter", min="0", max="*", summary=false, modifier=false, choice="")]
169    pub parameter: Option<Vec<ValueSetExpansionParameterBackboneElement>>,
170    /// Additional information supplied about each concept
171    #[fhir(name="property", min="0", max="*", summary=false, modifier=false, choice="")]
172    pub property: Option<Vec<ValueSetExpansionPropertyBackboneElement>>,
173    /// Codes in the value set
174    #[fhir(name="contains", min="0", max="*", summary=false, modifier=false, choice="")]
175    pub contains: Option<Vec<ValueSetExpansionContainsBackboneElement>>,
176}
177
178#[derive(Element, BackboneElement, Debug, Clone, Default)]
179pub struct ValueSetExpansionParameterBackboneElement {
180    /// Unique id for inter-element referencing
181    #[fhir(name="id", min="0", max="1", summary=false, modifier=false, choice="")]
182    pub id: Option<String>,
183    /// Additional content defined by implementations
184    #[fhir(name="extension", min="0", max="*", summary=false, modifier=false, choice="")]
185    pub extension: Option<Vec<Extension>>,
186    /// Extensions that cannot be ignored even if unrecognized
187    #[fhir(name="modifierExtension", min="0", max="*", summary=true, modifier=true)]
188    pub modifier_extension: Option<Vec<Extension>>,
189    /// Name as assigned by the client or server
190    #[fhir(name="name", min="1", max="1", summary=false, modifier=false, choice="")]
191    pub name: Option<StringDt>,
192    /// Value of the named parameter
193    #[fhir(name="value", min="0", max="1", summary=false, modifier=false, choice="")]
194    pub value: Option<DateTimeDt>,
195}
196
197#[derive(Element, BackboneElement, Debug, Clone, Default)]
198pub struct ValueSetExpansionContainsBackboneElement {
199    /// Unique id for inter-element referencing
200    #[fhir(name="id", min="0", max="1", summary=false, modifier=false, choice="")]
201    pub id: Option<String>,
202    /// Additional content defined by implementations
203    #[fhir(name="extension", min="0", max="*", summary=false, modifier=false, choice="")]
204    pub extension: Option<Vec<Extension>>,
205    /// Extensions that cannot be ignored even if unrecognized
206    #[fhir(name="modifierExtension", min="0", max="*", summary=true, modifier=true)]
207    pub modifier_extension: Option<Vec<Extension>>,
208    /// System value for the code
209    #[fhir(name="system", min="0", max="1", summary=false, modifier=false, choice="")]
210    pub system: Option<UriDt>,
211    /// If user cannot select this entry
212    #[fhir(name="abstract", min="0", max="1", summary=false, modifier=false, choice="")]
213    pub abstract_: Option<BooleanDt>,
214    /// If concept is inactive in the code system
215    #[fhir(name="inactive", min="0", max="1", summary=false, modifier=false, choice="")]
216    pub inactive: Option<BooleanDt>,
217    /// Version in which this code/display is defined
218    #[fhir(name="version", min="0", max="1", summary=false, modifier=false, choice="")]
219    pub version: Option<StringDt>,
220    /// Code - if blank, this is not a selectable code
221    #[fhir(name="code", min="0", max="1", summary=false, modifier=false, choice="")]
222    pub code: Option<CodeDt>,
223    /// User display for the concept
224    #[fhir(name="display", min="0", max="1", summary=false, modifier=false, choice="")]
225    pub display: Option<StringDt>,
226    /// Additional representations for this item
227    #[fhir(name="designation", min="0", max="*", summary=false, modifier=false, choice="")]
228    pub designation: Option<Vec<ValueSetComposeIncludeConceptDesignationBackboneElement>>,
229    /// Property value for the concept
230    #[fhir(name="property", min="0", max="*", summary=false, modifier=false, choice="")]
231    pub property: Option<Vec<ValueSetExpansionContainsPropertyBackboneElement>>,
232    /// Codes contained under this entry
233    #[fhir(name="contains", min="0", max="*", summary=false, modifier=false, choice="")]
234    pub contains: Option<Vec<ValueSetExpansionContainsBackboneElement>>,
235}
236
237#[derive(Element, BackboneElement, Debug, Clone, Default)]
238pub struct ValueSetExpansionContainsPropertyBackboneElement {
239    /// Unique id for inter-element referencing
240    #[fhir(name="id", min="0", max="1", summary=false, modifier=false, choice="")]
241    pub id: Option<String>,
242    /// Additional content defined by implementations
243    #[fhir(name="extension", min="0", max="*", summary=false, modifier=false, choice="")]
244    pub extension: Option<Vec<Extension>>,
245    /// Extensions that cannot be ignored even if unrecognized
246    #[fhir(name="modifierExtension", min="0", max="*", summary=true, modifier=true)]
247    pub modifier_extension: Option<Vec<Extension>>,
248    /// Reference to ValueSet.expansion.property.code
249    #[fhir(name="code", min="1", max="1", summary=false, modifier=false, choice="")]
250    pub code: Option<CodeDt>,
251    /// Value of the property for this concept
252    #[fhir(name="value", min="1", max="1", summary=false, modifier=false, choice="")]
253    pub value: Option<DecimalDt>,
254    /// SubProperty value for the concept
255    #[fhir(name="subProperty", min="0", max="*", summary=false, modifier=false, choice="")]
256    pub sub_property: Option<Vec<ValueSetExpansionContainsPropertySubPropertyBackboneElement>>,
257}
258
259#[derive(Element, BackboneElement, Debug, Clone, Default)]
260pub struct ValueSetExpansionContainsPropertySubPropertyBackboneElement {
261    /// Unique id for inter-element referencing
262    #[fhir(name="id", min="0", max="1", summary=false, modifier=false, choice="")]
263    pub id: Option<String>,
264    /// Additional content defined by implementations
265    #[fhir(name="extension", min="0", max="*", summary=false, modifier=false, choice="")]
266    pub extension: Option<Vec<Extension>>,
267    /// Extensions that cannot be ignored even if unrecognized
268    #[fhir(name="modifierExtension", min="0", max="*", summary=true, modifier=true)]
269    pub modifier_extension: Option<Vec<Extension>>,
270    /// Reference to ValueSet.expansion.property.code
271    #[fhir(name="code", min="1", max="1", summary=false, modifier=false, choice="")]
272    pub code: Option<CodeDt>,
273    /// Value of the subproperty for this concept
274    #[fhir(name="value", min="1", max="1", summary=false, modifier=false, choice="")]
275    pub value: Option<DecimalDt>,
276}
277
278#[derive(Element, BackboneElement, Debug, Clone, Default)]
279pub struct ValueSetExpansionPropertyBackboneElement {
280    /// Unique id for inter-element referencing
281    #[fhir(name="id", min="0", max="1", summary=false, modifier=false, choice="")]
282    pub id: Option<String>,
283    /// Additional content defined by implementations
284    #[fhir(name="extension", min="0", max="*", summary=false, modifier=false, choice="")]
285    pub extension: Option<Vec<Extension>>,
286    /// Extensions that cannot be ignored even if unrecognized
287    #[fhir(name="modifierExtension", min="0", max="*", summary=true, modifier=true)]
288    pub modifier_extension: Option<Vec<Extension>>,
289    /// Identifies the property on the concepts, and when referred to in operations
290    #[fhir(name="code", min="1", max="1", summary=false, modifier=false, choice="")]
291    pub code: Option<CodeDt>,
292    /// Formal identifier for the property
293    #[fhir(name="uri", min="0", max="1", summary=false, modifier=false, choice="")]
294    pub uri: Option<UriDt>,
295}
296
297#[derive(Element, BackboneElement, Debug, Clone, Default)]
298pub struct ValueSetComposeBackboneElement {
299    /// Unique id for inter-element referencing
300    #[fhir(name="id", min="0", max="1", summary=false, modifier=false, choice="")]
301    pub id: Option<String>,
302    /// Additional content defined by implementations
303    #[fhir(name="extension", min="0", max="*", summary=false, modifier=false, choice="")]
304    pub extension: Option<Vec<Extension>>,
305    /// Extensions that cannot be ignored even if unrecognized
306    #[fhir(name="modifierExtension", min="0", max="*", summary=true, modifier=true)]
307    pub modifier_extension: Option<Vec<Extension>>,
308    /// Fixed date for references with no specified version (transitive)
309    #[fhir(name="lockedDate", min="0", max="1", summary=true, modifier=false, choice="")]
310    pub locked_date: Option<DateDt>,
311    /// Whether inactive codes are in the value set
312    #[fhir(name="inactive", min="0", max="1", summary=true, modifier=false, choice="")]
313    pub inactive: Option<BooleanDt>,
314    /// Include one or more codes from a code system or other value set(s)
315    #[fhir(name="include", min="1", max="*", summary=true, modifier=false, choice="")]
316    pub include: Option<Vec<ValueSetComposeIncludeBackboneElement>>,
317    /// Explicitly exclude codes from a code system or other value sets
318    #[fhir(name="exclude", min="0", max="*", summary=false, modifier=false, choice="")]
319    pub exclude: Option<Vec<ValueSetComposeIncludeBackboneElement>>,
320    /// Property to return if client doesn't override
321    #[fhir(name="property", min="0", max="*", summary=false, modifier=false, choice="")]
322    pub property: Option<Vec<StringDt>>,
323}
324
325#[derive(Element, BackboneElement, Debug, Clone, Default)]
326pub struct ValueSetComposeIncludeBackboneElement {
327    /// Unique id for inter-element referencing
328    #[fhir(name="id", min="0", max="1", summary=false, modifier=false, choice="")]
329    pub id: Option<String>,
330    /// Additional content defined by implementations
331    #[fhir(name="extension", min="0", max="*", summary=false, modifier=false, choice="")]
332    pub extension: Option<Vec<Extension>>,
333    /// Extensions that cannot be ignored even if unrecognized
334    #[fhir(name="modifierExtension", min="0", max="*", summary=true, modifier=true)]
335    pub modifier_extension: Option<Vec<Extension>>,
336    /// The system the codes come from
337    #[fhir(name="system", min="0", max="1", summary=true, modifier=false, choice="")]
338    pub system: Option<UriDt>,
339    /// Specific version of the code system referred to
340    #[fhir(name="version", min="0", max="1", summary=true, modifier=false, choice="")]
341    pub version: Option<StringDt>,
342    /// A concept defined in the system
343    #[fhir(name="concept", min="0", max="*", summary=false, modifier=false, choice="")]
344    pub concept: Option<Vec<ValueSetComposeIncludeConceptBackboneElement>>,
345    /// Select codes/concepts by their properties (including relationships)
346    #[fhir(name="filter", min="0", max="*", summary=true, modifier=false, choice="")]
347    pub filter: Option<Vec<ValueSetComposeIncludeFilterBackboneElement>>,
348    /// Select the contents included in this value set
349    #[fhir(name="valueSet", min="0", max="*", summary=true, modifier=false, choice="")]
350    pub value_set: Option<Vec<CanonicalDt>>,
351    /// A copyright statement for the specific code system included in the value set
352    #[fhir(name="copyright", min="0", max="1", summary=false, modifier=false, choice="")]
353    pub copyright: Option<StringDt>,
354}
355
356#[derive(Element, BackboneElement, Debug, Clone, Default)]
357pub struct ValueSetComposeIncludeConceptBackboneElement {
358    /// Unique id for inter-element referencing
359    #[fhir(name="id", min="0", max="1", summary=false, modifier=false, choice="")]
360    pub id: Option<String>,
361    /// Additional content defined by implementations
362    #[fhir(name="extension", min="0", max="*", summary=false, modifier=false, choice="")]
363    pub extension: Option<Vec<Extension>>,
364    /// Extensions that cannot be ignored even if unrecognized
365    #[fhir(name="modifierExtension", min="0", max="*", summary=true, modifier=true)]
366    pub modifier_extension: Option<Vec<Extension>>,
367    /// Code or expression from system
368    #[fhir(name="code", min="1", max="1", summary=false, modifier=false, choice="")]
369    pub code: Option<CodeDt>,
370    /// Text to display for this code for this value set in this valueset
371    #[fhir(name="display", min="0", max="1", summary=false, modifier=false, choice="")]
372    pub display: Option<StringDt>,
373    /// Additional representations for this concept
374    #[fhir(name="designation", min="0", max="*", summary=false, modifier=false, choice="")]
375    pub designation: Option<Vec<ValueSetComposeIncludeConceptDesignationBackboneElement>>,
376}
377
378#[derive(Element, BackboneElement, Debug, Clone, Default)]
379pub struct ValueSetComposeIncludeConceptDesignationBackboneElement {
380    /// Unique id for inter-element referencing
381    #[fhir(name="id", min="0", max="1", summary=false, modifier=false, choice="")]
382    pub id: Option<String>,
383    /// Additional content defined by implementations
384    #[fhir(name="extension", min="0", max="*", summary=false, modifier=false, choice="")]
385    pub extension: Option<Vec<Extension>>,
386    /// Extensions that cannot be ignored even if unrecognized
387    #[fhir(name="modifierExtension", min="0", max="*", summary=true, modifier=true)]
388    pub modifier_extension: Option<Vec<Extension>>,
389    /// Human language of the designation
390    #[fhir(name="language", min="0", max="1", summary=false, modifier=false, choice="")]
391    pub language: Option<CodeDt>,
392    /// Types of uses of designations
393    #[fhir(name="use", min="0", max="1", summary=false, modifier=false, choice="")]
394    pub use_: Option<Coding>,
395    /// Additional ways how this designation would be used
396    #[fhir(name="additionalUse", min="0", max="*", summary=false, modifier=false, choice="")]
397    pub additional_use: Option<Vec<Coding>>,
398    /// The text value for this designation
399    #[fhir(name="value", min="1", max="1", summary=false, modifier=false, choice="")]
400    pub value: Option<StringDt>,
401}
402
403#[derive(Element, BackboneElement, Debug, Clone, Default)]
404pub struct ValueSetComposeIncludeFilterBackboneElement {
405    /// Unique id for inter-element referencing
406    #[fhir(name="id", min="0", max="1", summary=false, modifier=false, choice="")]
407    pub id: Option<String>,
408    /// Additional content defined by implementations
409    #[fhir(name="extension", min="0", max="*", summary=false, modifier=false, choice="")]
410    pub extension: Option<Vec<Extension>>,
411    /// Extensions that cannot be ignored even if unrecognized
412    #[fhir(name="modifierExtension", min="0", max="*", summary=true, modifier=true)]
413    pub modifier_extension: Option<Vec<Extension>>,
414    /// A property/filter defined by the code system
415    #[fhir(name="property", min="1", max="1", summary=true, modifier=false, choice="")]
416    pub property: Option<CodeDt>,
417    /// = | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | child-of | descendent-leaf | exists
418    #[fhir(name="op", min="1", max="1", summary=true, modifier=false, choice="")]
419    pub op: Option<CodeDt>,
420    /// Code from the system, or regex criteria, or boolean value for exists
421    #[fhir(name="value", min="1", max="1", summary=true, modifier=false, choice="")]
422    pub value: Option<StringDt>,
423}
424