File tree 2 files changed +2
-9
lines changed
2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 3
3
:derivation " specialization" ,
4
4
:name " Patient" ,
5
5
:type " Patient" ,
6
+ :kind " resource"
6
7
:resource-name " Patient"
7
8
:elements
8
9
[{:name " multipleBirthBoolean" ,
Original file line number Diff line number Diff line change 141
141
" };" ]))
142
142
143
143
(testing " empty elements"
144
- (is (= " export type Base = {
145
- resourceType: 'Base'
146
- };"
144
+ (is (= " export type Base = {};"
147
145
(gen.typescript/generate-class {:package " hl7.fhir.r5.core" ,
148
146
:derivation nil,
149
147
:type " Base" ,
162
160
(map gen.typescript/generate-class (:backbone-elements (fixt/get-data :patient-ir-schema )))))
163
161
164
162
[" export type PatientLink = BackboneElement & {"
165
- " resourceType: 'PatientLink'"
166
163
" type: string;"
167
164
" other: Reference;"
168
165
" };"
169
166
" "
170
167
" export type PatientCommunication = BackboneElement & {"
171
- " resourceType: 'PatientCommunication'"
172
168
" language: CodeableConcept;"
173
169
" preferred?: boolean;"
174
170
" };"
175
171
" "
176
172
" export type PatientContact = BackboneElement & {"
177
- " resourceType: 'PatientContact'"
178
173
" name?: HumanName;"
179
174
" gender?: string;"
180
175
" period?: Period;"
237
232
" import { AdministrativeGender } from './valuesets';"
238
233
" "
239
234
" export type PatientLink = BackboneElement & {"
240
- " resourceType: 'PatientLink'"
241
235
" type: string;"
242
236
" other: Reference;"
243
237
" };"
244
238
" "
245
239
" export type PatientCommunication = BackboneElement & {"
246
- " resourceType: 'PatientCommunication'"
247
240
" language: CodeableConcept;"
248
241
" preferred?: boolean;"
249
242
" };"
250
243
" "
251
244
" export type PatientContact = BackboneElement & {"
252
- " resourceType: 'PatientContact'"
253
245
" name?: HumanName;"
254
246
" gender?: string;"
255
247
" period?: Period;"
You can’t perform that action at this time.
0 commit comments