forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fhir.d.ts
16474 lines (16473 loc) · 427 KB
/
fhir.d.ts
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
// Type definitions for FHIR DSTU2 v1.0.0
// Project: http://www.hl7.org/fhir/2015Sep/index.html
// Definitions by: Artifact Health <http://www.artifacthealth.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace fhir {
type id = string;
/**
* String of characters used to identify a name or a resource
*/
type uri = string;
/**
* A whole number
*/
type integer = number;
/**
* A rational number with implicit precision
*/
type decimal = number;
/**
* A stream of bytes
*/
type base64Binary = string;
/**
* An instant in time - known at least to the second
*/
type instant = string;
/**
* A date, or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates.
*/
type date = string;
/**
* A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.
*/
type dateTime = string;
/**
* A time during the day, with no date specified
*/
type time = string;
type code = string;
type oid = string;
type unsignedInt = number;
type positiveInt = number;
type markdown = string;
/**
* A reference from one resource to another
*/
interface Reference extends Element {
/**
* Relative, internal or absolute URL reference
*/
reference?: string;
/**
* Contains reference's id, extensions, and comments.
*/
_reference?: Element;
/**
* Text alternative for the resource
*/
display?: string;
/**
* Contains display's id, extensions, and comments.
*/
_display?: Element;
}
/**
* A reference to a code defined by a terminology system
*/
interface Coding extends Element {
/**
* Identity of the terminology system
*/
system?: uri;
/**
* Contains system's id, extensions, and comments.
*/
_system?: Element;
/**
* Version of the system - if relevant
*/
version?: string;
/**
* Contains version's id, extensions, and comments.
*/
_version?: Element;
/**
* Symbol in syntax defined by the system
*/
code?: code;
/**
* Contains code's id, extensions, and comments.
*/
_code?: Element;
/**
* Representation defined by the system
*/
display?: string;
/**
* Contains display's id, extensions, and comments.
*/
_display?: Element;
/**
* If this coding was chosen directly by the user
*/
userSelected?: boolean;
/**
* Contains userSelected's id, extensions, and comments.
*/
_userSelected?: Element;
}
/**
* Concept - reference to a terminology or just text
*/
interface CodeableConcept extends Element {
/**
* Code defined by a terminology system
*/
coding?: Coding[];
/**
* Plain text representation of the concept
*/
text?: string;
/**
* Contains text's id, extensions, and comments.
*/
_text?: Element;
}
/**
* Time range defined by start and end date/time
*/
interface Period extends Element {
/**
* Starting time with inclusive boundary
*/
start?: dateTime;
/**
* Contains start's id, extensions, and comments.
*/
_start?: Element;
/**
* End time with inclusive boundary, if not ongoing
*/
end?: dateTime;
/**
* Contains end's id, extensions, and comments.
*/
_end?: Element;
}
/**
* Details of a Technology mediated contact point (phone, fax, email, etc)
*/
interface ContactPoint extends Element {
/**
* phone | fax | email | pager | other
*/
system?: code;
/**
* Contains system's id, extensions, and comments.
*/
_system?: Element;
/**
* The actual contact point details
*/
value?: string;
/**
* Contains value's id, extensions, and comments.
*/
_value?: Element;
/**
* home | work | temp | old | mobile - purpose of this contact point
*/
use?: code;
/**
* Contains use's id, extensions, and comments.
*/
_use?: Element;
/**
* Specify preferred order of use (1 = highest)
*/
rank?: positiveInt;
/**
* Contains rank's id, extensions, and comments.
*/
_rank?: Element;
/**
* Time period when the contact point was/is in use
*/
period?: Period;
}
/**
* A postal address
*/
interface Address extends Element {
/**
* home | work | temp | old - purpose of this address
*/
use?: code;
/**
* Contains use's id, extensions, and comments.
*/
_use?: Element;
/**
* postal | physical | both
*/
type?: code;
/**
* Contains type's id, extensions, and comments.
*/
_type?: Element;
/**
* Text representation of the address
*/
text?: string;
/**
* Contains text's id, extensions, and comments.
*/
_text?: Element;
/**
* Street name, number, direction & P.O. Box etc
*/
line?: string[];
/**
* Contains line's id, extensions, and comments.
*/
_line?: Element[];
/**
* Name of city, town etc.
*/
city?: string;
/**
* Contains city's id, extensions, and comments.
*/
_city?: Element;
/**
* District name (aka county)
*/
district?: string;
/**
* Contains district's id, extensions, and comments.
*/
_district?: Element;
/**
* Sub-unit of country (abreviations ok)
*/
state?: string;
/**
* Contains state's id, extensions, and comments.
*/
_state?: Element;
/**
* Postal code for area
*/
postalCode?: string;
/**
* Contains postalCode's id, extensions, and comments.
*/
_postalCode?: Element;
/**
* Country (can be ISO 3166 3 letter code)
*/
country?: string;
/**
* Contains country's id, extensions, and comments.
*/
_country?: Element;
/**
* Time period when address was/is in use
*/
period?: Period;
}
/**
* Contact for the organization for a certain purpose
*/
interface OrganizationContact extends Element {
/**
* The type of contact
*/
purpose?: CodeableConcept;
/**
* A name associated with the contact
*/
name?: HumanName;
/**
* Contact details (telephone, email, etc) for a contact
*/
telecom?: ContactPoint[];
/**
* Visiting or postal addresses for the contact
*/
address?: Address;
}
/**
* Name of a human - parts and usage
*/
interface HumanName extends Element {
/**
* usual | official | temp | nickname | anonymous | old | maiden
*/
use?: code;
/**
* Contains use's id, extensions, and comments.
*/
_use?: Element;
/**
* Text representation of the full name
*/
text?: string;
/**
* Contains text's id, extensions, and comments.
*/
_text?: Element;
/**
* Family name (often called 'Surname')
*/
family?: string[];
/**
* Contains family's id, extensions, and comments.
*/
_family?: Element[];
/**
* Given names (not always 'first'). Includes middle names
*/
given?: string[];
/**
* Contains given's id, extensions, and comments.
*/
_given?: Element[];
/**
* Parts that come before the name
*/
prefix?: string[];
/**
* Contains prefix's id, extensions, and comments.
*/
_prefix?: Element[];
/**
* Parts that come after the name
*/
suffix?: string[];
/**
* Contains suffix's id, extensions, and comments.
*/
_suffix?: Element[];
/**
* Time period when name was/is in use
*/
period?: Period;
}
/**
* A grouping of people or organizations with a common purpose
*/
interface Organization extends DomainResource {
/**
* Identifies this organization across multiple systems
*/
identifier?: Identifier[];
/**
* Whether the organization's record is still in active use
*/
active?: boolean;
/**
* Contains active's id, extensions, and comments.
*/
_active?: Element;
/**
* Kind of organization
*/
type?: CodeableConcept;
/**
* Name used for the organization
*/
name?: string;
/**
* Contains name's id, extensions, and comments.
*/
_name?: Element;
/**
* A contact detail for the organization
*/
telecom?: ContactPoint[];
/**
* An address for the organization
*/
address?: Address[];
/**
* The organization of which this organization forms a part
*/
partOf?: Reference;
/**
* Contact for the organization for a certain purpose
*/
contact?: OrganizationContact[];
}
/**
* An identifier intended for computation
*/
interface Identifier extends Element {
/**
* usual | official | temp | secondary (If known)
*/
use?: code;
/**
* Contains use's id, extensions, and comments.
*/
_use?: Element;
/**
* Description of identifier
*/
type?: CodeableConcept;
/**
* The namespace for the identifier
*/
system?: uri;
/**
* Contains system's id, extensions, and comments.
*/
_system?: Element;
/**
* The value that is unique
*/
value?: string;
/**
* Contains value's id, extensions, and comments.
*/
_value?: Element;
/**
* Time period when id is/was valid for use
*/
period?: Period;
/**
* Organization that issued id (may be just text)
*/
assigner?: Reference;
}
/**
* Content in a format defined elsewhere
*/
interface Attachment extends Element {
/**
* Mime type of the content, with charset etc.
*/
contentType?: code;
/**
* Contains contentType's id, extensions, and comments.
*/
_contentType?: Element;
/**
* Human language of the content (BCP-47)
*/
language?: code;
/**
* Contains language's id, extensions, and comments.
*/
_language?: Element;
/**
* Data inline, base64ed
*/
data?: base64Binary;
/**
* Contains data's id, extensions, and comments.
*/
_data?: Element;
/**
* Uri where the data can be found
*/
url?: uri;
/**
* Contains url's id, extensions, and comments.
*/
_url?: Element;
/**
* Number of bytes of content (if url provided)
*/
size?: unsignedInt;
/**
* Contains size's id, extensions, and comments.
*/
_size?: Element;
/**
* Hash of the data (sha-1, base64ed )
*/
hash?: base64Binary;
/**
* Contains hash's id, extensions, and comments.
*/
_hash?: Element;
/**
* Label to display in place of the data
*/
title?: string;
/**
* Contains title's id, extensions, and comments.
*/
_title?: Element;
/**
* Date attachment was first created
*/
creation?: dateTime;
/**
* Contains creation's id, extensions, and comments.
*/
_creation?: Element;
}
/**
* The list of Roles/Organizations that the Practitioner is associated with
*/
interface PractitionerPractitionerRole extends Element {
/**
* The Organization where the Practitioner performs the roles associated
*/
managingOrganization?: Reference;
/**
* Roles which this practitioner may perform
*/
role?: CodeableConcept;
/**
* Specific specialty of the practitioner
*/
specialty?: CodeableConcept[];
/**
* The period during which the practitioner is authorized to perform in these role(s)
*/
period?: Period;
/**
* The location(s) at which this practitioner provides care
*/
location?: Reference[];
/**
* The list of healthcare services that this worker provides for this role's Organization/Location(s)
*/
healthcareService?: Reference[];
}
/**
* The absolute geographic location
*/
interface LocationPosition extends Element {
/**
* Longitude with WGS84 datum
*/
longitude: decimal;
/**
* Contains longitude's id, extensions, and comments.
*/
_longitude?: Element;
/**
* Latitude with WGS84 datum
*/
latitude: decimal;
/**
* Contains latitude's id, extensions, and comments.
*/
_latitude?: Element;
/**
* Altitude with WGS84 datum
*/
altitude?: decimal;
/**
* Contains altitude's id, extensions, and comments.
*/
_altitude?: Element;
}
/**
* Details and position information for a physical place
*/
interface Location extends DomainResource {
/**
* Unique code or number identifying the location to its users
*/
identifier?: Identifier[];
/**
* active | suspended | inactive
*/
status?: code;
/**
* Contains status's id, extensions, and comments.
*/
_status?: Element;
/**
* Name of the location as used by humans
*/
name?: string;
/**
* Contains name's id, extensions, and comments.
*/
_name?: Element;
/**
* Description of the Location, which helps in finding or referencing the place
*/
description?: string;
/**
* Contains description's id, extensions, and comments.
*/
_description?: Element;
/**
* instance | kind
*/
mode?: code;
/**
* Contains mode's id, extensions, and comments.
*/
_mode?: Element;
/**
* Indicates the type of function performed at the location
*/
type?: CodeableConcept;
/**
* Contact details of the location
*/
telecom?: ContactPoint[];
/**
* Physical location
*/
address?: Address;
/**
* Physical form of the location
*/
physicalType?: CodeableConcept;
/**
* The absolute geographic location
*/
position?: LocationPosition;
/**
* The organization that is responsible for the provisioning and upkeep of the location
*/
managingOrganization?: Reference;
/**
* Another Location which this Location is physically part of
*/
partOf?: Reference;
}
/**
* A specific type of service that may be delivered or performed
*/
interface HealthcareServiceServiceType extends Element {
/**
* The specific type of service being delivered or performed
*/
type: CodeableConcept;
/**
* Collection of Specialties handled by the Service Site. This is more of a Medical Term
*/
specialty?: CodeableConcept[];
}
/**
* A Collection of times that the Service Site is available
*/
interface HealthcareServiceAvailableTime extends Element {
/**
* mon | tue | wed | thu | fri | sat | sun
*/
daysOfWeek?: code[];
/**
* Contains daysOfWeek's id, extensions, and comments.
*/
_daysOfWeek?: Element[];
/**
* Is this always available? (hence times are irrelevant) e.g. 24 hour service
*/
allDay?: boolean;
/**
* Contains allDay's id, extensions, and comments.
*/
_allDay?: Element;
/**
* The opening time of day. Note: If the AllDay flag is set, then this time is ignored
*/
availableStartTime?: time;
/**
* Contains availableStartTime's id, extensions, and comments.
*/
_availableStartTime?: Element;
/**
* The closing time of day. Note: If the AllDay flag is set, then this time is ignored
*/
availableEndTime?: time;
/**
* Contains availableEndTime's id, extensions, and comments.
*/
_availableEndTime?: Element;
}
/**
* The HealthcareService is not available during this period of time due to the provided reason
*/
interface HealthcareServiceNotAvailable extends Element {
/**
* The reason that can be presented to the user as to why this time is not available
*/
description: string;
/**
* Contains description's id, extensions, and comments.
*/
_description?: Element;
/**
* Service is not available (seasonally or for a public holiday) from this date
*/
during?: Period;
}
/**
* The details of a Healthcare Service available at a location
*/
interface HealthcareService extends DomainResource {
/**
* External Identifiers for this item
*/
identifier?: Identifier[];
/**
* The organization that provides this Healthcare Service
*/
providedBy?: Reference;
/**
* Identifies the broad category of service being performed or delivered. Selecting a Service Category then determines the list of relevant service types that can be selected in the Primary Service Type
*/
serviceCategory?: CodeableConcept;
/**
* A specific type of service that may be delivered or performed
*/
serviceType?: HealthcareServiceServiceType[];
/**
* The location where this healthcare service may be provided
*/
location: Reference;
/**
* Further description of the service as it would be presented to a consumer while searching
*/
serviceName?: string;
/**
* Contains serviceName's id, extensions, and comments.
*/
_serviceName?: Element;
/**
* Any additional description of the service and/or any specific issues not covered by the other attributes, which can be displayed as further detail under the serviceName
*/
comment?: string;
/**
* Contains comment's id, extensions, and comments.
*/
_comment?: Element;
/**
* Extra details about the service that can't be placed in the other fields
*/
extraDetails?: string;
/**
* Contains extraDetails's id, extensions, and comments.
*/
_extraDetails?: Element;
/**
* If there is a photo/symbol associated with this HealthcareService, it may be included here to facilitate quick identification of the service in a list
*/
photo?: Attachment;
/**
* List of contacts related to this specific healthcare service. If this is empty, then refer to the location's contacts
*/
telecom?: ContactPoint[];
/**
* The location(s) that this service is available to (not where the service is provided)
*/
coverageArea?: Reference[];
/**
* The code(s) that detail the conditions under which the healthcare service is available/offered
*/
serviceProvisionCode?: CodeableConcept[];
/**
* Does this service have specific eligibility requirements that need to be met in order to use the service
*/
eligibility?: CodeableConcept;
/**
* Describes the eligibility conditions for the service
*/
eligibilityNote?: string;
/**
* Contains eligibilityNote's id, extensions, and comments.
*/
_eligibilityNote?: Element;
/**
* Program Names that can be used to categorize the service
*/
programName?: string[];
/**
* Contains programName's id, extensions, and comments.
*/
_programName?: Element[];
/**
* Collection of Characteristics (attributes)
*/
characteristic?: CodeableConcept[];
/**
* Ways that the service accepts referrals
*/
referralMethod?: CodeableConcept[];
/**
* The public part of the 'keys' allocated to an Organization by an accredited body to support secure exchange of data over the internet. To be provided by the Organization, where available
*/
publicKey?: string;
/**
* Contains publicKey's id, extensions, and comments.
*/
_publicKey?: Element;
/**
* Indicates if an appointment is required for access to this service
*/
appointmentRequired?: boolean;
/**
* Contains appointmentRequired's id, extensions, and comments.
*/
_appointmentRequired?: Element;
/**
* A Collection of times that the Service Site is available
*/
availableTime?: HealthcareServiceAvailableTime[];
/**
* The HealthcareService is not available during this period of time due to the provided reason
*/
notAvailable?: HealthcareServiceNotAvailable[];
/**
* A description of Site availability exceptions, e.g., public holiday availability. Succinctly describing all possible exceptions to normal Site availability as details in the Available Times and Not Available Times
*/
availabilityExceptions?: string;
/**
* Contains availabilityExceptions's id, extensions, and comments.
*/
_availabilityExceptions?: Element;
}
/**
* Qualifications obtained by training and certification
*/
interface PractitionerQualification extends Element {
/**
* An identifier for this qualification for the practitioner
*/
identifier?: Identifier[];
/**
* Coded representation of the qualification
*/
code: CodeableConcept;
/**
* Period during which the qualification is valid
*/
period?: Period;
/**
* Organization that regulates and issues the qualification
*/
issuer?: Reference;
}
/**
* A person with a formal responsibility in the provisioning of healthcare or related services
*/
interface Practitioner extends DomainResource {
/**
* A identifier for the person as this agent
*/
identifier?: Identifier[];
/**
* Whether this practitioner's record is in active use
*/
active?: boolean;
/**
* Contains active's id, extensions, and comments.
*/
_active?: Element;
/**
* A name associated with the person
*/
name?: HumanName;
/**
* A contact detail for the practitioner
*/
telecom?: ContactPoint[];
/**
* Where practitioner can be found/visited
*/
address?: Address[];
/**
* male | female | other | unknown
*/
gender?: code;
/**
* Contains gender's id, extensions, and comments.
*/
_gender?: Element;
/**
* The date on which the practitioner was born
*/
birthDate?: date;
/**
* Contains birthDate's id, extensions, and comments.
*/
_birthDate?: Element;
/**
* Image of the person
*/
photo?: Attachment[];
/**
* The list of Roles/Organizations that the Practitioner is associated with
*/
practitionerRole?: PractitionerPractitionerRole[];
/**
* Qualifications obtained by training and certification
*/
qualification?: PractitionerQualification[];
/**
* A language the practitioner is able to use in patient communication
*/
communication?: CodeableConcept[];
}
/**
* A contact party (e.g. guardian, partner, friend) for the patient
*/
interface PatientContact extends Element {
/**
* The kind of relationship
*/
relationship?: CodeableConcept[];
/**
* A name associated with the contact person
*/
name?: HumanName;
/**
* A contact detail for the person
*/
telecom?: ContactPoint[];
/**
* Address for the contact person
*/
address?: Address;
/**
* male | female | other | unknown
*/
gender?: code;
/**
* Contains gender's id, extensions, and comments.
*/
_gender?: Element;
/**
* Organization that is associated with the contact
*/
organization?: Reference;
/**
* The period during which this contact person or organization is valid to be contacted relating to this patient
*/
period?: Period;
}
/**
* This patient is known to be an animal (non-human)
*/
interface PatientAnimal extends Element {
/**
* E.g. Dog, Cow
*/
species: CodeableConcept;
/**
* E.g. Poodle, Angus
*/
breed?: CodeableConcept;
/**
* E.g. Neutered, Intact
*/
genderStatus?: CodeableConcept;
}
/**
* A list of Languages which may be used to communicate with the patient about his or her health
*/
interface PatientCommunication extends Element {
/**
* The language which can be used to communicate with the patient about his or her health
*/
language: CodeableConcept;
/**
* Language preference indicator
*/
preferred?: boolean;
/**
* Contains preferred's id, extensions, and comments.
*/
_preferred?: Element;
}
/**
* Link to another patient resource that concerns the same actual person
*/
interface PatientLink extends Element {
/**
* The other patient resource that the link refers to
*/
other: Reference;
/**
* replace | refer | seealso - type of link
*/
type: code;
/**
* Contains type's id, extensions, and comments.
*/
_type?: Element;
}
/**
* Information about an individual or animal receiving health care services
*/
interface Patient extends DomainResource {
/**
* An identifier for this patient
*/
identifier?: Identifier[];