14
14
15
15
package fhir
16
16
17
+ import "encoding/json"
18
+
17
19
// THIS FILE IS GENERATED BY https://github.com/samply/golang-fhir-models
18
20
// PLEASE DO NOT EDIT BY HAND
19
21
@@ -45,7 +47,7 @@ type ElementDefinition struct {
45
47
DefaultValueCode * string `bson:"defaultValueCode,omitempty" json:"defaultValueCode,omitempty"`
46
48
DefaultValueDate * string `bson:"defaultValueDate,omitempty" json:"defaultValueDate,omitempty"`
47
49
DefaultValueDateTime * string `bson:"defaultValueDateTime,omitempty" json:"defaultValueDateTime,omitempty"`
48
- DefaultValueDecimal * string `bson:"defaultValueDecimal,omitempty" json:"defaultValueDecimal,omitempty"`
50
+ DefaultValueDecimal * json. Number `bson:"defaultValueDecimal,omitempty" json:"defaultValueDecimal,omitempty"`
49
51
DefaultValueId * string `bson:"defaultValueId,omitempty" json:"defaultValueId,omitempty"`
50
52
DefaultValueInstant * string `bson:"defaultValueInstant,omitempty" json:"defaultValueInstant,omitempty"`
51
53
DefaultValueInteger * int `bson:"defaultValueInteger,omitempty" json:"defaultValueInteger,omitempty"`
@@ -97,7 +99,7 @@ type ElementDefinition struct {
97
99
FixedCode * string `bson:"fixedCode,omitempty" json:"fixedCode,omitempty"`
98
100
FixedDate * string `bson:"fixedDate,omitempty" json:"fixedDate,omitempty"`
99
101
FixedDateTime * string `bson:"fixedDateTime,omitempty" json:"fixedDateTime,omitempty"`
100
- FixedDecimal * string `bson:"fixedDecimal,omitempty" json:"fixedDecimal,omitempty"`
102
+ FixedDecimal * json. Number `bson:"fixedDecimal,omitempty" json:"fixedDecimal,omitempty"`
101
103
FixedId * string `bson:"fixedId,omitempty" json:"fixedId,omitempty"`
102
104
FixedInstant * string `bson:"fixedInstant,omitempty" json:"fixedInstant,omitempty"`
103
105
FixedInteger * int `bson:"fixedInteger,omitempty" json:"fixedInteger,omitempty"`
@@ -147,7 +149,7 @@ type ElementDefinition struct {
147
149
PatternCode * string `bson:"patternCode,omitempty" json:"patternCode,omitempty"`
148
150
PatternDate * string `bson:"patternDate,omitempty" json:"patternDate,omitempty"`
149
151
PatternDateTime * string `bson:"patternDateTime,omitempty" json:"patternDateTime,omitempty"`
150
- PatternDecimal * string `bson:"patternDecimal,omitempty" json:"patternDecimal,omitempty"`
152
+ PatternDecimal * json. Number `bson:"patternDecimal,omitempty" json:"patternDecimal,omitempty"`
151
153
PatternId * string `bson:"patternId,omitempty" json:"patternId,omitempty"`
152
154
PatternInstant * string `bson:"patternInstant,omitempty" json:"patternInstant,omitempty"`
153
155
PatternInteger * int `bson:"patternInteger,omitempty" json:"patternInteger,omitempty"`
@@ -196,7 +198,7 @@ type ElementDefinition struct {
196
198
MinValueDateTime * string `bson:"minValueDateTime,omitempty" json:"minValueDateTime,omitempty"`
197
199
MinValueInstant * string `bson:"minValueInstant,omitempty" json:"minValueInstant,omitempty"`
198
200
MinValueTime * string `bson:"minValueTime,omitempty" json:"minValueTime,omitempty"`
199
- MinValueDecimal * string `bson:"minValueDecimal,omitempty" json:"minValueDecimal,omitempty"`
201
+ MinValueDecimal * json. Number `bson:"minValueDecimal,omitempty" json:"minValueDecimal,omitempty"`
200
202
MinValueInteger * int `bson:"minValueInteger,omitempty" json:"minValueInteger,omitempty"`
201
203
MinValuePositiveInt * int `bson:"minValuePositiveInt,omitempty" json:"minValuePositiveInt,omitempty"`
202
204
MinValueUnsignedInt * int `bson:"minValueUnsignedInt,omitempty" json:"minValueUnsignedInt,omitempty"`
@@ -205,7 +207,7 @@ type ElementDefinition struct {
205
207
MaxValueDateTime * string `bson:"maxValueDateTime,omitempty" json:"maxValueDateTime,omitempty"`
206
208
MaxValueInstant * string `bson:"maxValueInstant,omitempty" json:"maxValueInstant,omitempty"`
207
209
MaxValueTime * string `bson:"maxValueTime,omitempty" json:"maxValueTime,omitempty"`
208
- MaxValueDecimal * string `bson:"maxValueDecimal,omitempty" json:"maxValueDecimal,omitempty"`
210
+ MaxValueDecimal * json. Number `bson:"maxValueDecimal,omitempty" json:"maxValueDecimal,omitempty"`
209
211
MaxValueInteger * int `bson:"maxValueInteger,omitempty" json:"maxValueInteger,omitempty"`
210
212
MaxValuePositiveInt * int `bson:"maxValuePositiveInt,omitempty" json:"maxValuePositiveInt,omitempty"`
211
213
MaxValueUnsignedInt * int `bson:"maxValueUnsignedInt,omitempty" json:"maxValueUnsignedInt,omitempty"`
@@ -260,7 +262,7 @@ type ElementDefinitionExample struct {
260
262
ValueCode string `bson:"valueCode" json:"valueCode"`
261
263
ValueDate string `bson:"valueDate" json:"valueDate"`
262
264
ValueDateTime string `bson:"valueDateTime" json:"valueDateTime"`
263
- ValueDecimal string `bson:"valueDecimal" json:"valueDecimal"`
265
+ ValueDecimal json. Number `bson:"valueDecimal" json:"valueDecimal"`
264
266
ValueId string `bson:"valueId" json:"valueId"`
265
267
ValueInstant string `bson:"valueInstant" json:"valueInstant"`
266
268
ValueInteger int `bson:"valueInteger" json:"valueInteger"`
0 commit comments