1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package ca.uhn.fhir.model.dstu.resource;
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40 import java.util.Date;
41 import java.util.List;
42
43 import ca.uhn.fhir.model.api.BaseIdentifiableElement;
44 import ca.uhn.fhir.model.api.BaseResource;
45 import ca.uhn.fhir.model.api.IElement;
46 import ca.uhn.fhir.model.api.IResource;
47 import ca.uhn.fhir.model.api.IResourceBlock;
48 import ca.uhn.fhir.model.api.Include;
49 import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
50 import ca.uhn.fhir.model.api.annotation.Block;
51 import ca.uhn.fhir.model.api.annotation.Child;
52 import ca.uhn.fhir.model.api.annotation.Description;
53 import ca.uhn.fhir.model.api.annotation.ResourceDef;
54 import ca.uhn.fhir.model.api.annotation.SearchParamDefinition;
55 import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
56 import ca.uhn.fhir.model.dstu.composite.CodingDt;
57 import ca.uhn.fhir.model.dstu.composite.ContactDt;
58 import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
59 import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
60 import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
61 import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
62 import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
63 import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
64 import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
65 import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
66 import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
67 import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
68 import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
69 import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
70 import ca.uhn.fhir.model.primitive.Base64BinaryDt;
71 import ca.uhn.fhir.model.primitive.BooleanDt;
72 import ca.uhn.fhir.model.primitive.BoundCodeDt;
73 import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
74 import ca.uhn.fhir.model.primitive.CodeDt;
75 import ca.uhn.fhir.model.primitive.DateTimeDt;
76 import ca.uhn.fhir.model.primitive.IdDt;
77 import ca.uhn.fhir.model.primitive.IntegerDt;
78 import ca.uhn.fhir.model.primitive.StringDt;
79 import ca.uhn.fhir.model.primitive.UriDt;
80 import ca.uhn.fhir.rest.gclient.DateClientParam;
81 import ca.uhn.fhir.rest.gclient.ReferenceClientParam;
82 import ca.uhn.fhir.rest.gclient.StringClientParam;
83 import ca.uhn.fhir.rest.gclient.TokenClientParam;
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106 @ResourceDef(name="Conformance", profile="http://hl7.org/fhir/profiles/Conformance", id="conformance")
107 public class Conformance extends BaseResource implements IResource {
108
109
110
111
112
113
114
115
116
117 @SearchParamDefinition(name="identifier", path="Conformance.identifier", description="The identifier of the conformance statement", type="token" )
118 public static final String SP_IDENTIFIER = "identifier";
119
120
121
122
123
124
125
126
127
128 public static final TokenClientParam IDENTIFIER = new TokenClientParam(SP_IDENTIFIER);
129
130
131
132
133
134
135
136
137
138 @SearchParamDefinition(name="version", path="Conformance.version", description="The version identifier of the conformance statement", type="token" )
139 public static final String SP_VERSION = "version";
140
141
142
143
144
145
146
147
148
149 public static final TokenClientParam VERSION = new TokenClientParam(SP_VERSION);
150
151
152
153
154
155
156
157
158
159 @SearchParamDefinition(name="name", path="Conformance.name", description="Name of the conformance statement", type="string" )
160 public static final String SP_NAME = "name";
161
162
163
164
165
166
167
168
169
170 public static final StringClientParam NAME = new StringClientParam(SP_NAME);
171
172
173
174
175
176
177
178
179
180 @SearchParamDefinition(name="publisher", path="Conformance.publisher", description="Name of the publisher of the conformance statement", type="string" )
181 public static final String SP_PUBLISHER = "publisher";
182
183
184
185
186
187
188
189
190
191 public static final StringClientParam PUBLISHER = new StringClientParam(SP_PUBLISHER);
192
193
194
195
196
197
198
199
200
201 @SearchParamDefinition(name="description", path="Conformance.description", description="Text search in the description of the conformance statement", type="string" )
202 public static final String SP_DESCRIPTION = "description";
203
204
205
206
207
208
209
210
211
212 public static final StringClientParam DESCRIPTION = new StringClientParam(SP_DESCRIPTION);
213
214
215
216
217
218
219
220
221
222 @SearchParamDefinition(name="status", path="Conformance.status", description="The current status of the conformance statement", type="token" )
223 public static final String SP_STATUS = "status";
224
225
226
227
228
229
230
231
232
233 public static final TokenClientParam STATUS = new TokenClientParam(SP_STATUS);
234
235
236
237
238
239
240
241
242
243 @SearchParamDefinition(name="date", path="Conformance.date", description="The conformance statement publication date", type="date" )
244 public static final String SP_DATE = "date";
245
246
247
248
249
250
251
252
253
254 public static final DateClientParam DATE = new DateClientParam(SP_DATE);
255
256
257
258
259
260
261
262
263
264 @SearchParamDefinition(name="software", path="Conformance.software.name", description="Part of a the name of a software application", type="string" )
265 public static final String SP_SOFTWARE = "software";
266
267
268
269
270
271
272
273
274
275 public static final StringClientParam SOFTWARE = new StringClientParam(SP_SOFTWARE);
276
277
278
279
280
281
282
283
284
285 @SearchParamDefinition(name="fhirversion", path="Conformance.version", description="The version of FHIR", type="token" )
286 public static final String SP_FHIRVERSION = "fhirversion";
287
288
289
290
291
292
293
294
295
296 public static final TokenClientParam FHIRVERSION = new TokenClientParam(SP_FHIRVERSION);
297
298
299
300
301
302
303
304
305
306 @SearchParamDefinition(name="resource", path="Conformance.rest.resource.type", description="Name of a resource mentioned in a conformance statement", type="token" )
307 public static final String SP_RESOURCE = "resource";
308
309
310
311
312
313
314
315
316
317 public static final TokenClientParam RESOURCE = new TokenClientParam(SP_RESOURCE);
318
319
320
321
322
323
324
325
326
327 @SearchParamDefinition(name="event", path="Conformance.messaging.event.code", description="Event code in a conformance statement", type="token" )
328 public static final String SP_EVENT = "event";
329
330
331
332
333
334
335
336
337
338 public static final TokenClientParam EVENT = new TokenClientParam(SP_EVENT);
339
340
341
342
343
344
345
346
347
348 @SearchParamDefinition(name="mode", path="Conformance.rest.mode", description="Mode - restful (server/client) or messaging (sender/receiver)", type="token" )
349 public static final String SP_MODE = "mode";
350
351
352
353
354
355
356
357
358
359 public static final TokenClientParam MODE = new TokenClientParam(SP_MODE);
360
361
362
363
364
365
366
367
368
369 @SearchParamDefinition(name="profile", path="Conformance.rest.resource.profile", description="A profile id invoked in a conformance statement", type="reference" )
370 public static final String SP_PROFILE = "profile";
371
372
373
374
375
376
377
378
379
380 public static final ReferenceClientParam PROFILE = new ReferenceClientParam(SP_PROFILE);
381
382
383
384
385
386 public static final Include INCLUDE_REST_RESOURCE_PROFILE = new Include("Conformance.rest.resource.profile");
387
388
389
390
391
392
393
394
395
396 @SearchParamDefinition(name="format", path="Conformance.format", description="", type="token" )
397 public static final String SP_FORMAT = "format";
398
399
400
401
402
403
404
405
406
407 public static final TokenClientParam FORMAT = new TokenClientParam(SP_FORMAT);
408
409
410
411
412
413
414
415
416
417 @SearchParamDefinition(name="security", path="Conformance.rest.security", description="", type="token" )
418 public static final String SP_SECURITY = "security";
419
420
421
422
423
424
425
426
427
428 public static final TokenClientParam SECURITY = new TokenClientParam(SP_SECURITY);
429
430
431
432
433
434
435
436
437
438 @SearchParamDefinition(name="supported-profile", path="Conformance.profile", description="", type="reference" )
439 public static final String SP_SUPPORTED_PROFILE = "supported-profile";
440
441
442
443
444
445
446
447
448
449 public static final ReferenceClientParam SUPPORTED_PROFILE = new ReferenceClientParam(SP_SUPPORTED_PROFILE);
450
451
452
453
454
455 public static final Include INCLUDE_PROFILE = new Include("Conformance.profile");
456
457
458 @Child(name="identifier", type=StringDt.class, order=0, min=0, max=1)
459 @Description(
460 shortDefinition="Logical id to reference this statement",
461 formalDefinition="The identifier that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI)"
462 )
463 private StringDt myIdentifier;
464
465 @Child(name="version", type=StringDt.class, order=1, min=0, max=1)
466 @Description(
467 shortDefinition="Logical id for this version of the statement",
468 formalDefinition="The identifier that is used to identify this version of the conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp"
469 )
470 private StringDt myVersion;
471
472 @Child(name="name", type=StringDt.class, order=2, min=0, max=1)
473 @Description(
474 shortDefinition="Informal name for this conformance statement",
475 formalDefinition="A free text natural language name identifying the conformance statement"
476 )
477 private StringDt myName;
478
479 @Child(name="publisher", type=StringDt.class, order=3, min=1, max=1)
480 @Description(
481 shortDefinition="Publishing Organization",
482 formalDefinition="Name of Organization publishing this conformance statement"
483 )
484 private StringDt myPublisher;
485
486 @Child(name="telecom", type=ContactDt.class, order=4, min=0, max=Child.MAX_UNLIMITED)
487 @Description(
488 shortDefinition="Contacts for Organization",
489 formalDefinition="Contacts for Organization relevant to this conformance statement. The contacts may be a website, email, phone numbers, etc."
490 )
491 private java.util.List<ContactDt> myTelecom;
492
493 @Child(name="description", type=StringDt.class, order=5, min=0, max=1)
494 @Description(
495 shortDefinition="Human description of the conformance statement",
496 formalDefinition="A free text natural language description of the conformance statement and its use. Typically, this is used when the profile describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP"
497 )
498 private StringDt myDescription;
499
500 @Child(name="status", type=CodeDt.class, order=6, min=0, max=1)
501 @Description(
502 shortDefinition="draft | active | retired",
503 formalDefinition="The status of this conformance statement"
504 )
505 private BoundCodeDt<ConformanceStatementStatusEnum> myStatus;
506
507 @Child(name="experimental", type=BooleanDt.class, order=7, min=0, max=1)
508 @Description(
509 shortDefinition="If for testing purposes, not real usage",
510 formalDefinition="A flag to indicate that this conformance statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage"
511 )
512 private BooleanDt myExperimental;
513
514 @Child(name="date", type=DateTimeDt.class, order=8, min=1, max=1)
515 @Description(
516 shortDefinition="Publication Date",
517 formalDefinition="The date when the conformance statement was published"
518 )
519 private DateTimeDt myDate;
520
521 @Child(name="software", order=9, min=0, max=1)
522 @Description(
523 shortDefinition="Software that is covered by this conformance statement",
524 formalDefinition="Software that is covered by this conformance statement. It is used when the profile describes the capabilities of a particular software version, independent of an installation."
525 )
526 private Software mySoftware;
527
528 @Child(name="implementation", order=10, min=0, max=1)
529 @Description(
530 shortDefinition="If this describes a specific instance",
531 formalDefinition="Identifies a specific implementation instance that is described by the conformance statement - i.e. a particular installation, rather than the capabilities of a software program"
532 )
533 private Implementation myImplementation;
534
535 @Child(name="fhirVersion", type=IdDt.class, order=11, min=1, max=1)
536 @Description(
537 shortDefinition="FHIR Version",
538 formalDefinition="The version of the FHIR specification on which this conformance statement is based"
539 )
540 private IdDt myFhirVersion;
541
542 @Child(name="acceptUnknown", type=BooleanDt.class, order=12, min=1, max=1)
543 @Description(
544 shortDefinition="True if application accepts unknown elements",
545 formalDefinition="A flag that indicates whether the application accepts unknown elements as part of a resource."
546 )
547 private BooleanDt myAcceptUnknown;
548
549 @Child(name="format", type=CodeDt.class, order=13, min=1, max=Child.MAX_UNLIMITED)
550 @Description(
551 shortDefinition="formats supported (xml | json | mime type)",
552 formalDefinition="A list of the formats supported by this implementation"
553 )
554 private java.util.List<CodeDt> myFormat;
555
556 @Child(name="profile", order=14, min=0, max=Child.MAX_UNLIMITED, type={
557 ca.uhn.fhir.model.dstu.resource.Profile.class })
558 @Description(
559 shortDefinition="Profiles supported by the system",
560 formalDefinition="A list of profiles supported by the system. For a server, \"supported by the system\" means the system hosts/produces a set of recourses, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile."
561 )
562 private java.util.List<ResourceReferenceDt> myProfile;
563
564 @Child(name="rest", order=15, min=0, max=Child.MAX_UNLIMITED)
565 @Description(
566 shortDefinition="If the endpoint is a RESTful one",
567 formalDefinition="A definition of the restful capabilities of the solution, if any"
568 )
569 private java.util.List<Rest> myRest;
570
571 @Child(name="messaging", order=16, min=0, max=Child.MAX_UNLIMITED)
572 @Description(
573 shortDefinition="If messaging is supported",
574 formalDefinition="A description of the messaging capabilities of the solution"
575 )
576 private java.util.List<Messaging> myMessaging;
577
578 @Child(name="document", order=17, min=0, max=Child.MAX_UNLIMITED)
579 @Description(
580 shortDefinition="Document definition",
581 formalDefinition="A document definition"
582 )
583 private java.util.List<Document> myDocument;
584
585
586 @Override
587 public boolean isEmpty() {
588 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myVersion, myName, myPublisher, myTelecom, myDescription, myStatus, myExperimental, myDate, mySoftware, myImplementation, myFhirVersion, myAcceptUnknown, myFormat, myProfile, myRest, myMessaging, myDocument);
589 }
590
591 @Override
592 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
593 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myVersion, myName, myPublisher, myTelecom, myDescription, myStatus, myExperimental, myDate, mySoftware, myImplementation, myFhirVersion, myAcceptUnknown, myFormat, myProfile, myRest, myMessaging, myDocument);
594 }
595
596
597
598
599
600
601
602
603
604
605
606 public StringDt getIdentifier() {
607 if (myIdentifier == null) {
608 myIdentifier = new StringDt();
609 }
610 return myIdentifier;
611 }
612
613
614
615
616
617
618
619
620
621 public Conformance setIdentifier(StringDt theValue) {
622 myIdentifier = theValue;
623 return this;
624 }
625
626
627
628
629
630
631
632
633
634 public Conformance setIdentifier( String theString) {
635 myIdentifier = new StringDt(theString);
636 return this;
637 }
638
639
640
641
642
643
644
645
646
647
648
649
650 public StringDt getVersion() {
651 if (myVersion == null) {
652 myVersion = new StringDt();
653 }
654 return myVersion;
655 }
656
657
658
659
660
661
662
663
664
665 public Conformance setVersion(StringDt theValue) {
666 myVersion = theValue;
667 return this;
668 }
669
670
671
672
673
674
675
676
677
678 public Conformance setVersion( String theString) {
679 myVersion = new StringDt(theString);
680 return this;
681 }
682
683
684
685
686
687
688
689
690
691
692
693
694 public StringDt getName() {
695 if (myName == null) {
696 myName = new StringDt();
697 }
698 return myName;
699 }
700
701
702
703
704
705
706
707
708
709 public Conformance setName(StringDt theValue) {
710 myName = theValue;
711 return this;
712 }
713
714
715
716
717
718
719
720
721
722 public Conformance setName( String theString) {
723 myName = new StringDt(theString);
724 return this;
725 }
726
727
728
729
730
731
732
733
734
735
736
737
738 public StringDt getPublisher() {
739 if (myPublisher == null) {
740 myPublisher = new StringDt();
741 }
742 return myPublisher;
743 }
744
745
746
747
748
749
750
751
752
753 public Conformance setPublisher(StringDt theValue) {
754 myPublisher = theValue;
755 return this;
756 }
757
758
759
760
761
762
763
764
765
766 public Conformance setPublisher( String theString) {
767 myPublisher = new StringDt(theString);
768 return this;
769 }
770
771
772
773
774
775
776
777
778
779
780
781
782 public java.util.List<ContactDt> getTelecom() {
783 if (myTelecom == null) {
784 myTelecom = new java.util.ArrayList<ContactDt>();
785 }
786 return myTelecom;
787 }
788
789
790
791
792
793
794
795
796
797 public Conformance setTelecom(java.util.List<ContactDt> theValue) {
798 myTelecom = theValue;
799 return this;
800 }
801
802
803
804
805
806
807
808
809
810 public ContactDt addTelecom() {
811 ContactDt newType = new ContactDt();
812 getTelecom().add(newType);
813 return newType;
814 }
815
816
817
818
819
820
821
822
823
824
825 public ContactDt getTelecomFirstRep() {
826 if (getTelecom().isEmpty()) {
827 return addTelecom();
828 }
829 return getTelecom().get(0);
830 }
831
832
833
834
835
836
837
838
839
840
841 public Conformance addTelecom( ContactUseEnum theContactUse, String theValue) {
842 if (myTelecom == null) {
843 myTelecom = new java.util.ArrayList<ContactDt>();
844 }
845 myTelecom.add(new ContactDt(theContactUse, theValue));
846 return this;
847 }
848
849
850
851
852
853
854
855
856
857
858
859 public Conformance addTelecom( String theValue) {
860 if (myTelecom == null) {
861 myTelecom = new java.util.ArrayList<ContactDt>();
862 }
863 myTelecom.add(new ContactDt(theValue));
864 return this;
865 }
866
867
868
869
870
871
872
873
874
875
876
877
878 public StringDt getDescription() {
879 if (myDescription == null) {
880 myDescription = new StringDt();
881 }
882 return myDescription;
883 }
884
885
886
887
888
889
890
891
892
893 public Conformance setDescription(StringDt theValue) {
894 myDescription = theValue;
895 return this;
896 }
897
898
899
900
901
902
903
904
905
906 public Conformance setDescription( String theString) {
907 myDescription = new StringDt(theString);
908 return this;
909 }
910
911
912
913
914
915
916
917
918
919
920
921
922 public BoundCodeDt<ConformanceStatementStatusEnum> getStatus() {
923 if (myStatus == null) {
924 myStatus = new BoundCodeDt<ConformanceStatementStatusEnum>(ConformanceStatementStatusEnum.VALUESET_BINDER);
925 }
926 return myStatus;
927 }
928
929
930
931
932
933
934
935
936
937 public Conformance setStatus(BoundCodeDt<ConformanceStatementStatusEnum> theValue) {
938 myStatus = theValue;
939 return this;
940 }
941
942
943
944
945
946
947
948
949
950 public Conformance setStatus(ConformanceStatementStatusEnum theValue) {
951 getStatus().setValueAsEnum(theValue);
952 return this;
953 }
954
955
956
957
958
959
960
961
962
963
964
965
966 public BooleanDt getExperimental() {
967 if (myExperimental == null) {
968 myExperimental = new BooleanDt();
969 }
970 return myExperimental;
971 }
972
973
974
975
976
977
978
979
980
981 public Conformance setExperimental(BooleanDt theValue) {
982 myExperimental = theValue;
983 return this;
984 }
985
986
987
988
989
990
991
992
993
994 public Conformance setExperimental( boolean theBoolean) {
995 myExperimental = new BooleanDt(theBoolean);
996 return this;
997 }
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010 public DateTimeDt getDate() {
1011 if (myDate == null) {
1012 myDate = new DateTimeDt();
1013 }
1014 return myDate;
1015 }
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025 public Conformance setDate(DateTimeDt theValue) {
1026 myDate = theValue;
1027 return this;
1028 }
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038 public Conformance setDateWithSecondsPrecision( Date theDate) {
1039 myDate = new DateTimeDt(theDate);
1040 return this;
1041 }
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051 public Conformance setDate( Date theDate, TemporalPrecisionEnum thePrecision) {
1052 myDate = new DateTimeDt(theDate, thePrecision);
1053 return this;
1054 }
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067 public Software getSoftware() {
1068 if (mySoftware == null) {
1069 mySoftware = new Software();
1070 }
1071 return mySoftware;
1072 }
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082 public Conformance setSoftware(Software theValue) {
1083 mySoftware = theValue;
1084 return this;
1085 }
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098 public Implementation getImplementation() {
1099 if (myImplementation == null) {
1100 myImplementation = new Implementation();
1101 }
1102 return myImplementation;
1103 }
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113 public Conformance setImplementation(Implementation theValue) {
1114 myImplementation = theValue;
1115 return this;
1116 }
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129 public IdDt getFhirVersion() {
1130 if (myFhirVersion == null) {
1131 myFhirVersion = new IdDt();
1132 }
1133 return myFhirVersion;
1134 }
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144 public Conformance setFhirVersion(IdDt theValue) {
1145 myFhirVersion = theValue;
1146 return this;
1147 }
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157 public Conformance setFhirVersion( String theId) {
1158 myFhirVersion = new IdDt(theId);
1159 return this;
1160 }
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173 public BooleanDt getAcceptUnknown() {
1174 if (myAcceptUnknown == null) {
1175 myAcceptUnknown = new BooleanDt();
1176 }
1177 return myAcceptUnknown;
1178 }
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188 public Conformance setAcceptUnknown(BooleanDt theValue) {
1189 myAcceptUnknown = theValue;
1190 return this;
1191 }
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201 public Conformance setAcceptUnknown( boolean theBoolean) {
1202 myAcceptUnknown = new BooleanDt(theBoolean);
1203 return this;
1204 }
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217 public java.util.List<CodeDt> getFormat() {
1218 if (myFormat == null) {
1219 myFormat = new java.util.ArrayList<CodeDt>();
1220 }
1221 return myFormat;
1222 }
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232 public Conformance setFormat(java.util.List<CodeDt> theValue) {
1233 myFormat = theValue;
1234 return this;
1235 }
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245 public CodeDt addFormat() {
1246 CodeDt newType = new CodeDt();
1247 getFormat().add(newType);
1248 return newType;
1249 }
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260 public CodeDt getFormatFirstRep() {
1261 if (getFormat().isEmpty()) {
1262 return addFormat();
1263 }
1264 return getFormat().get(0);
1265 }
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276 public Conformance addFormat( String theCode) {
1277 if (myFormat == null) {
1278 myFormat = new java.util.ArrayList<CodeDt>();
1279 }
1280 myFormat.add(new CodeDt(theCode));
1281 return this;
1282 }
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295 public java.util.List<ResourceReferenceDt> getProfile() {
1296 if (myProfile == null) {
1297 myProfile = new java.util.ArrayList<ResourceReferenceDt>();
1298 }
1299 return myProfile;
1300 }
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310 public Conformance setProfile(java.util.List<ResourceReferenceDt> theValue) {
1311 myProfile = theValue;
1312 return this;
1313 }
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323 public ResourceReferenceDt addProfile() {
1324 ResourceReferenceDt newType = new ResourceReferenceDt();
1325 getProfile().add(newType);
1326 return newType;
1327 }
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339 public java.util.List<Rest> getRest() {
1340 if (myRest == null) {
1341 myRest = new java.util.ArrayList<Rest>();
1342 }
1343 return myRest;
1344 }
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354 public Conformance setRest(java.util.List<Rest> theValue) {
1355 myRest = theValue;
1356 return this;
1357 }
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367 public Rest addRest() {
1368 Rest newType = new Rest();
1369 getRest().add(newType);
1370 return newType;
1371 }
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382 public Rest getRestFirstRep() {
1383 if (getRest().isEmpty()) {
1384 return addRest();
1385 }
1386 return getRest().get(0);
1387 }
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399 public java.util.List<Messaging> getMessaging() {
1400 if (myMessaging == null) {
1401 myMessaging = new java.util.ArrayList<Messaging>();
1402 }
1403 return myMessaging;
1404 }
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414 public Conformance setMessaging(java.util.List<Messaging> theValue) {
1415 myMessaging = theValue;
1416 return this;
1417 }
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427 public Messaging addMessaging() {
1428 Messaging newType = new Messaging();
1429 getMessaging().add(newType);
1430 return newType;
1431 }
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442 public Messaging getMessagingFirstRep() {
1443 if (getMessaging().isEmpty()) {
1444 return addMessaging();
1445 }
1446 return getMessaging().get(0);
1447 }
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459 public java.util.List<Document> getDocument() {
1460 if (myDocument == null) {
1461 myDocument = new java.util.ArrayList<Document>();
1462 }
1463 return myDocument;
1464 }
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474 public Conformance setDocument(java.util.List<Document> theValue) {
1475 myDocument = theValue;
1476 return this;
1477 }
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487 public Document addDocument() {
1488 Document newType = new Document();
1489 getDocument().add(newType);
1490 return newType;
1491 }
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502 public Document getDocumentFirstRep() {
1503 if (getDocument().isEmpty()) {
1504 return addDocument();
1505 }
1506 return getDocument().get(0);
1507 }
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517 @Block()
1518 public static class Software extends BaseIdentifiableElement implements IResourceBlock {
1519
1520 @Child(name="name", type=StringDt.class, order=0, min=1, max=1)
1521 @Description(
1522 shortDefinition="A name the software is known by",
1523 formalDefinition="Name software is known by"
1524 )
1525 private StringDt myName;
1526
1527 @Child(name="version", type=StringDt.class, order=1, min=0, max=1)
1528 @Description(
1529 shortDefinition="Version covered by this statement",
1530 formalDefinition="The version identifier for the software covered by this statement"
1531 )
1532 private StringDt myVersion;
1533
1534 @Child(name="releaseDate", type=DateTimeDt.class, order=2, min=0, max=1)
1535 @Description(
1536 shortDefinition="Date this version released",
1537 formalDefinition="Date this version of the software released"
1538 )
1539 private DateTimeDt myReleaseDate;
1540
1541
1542 @Override
1543 public boolean isEmpty() {
1544 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myVersion, myReleaseDate);
1545 }
1546
1547 @Override
1548 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
1549 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myVersion, myReleaseDate);
1550 }
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562 public StringDt getName() {
1563 if (myName == null) {
1564 myName = new StringDt();
1565 }
1566 return myName;
1567 }
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577 public Software setName(StringDt theValue) {
1578 myName = theValue;
1579 return this;
1580 }
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590 public Software setName( String theString) {
1591 myName = new StringDt(theString);
1592 return this;
1593 }
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606 public StringDt getVersion() {
1607 if (myVersion == null) {
1608 myVersion = new StringDt();
1609 }
1610 return myVersion;
1611 }
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621 public Software setVersion(StringDt theValue) {
1622 myVersion = theValue;
1623 return this;
1624 }
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634 public Software setVersion( String theString) {
1635 myVersion = new StringDt(theString);
1636 return this;
1637 }
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650 public DateTimeDt getReleaseDate() {
1651 if (myReleaseDate == null) {
1652 myReleaseDate = new DateTimeDt();
1653 }
1654 return myReleaseDate;
1655 }
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665 public Software setReleaseDate(DateTimeDt theValue) {
1666 myReleaseDate = theValue;
1667 return this;
1668 }
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678 public Software setReleaseDateWithSecondsPrecision( Date theDate) {
1679 myReleaseDate = new DateTimeDt(theDate);
1680 return this;
1681 }
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691 public Software setReleaseDate( Date theDate, TemporalPrecisionEnum thePrecision) {
1692 myReleaseDate = new DateTimeDt(theDate, thePrecision);
1693 return this;
1694 }
1695
1696
1697
1698 }
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709 @Block()
1710 public static class Implementation extends BaseIdentifiableElement implements IResourceBlock {
1711
1712 @Child(name="description", type=StringDt.class, order=0, min=1, max=1)
1713 @Description(
1714 shortDefinition="Describes this specific instance",
1715 formalDefinition="Information about the specific installation that this conformance statement relates to"
1716 )
1717 private StringDt myDescription;
1718
1719 @Child(name="url", type=UriDt.class, order=1, min=0, max=1)
1720 @Description(
1721 shortDefinition="Base URL for the installation",
1722 formalDefinition="A base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces."
1723 )
1724 private UriDt myUrl;
1725
1726
1727 @Override
1728 public boolean isEmpty() {
1729 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myDescription, myUrl);
1730 }
1731
1732 @Override
1733 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
1734 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myDescription, myUrl);
1735 }
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747 public StringDt getDescription() {
1748 if (myDescription == null) {
1749 myDescription = new StringDt();
1750 }
1751 return myDescription;
1752 }
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762 public Implementation setDescription(StringDt theValue) {
1763 myDescription = theValue;
1764 return this;
1765 }
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775 public Implementation setDescription( String theString) {
1776 myDescription = new StringDt(theString);
1777 return this;
1778 }
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791 public UriDt getUrl() {
1792 if (myUrl == null) {
1793 myUrl = new UriDt();
1794 }
1795 return myUrl;
1796 }
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806 public Implementation setUrl(UriDt theValue) {
1807 myUrl = theValue;
1808 return this;
1809 }
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819 public Implementation setUrl( String theUri) {
1820 myUrl = new UriDt(theUri);
1821 return this;
1822 }
1823
1824
1825
1826 }
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837 @Block()
1838 public static class Rest extends BaseIdentifiableElement implements IResourceBlock {
1839
1840 @Child(name="mode", type=CodeDt.class, order=0, min=1, max=1)
1841 @Description(
1842 shortDefinition="client | server",
1843 formalDefinition="Identifies whether this portion of the statement is describing ability to initiate or receive restful operations"
1844 )
1845 private BoundCodeDt<RestfulConformanceModeEnum> myMode;
1846
1847 @Child(name="documentation", type=StringDt.class, order=1, min=0, max=1)
1848 @Description(
1849 shortDefinition="General description of implementation",
1850 formalDefinition="Information about the system's restful capabilities that apply across all applications, such as security"
1851 )
1852 private StringDt myDocumentation;
1853
1854 @Child(name="security", order=2, min=0, max=1)
1855 @Description(
1856 shortDefinition="Information about security of implementation",
1857 formalDefinition="Information about security of implementation"
1858 )
1859 private RestSecurity mySecurity;
1860
1861 @Child(name="resource", order=3, min=1, max=Child.MAX_UNLIMITED)
1862 @Description(
1863 shortDefinition="Resource served on the REST interface",
1864 formalDefinition="A specification of the restful capabilities of the solution for a specific resource type"
1865 )
1866 private java.util.List<RestResource> myResource;
1867
1868 @Child(name="operation", order=4, min=0, max=Child.MAX_UNLIMITED)
1869 @Description(
1870 shortDefinition="What operations are supported?",
1871 formalDefinition="A specification of restful operations supported by the system"
1872 )
1873 private java.util.List<RestOperation> myOperation;
1874
1875 @Child(name="query", order=5, min=0, max=Child.MAX_UNLIMITED)
1876 @Description(
1877 shortDefinition="Definition of a named query",
1878 formalDefinition="Definition of a named query and its parameters and their meaning"
1879 )
1880 private java.util.List<RestQuery> myQuery;
1881
1882 @Child(name="documentMailbox", type=UriDt.class, order=6, min=0, max=Child.MAX_UNLIMITED)
1883 @Description(
1884 shortDefinition="How documents are accepted in /Mailbox",
1885 formalDefinition="A list of profiles that this server implements for accepting documents in the mailbox. If this list is empty, then documents are not accepted. The base specification has the profile identifier \"http://hl7.org/fhir/documents/mailbox\". Other specifications can declare their own identifier for this purpose"
1886 )
1887 private java.util.List<UriDt> myDocumentMailbox;
1888
1889
1890 @Override
1891 public boolean isEmpty() {
1892 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myMode, myDocumentation, mySecurity, myResource, myOperation, myQuery, myDocumentMailbox);
1893 }
1894
1895 @Override
1896 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
1897 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myMode, myDocumentation, mySecurity, myResource, myOperation, myQuery, myDocumentMailbox);
1898 }
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910 public BoundCodeDt<RestfulConformanceModeEnum> getMode() {
1911 if (myMode == null) {
1912 myMode = new BoundCodeDt<RestfulConformanceModeEnum>(RestfulConformanceModeEnum.VALUESET_BINDER);
1913 }
1914 return myMode;
1915 }
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925 public Rest setMode(BoundCodeDt<RestfulConformanceModeEnum> theValue) {
1926 myMode = theValue;
1927 return this;
1928 }
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938 public Rest setMode(RestfulConformanceModeEnum theValue) {
1939 getMode().setValueAsEnum(theValue);
1940 return this;
1941 }
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954 public StringDt getDocumentation() {
1955 if (myDocumentation == null) {
1956 myDocumentation = new StringDt();
1957 }
1958 return myDocumentation;
1959 }
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969 public Rest setDocumentation(StringDt theValue) {
1970 myDocumentation = theValue;
1971 return this;
1972 }
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982 public Rest setDocumentation( String theString) {
1983 myDocumentation = new StringDt(theString);
1984 return this;
1985 }
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998 public RestSecurity getSecurity() {
1999 if (mySecurity == null) {
2000 mySecurity = new RestSecurity();
2001 }
2002 return mySecurity;
2003 }
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013 public Rest setSecurity(RestSecurity theValue) {
2014 mySecurity = theValue;
2015 return this;
2016 }
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029 public java.util.List<RestResource> getResource() {
2030 if (myResource == null) {
2031 myResource = new java.util.ArrayList<RestResource>();
2032 }
2033 return myResource;
2034 }
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044 public Rest setResource(java.util.List<RestResource> theValue) {
2045 myResource = theValue;
2046 return this;
2047 }
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057 public RestResource addResource() {
2058 RestResource newType = new RestResource();
2059 getResource().add(newType);
2060 return newType;
2061 }
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072 public RestResource getResourceFirstRep() {
2073 if (getResource().isEmpty()) {
2074 return addResource();
2075 }
2076 return getResource().get(0);
2077 }
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089 public java.util.List<RestOperation> getOperation() {
2090 if (myOperation == null) {
2091 myOperation = new java.util.ArrayList<RestOperation>();
2092 }
2093 return myOperation;
2094 }
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104 public Rest setOperation(java.util.List<RestOperation> theValue) {
2105 myOperation = theValue;
2106 return this;
2107 }
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117 public RestOperation addOperation() {
2118 RestOperation newType = new RestOperation();
2119 getOperation().add(newType);
2120 return newType;
2121 }
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132 public RestOperation getOperationFirstRep() {
2133 if (getOperation().isEmpty()) {
2134 return addOperation();
2135 }
2136 return getOperation().get(0);
2137 }
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149 public java.util.List<RestQuery> getQuery() {
2150 if (myQuery == null) {
2151 myQuery = new java.util.ArrayList<RestQuery>();
2152 }
2153 return myQuery;
2154 }
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164 public Rest setQuery(java.util.List<RestQuery> theValue) {
2165 myQuery = theValue;
2166 return this;
2167 }
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177 public RestQuery addQuery() {
2178 RestQuery newType = new RestQuery();
2179 getQuery().add(newType);
2180 return newType;
2181 }
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192 public RestQuery getQueryFirstRep() {
2193 if (getQuery().isEmpty()) {
2194 return addQuery();
2195 }
2196 return getQuery().get(0);
2197 }
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209 public java.util.List<UriDt> getDocumentMailbox() {
2210 if (myDocumentMailbox == null) {
2211 myDocumentMailbox = new java.util.ArrayList<UriDt>();
2212 }
2213 return myDocumentMailbox;
2214 }
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224 public Rest setDocumentMailbox(java.util.List<UriDt> theValue) {
2225 myDocumentMailbox = theValue;
2226 return this;
2227 }
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237 public UriDt addDocumentMailbox() {
2238 UriDt newType = new UriDt();
2239 getDocumentMailbox().add(newType);
2240 return newType;
2241 }
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252 public UriDt getDocumentMailboxFirstRep() {
2253 if (getDocumentMailbox().isEmpty()) {
2254 return addDocumentMailbox();
2255 }
2256 return getDocumentMailbox().get(0);
2257 }
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268 public Rest addDocumentMailbox( String theUri) {
2269 if (myDocumentMailbox == null) {
2270 myDocumentMailbox = new java.util.ArrayList<UriDt>();
2271 }
2272 myDocumentMailbox.add(new UriDt(theUri));
2273 return this;
2274 }
2275
2276
2277
2278 }
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288 @Block()
2289 public static class RestSecurity extends BaseIdentifiableElement implements IResourceBlock {
2290
2291 @Child(name="cors", type=BooleanDt.class, order=0, min=0, max=1)
2292 @Description(
2293 shortDefinition="Adds CORS Headers (http://enable-cors.org/)",
2294 formalDefinition="Server adds CORS headers when responding to requests - this enables javascript applications to yuse the server"
2295 )
2296 private BooleanDt myCors;
2297
2298 @Child(name="service", type=CodeableConceptDt.class, order=1, min=0, max=Child.MAX_UNLIMITED)
2299 @Description(
2300 shortDefinition="OAuth | OAuth2 | NTLM | Basic | Kerberos",
2301 formalDefinition="Types of security services are supported/required by the system"
2302 )
2303 private java.util.List<BoundCodeableConceptDt<RestfulSecurityServiceEnum>> myService;
2304
2305 @Child(name="description", type=StringDt.class, order=2, min=0, max=1)
2306 @Description(
2307 shortDefinition="General description of how security works",
2308 formalDefinition="General description of how security works"
2309 )
2310 private StringDt myDescription;
2311
2312 @Child(name="certificate", order=3, min=0, max=Child.MAX_UNLIMITED)
2313 @Description(
2314 shortDefinition="Certificates associated with security profiles",
2315 formalDefinition="Certificates associated with security profiles"
2316 )
2317 private java.util.List<RestSecurityCertificate> myCertificate;
2318
2319
2320 @Override
2321 public boolean isEmpty() {
2322 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCors, myService, myDescription, myCertificate);
2323 }
2324
2325 @Override
2326 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
2327 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCors, myService, myDescription, myCertificate);
2328 }
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340 public BooleanDt getCors() {
2341 if (myCors == null) {
2342 myCors = new BooleanDt();
2343 }
2344 return myCors;
2345 }
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355 public RestSecurity setCors(BooleanDt theValue) {
2356 myCors = theValue;
2357 return this;
2358 }
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368 public RestSecurity setCors( boolean theBoolean) {
2369 myCors = new BooleanDt(theBoolean);
2370 return this;
2371 }
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384 public java.util.List<BoundCodeableConceptDt<RestfulSecurityServiceEnum>> getService() {
2385 if (myService == null) {
2386 myService = new java.util.ArrayList<BoundCodeableConceptDt<RestfulSecurityServiceEnum>>();
2387 }
2388 return myService;
2389 }
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399 public RestSecurity setService(java.util.List<BoundCodeableConceptDt<RestfulSecurityServiceEnum>> theValue) {
2400 myService = theValue;
2401 return this;
2402 }
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415 public BoundCodeableConceptDt<RestfulSecurityServiceEnum> addService(RestfulSecurityServiceEnum theValue) {
2416 BoundCodeableConceptDt<RestfulSecurityServiceEnum> retVal = new BoundCodeableConceptDt<RestfulSecurityServiceEnum>(RestfulSecurityServiceEnum.VALUESET_BINDER, theValue);
2417 getService().add(retVal);
2418 return retVal;
2419 }
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430 public BoundCodeableConceptDt<RestfulSecurityServiceEnum> getServiceFirstRep() {
2431 if (getService().size() == 0) {
2432 addService();
2433 }
2434 return getService().get(0);
2435 }
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445 public BoundCodeableConceptDt<RestfulSecurityServiceEnum> addService() {
2446 BoundCodeableConceptDt<RestfulSecurityServiceEnum> retVal = new BoundCodeableConceptDt<RestfulSecurityServiceEnum>(RestfulSecurityServiceEnum.VALUESET_BINDER);
2447 getService().add(retVal);
2448 return retVal;
2449 }
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459 public RestSecurity setService(RestfulSecurityServiceEnum theValue) {
2460 getService().clear();
2461 addService(theValue);
2462 return this;
2463 }
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476 public StringDt getDescription() {
2477 if (myDescription == null) {
2478 myDescription = new StringDt();
2479 }
2480 return myDescription;
2481 }
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491 public RestSecurity setDescription(StringDt theValue) {
2492 myDescription = theValue;
2493 return this;
2494 }
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504 public RestSecurity setDescription( String theString) {
2505 myDescription = new StringDt(theString);
2506 return this;
2507 }
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520 public java.util.List<RestSecurityCertificate> getCertificate() {
2521 if (myCertificate == null) {
2522 myCertificate = new java.util.ArrayList<RestSecurityCertificate>();
2523 }
2524 return myCertificate;
2525 }
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535 public RestSecurity setCertificate(java.util.List<RestSecurityCertificate> theValue) {
2536 myCertificate = theValue;
2537 return this;
2538 }
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548 public RestSecurityCertificate addCertificate() {
2549 RestSecurityCertificate newType = new RestSecurityCertificate();
2550 getCertificate().add(newType);
2551 return newType;
2552 }
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563 public RestSecurityCertificate getCertificateFirstRep() {
2564 if (getCertificate().isEmpty()) {
2565 return addCertificate();
2566 }
2567 return getCertificate().get(0);
2568 }
2569
2570
2571 }
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581 @Block()
2582 public static class RestSecurityCertificate extends BaseIdentifiableElement implements IResourceBlock {
2583
2584 @Child(name="type", type=CodeDt.class, order=0, min=0, max=1)
2585 @Description(
2586 shortDefinition="Mime type for certificate",
2587 formalDefinition="Mime type for certificate"
2588 )
2589 private CodeDt myType;
2590
2591 @Child(name="blob", type=Base64BinaryDt.class, order=1, min=0, max=1)
2592 @Description(
2593 shortDefinition="Actual certificate",
2594 formalDefinition="Actual certificate"
2595 )
2596 private Base64BinaryDt myBlob;
2597
2598
2599 @Override
2600 public boolean isEmpty() {
2601 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, myBlob);
2602 }
2603
2604 @Override
2605 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
2606 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, myBlob);
2607 }
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619 public CodeDt getType() {
2620 if (myType == null) {
2621 myType = new CodeDt();
2622 }
2623 return myType;
2624 }
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634 public RestSecurityCertificate setType(CodeDt theValue) {
2635 myType = theValue;
2636 return this;
2637 }
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647 public RestSecurityCertificate setType( String theCode) {
2648 myType = new CodeDt(theCode);
2649 return this;
2650 }
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663 public Base64BinaryDt getBlob() {
2664 if (myBlob == null) {
2665 myBlob = new Base64BinaryDt();
2666 }
2667 return myBlob;
2668 }
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678 public RestSecurityCertificate setBlob(Base64BinaryDt theValue) {
2679 myBlob = theValue;
2680 return this;
2681 }
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691 public RestSecurityCertificate setBlob( byte[] theBytes) {
2692 myBlob = new Base64BinaryDt(theBytes);
2693 return this;
2694 }
2695
2696
2697
2698 }
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710 @Block()
2711 public static class RestResource extends BaseIdentifiableElement implements IResourceBlock {
2712
2713 @Child(name="type", type=CodeDt.class, order=0, min=1, max=1)
2714 @Description(
2715 shortDefinition="A resource type that is supported",
2716 formalDefinition="A type of resource exposed via the restful interface"
2717 )
2718 private BoundCodeDt<ResourceTypeEnum> myType;
2719
2720 @Child(name="profile", order=1, min=0, max=1, type={
2721 ca.uhn.fhir.model.dstu.resource.Profile.class })
2722 @Description(
2723 shortDefinition="What structural features are supported",
2724 formalDefinition="A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations"
2725 )
2726 private ResourceReferenceDt myProfile;
2727
2728 @Child(name="operation", order=2, min=1, max=Child.MAX_UNLIMITED)
2729 @Description(
2730 shortDefinition="What operations are supported?",
2731 formalDefinition="Identifies a restful operation supported by the solution"
2732 )
2733 private java.util.List<RestResourceOperation> myOperation;
2734
2735 @Child(name="readHistory", type=BooleanDt.class, order=3, min=0, max=1)
2736 @Description(
2737 shortDefinition="Whether vRead can return past versions",
2738 formalDefinition="A flag for whether the server is able to return past versions as part of the vRead operation"
2739 )
2740 private BooleanDt myReadHistory;
2741
2742 @Child(name="updateCreate", type=BooleanDt.class, order=4, min=0, max=1)
2743 @Description(
2744 shortDefinition="If allows/uses update to a new location",
2745 formalDefinition="A flag to indicate that the server allows the client to create new identities on the server. If the update operation is used (client) or allowed (server) to a new location where a resource doesn't already exist. This means that the server allows the client to create new identities on the server"
2746 )
2747 private BooleanDt myUpdateCreate;
2748
2749 @Child(name="searchInclude", type=StringDt.class, order=5, min=0, max=Child.MAX_UNLIMITED)
2750 @Description(
2751 shortDefinition="_include values supported by the server",
2752 formalDefinition="A list of _include values supported by the server"
2753 )
2754 private java.util.List<StringDt> mySearchInclude;
2755
2756 @Child(name="searchParam", order=6, min=0, max=Child.MAX_UNLIMITED)
2757 @Description(
2758 shortDefinition="Additional search params defined",
2759 formalDefinition="Additional search parameters for implementations to support and/or make use of"
2760 )
2761 private java.util.List<RestResourceSearchParam> mySearchParam;
2762
2763
2764 @Override
2765 public boolean isEmpty() {
2766 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, myProfile, myOperation, myReadHistory, myUpdateCreate, mySearchInclude, mySearchParam);
2767 }
2768
2769 @Override
2770 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
2771 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, myProfile, myOperation, myReadHistory, myUpdateCreate, mySearchInclude, mySearchParam);
2772 }
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784 public BoundCodeDt<ResourceTypeEnum> getType() {
2785 if (myType == null) {
2786 myType = new BoundCodeDt<ResourceTypeEnum>(ResourceTypeEnum.VALUESET_BINDER);
2787 }
2788 return myType;
2789 }
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799 public RestResource setType(BoundCodeDt<ResourceTypeEnum> theValue) {
2800 myType = theValue;
2801 return this;
2802 }
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812 public RestResource setType(ResourceTypeEnum theValue) {
2813 getType().setValueAsEnum(theValue);
2814 return this;
2815 }
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828 public ResourceReferenceDt getProfile() {
2829 if (myProfile == null) {
2830 myProfile = new ResourceReferenceDt();
2831 }
2832 return myProfile;
2833 }
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843 public RestResource setProfile(ResourceReferenceDt theValue) {
2844 myProfile = theValue;
2845 return this;
2846 }
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859 public java.util.List<RestResourceOperation> getOperation() {
2860 if (myOperation == null) {
2861 myOperation = new java.util.ArrayList<RestResourceOperation>();
2862 }
2863 return myOperation;
2864 }
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874 public RestResource setOperation(java.util.List<RestResourceOperation> theValue) {
2875 myOperation = theValue;
2876 return this;
2877 }
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887 public RestResourceOperation addOperation() {
2888 RestResourceOperation newType = new RestResourceOperation();
2889 getOperation().add(newType);
2890 return newType;
2891 }
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902 public RestResourceOperation getOperationFirstRep() {
2903 if (getOperation().isEmpty()) {
2904 return addOperation();
2905 }
2906 return getOperation().get(0);
2907 }
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919 public BooleanDt getReadHistory() {
2920 if (myReadHistory == null) {
2921 myReadHistory = new BooleanDt();
2922 }
2923 return myReadHistory;
2924 }
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934 public RestResource setReadHistory(BooleanDt theValue) {
2935 myReadHistory = theValue;
2936 return this;
2937 }
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947 public RestResource setReadHistory( boolean theBoolean) {
2948 myReadHistory = new BooleanDt(theBoolean);
2949 return this;
2950 }
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963 public BooleanDt getUpdateCreate() {
2964 if (myUpdateCreate == null) {
2965 myUpdateCreate = new BooleanDt();
2966 }
2967 return myUpdateCreate;
2968 }
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978 public RestResource setUpdateCreate(BooleanDt theValue) {
2979 myUpdateCreate = theValue;
2980 return this;
2981 }
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991 public RestResource setUpdateCreate( boolean theBoolean) {
2992 myUpdateCreate = new BooleanDt(theBoolean);
2993 return this;
2994 }
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007 public java.util.List<StringDt> getSearchInclude() {
3008 if (mySearchInclude == null) {
3009 mySearchInclude = new java.util.ArrayList<StringDt>();
3010 }
3011 return mySearchInclude;
3012 }
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022 public RestResource setSearchInclude(java.util.List<StringDt> theValue) {
3023 mySearchInclude = theValue;
3024 return this;
3025 }
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035 public StringDt addSearchInclude() {
3036 StringDt newType = new StringDt();
3037 getSearchInclude().add(newType);
3038 return newType;
3039 }
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050 public StringDt getSearchIncludeFirstRep() {
3051 if (getSearchInclude().isEmpty()) {
3052 return addSearchInclude();
3053 }
3054 return getSearchInclude().get(0);
3055 }
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066 public RestResource addSearchInclude( String theString) {
3067 if (mySearchInclude == null) {
3068 mySearchInclude = new java.util.ArrayList<StringDt>();
3069 }
3070 mySearchInclude.add(new StringDt(theString));
3071 return this;
3072 }
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085 public java.util.List<RestResourceSearchParam> getSearchParam() {
3086 if (mySearchParam == null) {
3087 mySearchParam = new java.util.ArrayList<RestResourceSearchParam>();
3088 }
3089 return mySearchParam;
3090 }
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100 public RestResource setSearchParam(java.util.List<RestResourceSearchParam> theValue) {
3101 mySearchParam = theValue;
3102 return this;
3103 }
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113 public RestResourceSearchParam addSearchParam() {
3114 RestResourceSearchParam newType = new RestResourceSearchParam();
3115 getSearchParam().add(newType);
3116 return newType;
3117 }
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128 public RestResourceSearchParam getSearchParamFirstRep() {
3129 if (getSearchParam().isEmpty()) {
3130 return addSearchParam();
3131 }
3132 return getSearchParam().get(0);
3133 }
3134
3135
3136 }
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146 @Block()
3147 public static class RestResourceOperation extends BaseIdentifiableElement implements IResourceBlock {
3148
3149 @Child(name="code", type=CodeDt.class, order=0, min=1, max=1)
3150 @Description(
3151 shortDefinition="read | vread | update | delete | history-instance | validate | history-type | create | search-type",
3152 formalDefinition="Coded identifier of the operation, supported by the system resource"
3153 )
3154 private BoundCodeDt<RestfulOperationTypeEnum> myCode;
3155
3156 @Child(name="documentation", type=StringDt.class, order=1, min=0, max=1)
3157 @Description(
3158 shortDefinition="Anything special about operation behavior",
3159 formalDefinition="Guidance specific to the implementation of this operation, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only'"
3160 )
3161 private StringDt myDocumentation;
3162
3163
3164 @Override
3165 public boolean isEmpty() {
3166 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myDocumentation);
3167 }
3168
3169 @Override
3170 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
3171 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myDocumentation);
3172 }
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184 public BoundCodeDt<RestfulOperationTypeEnum> getCode() {
3185 if (myCode == null) {
3186 myCode = new BoundCodeDt<RestfulOperationTypeEnum>(RestfulOperationTypeEnum.VALUESET_BINDER);
3187 }
3188 return myCode;
3189 }
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199 public RestResourceOperation setCode(BoundCodeDt<RestfulOperationTypeEnum> theValue) {
3200 myCode = theValue;
3201 return this;
3202 }
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212 public RestResourceOperation setCode(RestfulOperationTypeEnum theValue) {
3213 getCode().setValueAsEnum(theValue);
3214 return this;
3215 }
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228 public StringDt getDocumentation() {
3229 if (myDocumentation == null) {
3230 myDocumentation = new StringDt();
3231 }
3232 return myDocumentation;
3233 }
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243 public RestResourceOperation setDocumentation(StringDt theValue) {
3244 myDocumentation = theValue;
3245 return this;
3246 }
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256 public RestResourceOperation setDocumentation( String theString) {
3257 myDocumentation = new StringDt(theString);
3258 return this;
3259 }
3260
3261
3262
3263 }
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274 @Block()
3275 public static class RestResourceSearchParam extends BaseIdentifiableElement implements IResourceBlock {
3276
3277 @Child(name="name", type=StringDt.class, order=0, min=1, max=1)
3278 @Description(
3279 shortDefinition="Name of search parameter",
3280 formalDefinition="The name of the search parameter used in the interface"
3281 )
3282 private StringDt myName;
3283
3284 @Child(name="definition", type=UriDt.class, order=1, min=0, max=1)
3285 @Description(
3286 shortDefinition="Source of definition for parameter",
3287 formalDefinition="A formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter"
3288 )
3289 private UriDt myDefinition;
3290
3291 @Child(name="type", type=CodeDt.class, order=2, min=1, max=1)
3292 @Description(
3293 shortDefinition="number | date | string | token | reference | composite | quantity",
3294 formalDefinition="The type of value a search parameter refers to, and how the content is interpreted"
3295 )
3296 private BoundCodeDt<SearchParamTypeEnum> myType;
3297
3298 @Child(name="documentation", type=StringDt.class, order=3, min=0, max=1)
3299 @Description(
3300 shortDefinition="Server-specific usage",
3301 formalDefinition="This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms."
3302 )
3303 private StringDt myDocumentation;
3304
3305 @Child(name="target", type=CodeDt.class, order=4, min=0, max=Child.MAX_UNLIMITED)
3306 @Description(
3307 shortDefinition="Types of resource (if a resource reference)",
3308 formalDefinition="Types of resource (if a resource is referenced)"
3309 )
3310 private java.util.List<BoundCodeDt<ResourceTypeEnum>> myTarget;
3311
3312 @Child(name="chain", type=StringDt.class, order=5, min=0, max=Child.MAX_UNLIMITED)
3313 @Description(
3314 shortDefinition="Chained names supported",
3315 formalDefinition=""
3316 )
3317 private java.util.List<StringDt> myChain;
3318
3319
3320 @Override
3321 public boolean isEmpty() {
3322 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myDefinition, myType, myDocumentation, myTarget, myChain);
3323 }
3324
3325 @Override
3326 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
3327 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myDefinition, myType, myDocumentation, myTarget, myChain);
3328 }
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340 public StringDt getName() {
3341 if (myName == null) {
3342 myName = new StringDt();
3343 }
3344 return myName;
3345 }
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355 public RestResourceSearchParam setName(StringDt theValue) {
3356 myName = theValue;
3357 return this;
3358 }
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368 public RestResourceSearchParam setName( String theString) {
3369 myName = new StringDt(theString);
3370 return this;
3371 }
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384 public UriDt getDefinition() {
3385 if (myDefinition == null) {
3386 myDefinition = new UriDt();
3387 }
3388 return myDefinition;
3389 }
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399 public RestResourceSearchParam setDefinition(UriDt theValue) {
3400 myDefinition = theValue;
3401 return this;
3402 }
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412 public RestResourceSearchParam setDefinition( String theUri) {
3413 myDefinition = new UriDt(theUri);
3414 return this;
3415 }
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428 public BoundCodeDt<SearchParamTypeEnum> getType() {
3429 if (myType == null) {
3430 myType = new BoundCodeDt<SearchParamTypeEnum>(SearchParamTypeEnum.VALUESET_BINDER);
3431 }
3432 return myType;
3433 }
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443 public RestResourceSearchParam setType(BoundCodeDt<SearchParamTypeEnum> theValue) {
3444 myType = theValue;
3445 return this;
3446 }
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456 public RestResourceSearchParam setType(SearchParamTypeEnum theValue) {
3457 getType().setValueAsEnum(theValue);
3458 return this;
3459 }
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472 public StringDt getDocumentation() {
3473 if (myDocumentation == null) {
3474 myDocumentation = new StringDt();
3475 }
3476 return myDocumentation;
3477 }
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487 public RestResourceSearchParam setDocumentation(StringDt theValue) {
3488 myDocumentation = theValue;
3489 return this;
3490 }
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500 public RestResourceSearchParam setDocumentation( String theString) {
3501 myDocumentation = new StringDt(theString);
3502 return this;
3503 }
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516 public java.util.List<BoundCodeDt<ResourceTypeEnum>> getTarget() {
3517 if (myTarget == null) {
3518 myTarget = new java.util.ArrayList<BoundCodeDt<ResourceTypeEnum>>();
3519 }
3520 return myTarget;
3521 }
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531 public RestResourceSearchParam setTarget(java.util.List<BoundCodeDt<ResourceTypeEnum>> theValue) {
3532 myTarget = theValue;
3533 return this;
3534 }
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547 public BoundCodeDt<ResourceTypeEnum> addTarget(ResourceTypeEnum theValue) {
3548 BoundCodeDt<ResourceTypeEnum> retVal = new BoundCodeDt<ResourceTypeEnum>(ResourceTypeEnum.VALUESET_BINDER, theValue);
3549 getTarget().add(retVal);
3550 return retVal;
3551 }
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562 public BoundCodeDt<ResourceTypeEnum> getTargetFirstRep() {
3563 if (getTarget().size() == 0) {
3564 addTarget();
3565 }
3566 return getTarget().get(0);
3567 }
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577 public BoundCodeDt<ResourceTypeEnum> addTarget() {
3578 BoundCodeDt<ResourceTypeEnum> retVal = new BoundCodeDt<ResourceTypeEnum>(ResourceTypeEnum.VALUESET_BINDER);
3579 getTarget().add(retVal);
3580 return retVal;
3581 }
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591 public RestResourceSearchParam setTarget(ResourceTypeEnum theValue) {
3592 getTarget().clear();
3593 addTarget(theValue);
3594 return this;
3595 }
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608 public java.util.List<StringDt> getChain() {
3609 if (myChain == null) {
3610 myChain = new java.util.ArrayList<StringDt>();
3611 }
3612 return myChain;
3613 }
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623 public RestResourceSearchParam setChain(java.util.List<StringDt> theValue) {
3624 myChain = theValue;
3625 return this;
3626 }
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636 public StringDt addChain() {
3637 StringDt newType = new StringDt();
3638 getChain().add(newType);
3639 return newType;
3640 }
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651 public StringDt getChainFirstRep() {
3652 if (getChain().isEmpty()) {
3653 return addChain();
3654 }
3655 return getChain().get(0);
3656 }
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667 public RestResourceSearchParam addChain( String theString) {
3668 if (myChain == null) {
3669 myChain = new java.util.ArrayList<StringDt>();
3670 }
3671 myChain.add(new StringDt(theString));
3672 return this;
3673 }
3674
3675
3676
3677 }
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689 @Block()
3690 public static class RestOperation extends BaseIdentifiableElement implements IResourceBlock {
3691
3692 @Child(name="code", type=CodeDt.class, order=0, min=1, max=1)
3693 @Description(
3694 shortDefinition="transaction | search-system | history-system",
3695 formalDefinition="A coded identifier of the operation, supported by the system"
3696 )
3697 private BoundCodeDt<RestfulOperationSystemEnum> myCode;
3698
3699 @Child(name="documentation", type=StringDt.class, order=1, min=0, max=1)
3700 @Description(
3701 shortDefinition="Anything special about operation behavior",
3702 formalDefinition="Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented"
3703 )
3704 private StringDt myDocumentation;
3705
3706
3707 @Override
3708 public boolean isEmpty() {
3709 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myDocumentation);
3710 }
3711
3712 @Override
3713 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
3714 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myDocumentation);
3715 }
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727 public BoundCodeDt<RestfulOperationSystemEnum> getCode() {
3728 if (myCode == null) {
3729 myCode = new BoundCodeDt<RestfulOperationSystemEnum>(RestfulOperationSystemEnum.VALUESET_BINDER);
3730 }
3731 return myCode;
3732 }
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742 public RestOperation setCode(BoundCodeDt<RestfulOperationSystemEnum> theValue) {
3743 myCode = theValue;
3744 return this;
3745 }
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755 public RestOperation setCode(RestfulOperationSystemEnum theValue) {
3756 getCode().setValueAsEnum(theValue);
3757 return this;
3758 }
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771 public StringDt getDocumentation() {
3772 if (myDocumentation == null) {
3773 myDocumentation = new StringDt();
3774 }
3775 return myDocumentation;
3776 }
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786 public RestOperation setDocumentation(StringDt theValue) {
3787 myDocumentation = theValue;
3788 return this;
3789 }
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799 public RestOperation setDocumentation( String theString) {
3800 myDocumentation = new StringDt(theString);
3801 return this;
3802 }
3803
3804
3805
3806 }
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817 @Block()
3818 public static class RestQuery extends BaseIdentifiableElement implements IResourceBlock {
3819
3820 @Child(name="name", type=StringDt.class, order=0, min=1, max=1)
3821 @Description(
3822 shortDefinition="Special named queries (_query=)",
3823 formalDefinition="The name of a query, which is used in the _query parameter when the query is called"
3824 )
3825 private StringDt myName;
3826
3827 @Child(name="definition", type=UriDt.class, order=1, min=1, max=1)
3828 @Description(
3829 shortDefinition="Where query is defined",
3830 formalDefinition="Identifies the custom query, defined either in FHIR core or another profile"
3831 )
3832 private UriDt myDefinition;
3833
3834 @Child(name="documentation", type=StringDt.class, order=2, min=0, max=1)
3835 @Description(
3836 shortDefinition="Additional usage guidance",
3837 formalDefinition="Additional information about how the query functions in this particular implementation"
3838 )
3839 private StringDt myDocumentation;
3840
3841 @Child(name="parameter", type=RestResourceSearchParam.class, order=3, min=0, max=Child.MAX_UNLIMITED)
3842 @Description(
3843 shortDefinition="Parameter for the named query",
3844 formalDefinition="Identifies which of the parameters for the named query are supported"
3845 )
3846 private java.util.List<RestResourceSearchParam> myParameter;
3847
3848
3849 @Override
3850 public boolean isEmpty() {
3851 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myDefinition, myDocumentation, myParameter);
3852 }
3853
3854 @Override
3855 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
3856 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myDefinition, myDocumentation, myParameter);
3857 }
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869 public StringDt getName() {
3870 if (myName == null) {
3871 myName = new StringDt();
3872 }
3873 return myName;
3874 }
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884 public RestQuery setName(StringDt theValue) {
3885 myName = theValue;
3886 return this;
3887 }
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897 public RestQuery setName( String theString) {
3898 myName = new StringDt(theString);
3899 return this;
3900 }
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913 public UriDt getDefinition() {
3914 if (myDefinition == null) {
3915 myDefinition = new UriDt();
3916 }
3917 return myDefinition;
3918 }
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928 public RestQuery setDefinition(UriDt theValue) {
3929 myDefinition = theValue;
3930 return this;
3931 }
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941 public RestQuery setDefinition( String theUri) {
3942 myDefinition = new UriDt(theUri);
3943 return this;
3944 }
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957 public StringDt getDocumentation() {
3958 if (myDocumentation == null) {
3959 myDocumentation = new StringDt();
3960 }
3961 return myDocumentation;
3962 }
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972 public RestQuery setDocumentation(StringDt theValue) {
3973 myDocumentation = theValue;
3974 return this;
3975 }
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985 public RestQuery setDocumentation( String theString) {
3986 myDocumentation = new StringDt(theString);
3987 return this;
3988 }
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001 public java.util.List<RestResourceSearchParam> getParameter() {
4002 if (myParameter == null) {
4003 myParameter = new java.util.ArrayList<RestResourceSearchParam>();
4004 }
4005 return myParameter;
4006 }
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016 public RestQuery setParameter(java.util.List<RestResourceSearchParam> theValue) {
4017 myParameter = theValue;
4018 return this;
4019 }
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029 public RestResourceSearchParam addParameter() {
4030 RestResourceSearchParam newType = new RestResourceSearchParam();
4031 getParameter().add(newType);
4032 return newType;
4033 }
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044 public RestResourceSearchParam getParameterFirstRep() {
4045 if (getParameter().isEmpty()) {
4046 return addParameter();
4047 }
4048 return getParameter().get(0);
4049 }
4050
4051
4052 }
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064 @Block()
4065 public static class Messaging extends BaseIdentifiableElement implements IResourceBlock {
4066
4067 @Child(name="endpoint", type=UriDt.class, order=0, min=0, max=1)
4068 @Description(
4069 shortDefinition="Actual endpoint being described",
4070 formalDefinition="An address to which messages and/or replies are to be sent."
4071 )
4072 private UriDt myEndpoint;
4073
4074 @Child(name="reliableCache", type=IntegerDt.class, order=1, min=0, max=1)
4075 @Description(
4076 shortDefinition="Reliable Message Cache Length",
4077 formalDefinition="Length if the receiver's reliable messaging cache (if a receiver) or how long the cache length on the receiver should be (if a sender)"
4078 )
4079 private IntegerDt myReliableCache;
4080
4081 @Child(name="documentation", type=StringDt.class, order=2, min=0, max=1)
4082 @Description(
4083 shortDefinition="Messaging interface behavior details",
4084 formalDefinition="Documentation about the system's messaging capabilities for this endpoint not otherwise documented by the conformance statement. For example, process for becoming an authorized messaging exchange partner."
4085 )
4086 private StringDt myDocumentation;
4087
4088 @Child(name="event", order=3, min=1, max=Child.MAX_UNLIMITED)
4089 @Description(
4090 shortDefinition="Declare support for this event",
4091 formalDefinition="A description of the solution's support for an event at this end point."
4092 )
4093 private java.util.List<MessagingEvent> myEvent;
4094
4095
4096 @Override
4097 public boolean isEmpty() {
4098 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myEndpoint, myReliableCache, myDocumentation, myEvent);
4099 }
4100
4101 @Override
4102 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
4103 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myEndpoint, myReliableCache, myDocumentation, myEvent);
4104 }
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116 public UriDt getEndpoint() {
4117 if (myEndpoint == null) {
4118 myEndpoint = new UriDt();
4119 }
4120 return myEndpoint;
4121 }
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131 public Messaging setEndpoint(UriDt theValue) {
4132 myEndpoint = theValue;
4133 return this;
4134 }
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144 public Messaging setEndpoint( String theUri) {
4145 myEndpoint = new UriDt(theUri);
4146 return this;
4147 }
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160 public IntegerDt getReliableCache() {
4161 if (myReliableCache == null) {
4162 myReliableCache = new IntegerDt();
4163 }
4164 return myReliableCache;
4165 }
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175 public Messaging setReliableCache(IntegerDt theValue) {
4176 myReliableCache = theValue;
4177 return this;
4178 }
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188 public Messaging setReliableCache( int theInteger) {
4189 myReliableCache = new IntegerDt(theInteger);
4190 return this;
4191 }
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204 public StringDt getDocumentation() {
4205 if (myDocumentation == null) {
4206 myDocumentation = new StringDt();
4207 }
4208 return myDocumentation;
4209 }
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219 public Messaging setDocumentation(StringDt theValue) {
4220 myDocumentation = theValue;
4221 return this;
4222 }
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232 public Messaging setDocumentation( String theString) {
4233 myDocumentation = new StringDt(theString);
4234 return this;
4235 }
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248 public java.util.List<MessagingEvent> getEvent() {
4249 if (myEvent == null) {
4250 myEvent = new java.util.ArrayList<MessagingEvent>();
4251 }
4252 return myEvent;
4253 }
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263 public Messaging setEvent(java.util.List<MessagingEvent> theValue) {
4264 myEvent = theValue;
4265 return this;
4266 }
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276 public MessagingEvent addEvent() {
4277 MessagingEvent newType = new MessagingEvent();
4278 getEvent().add(newType);
4279 return newType;
4280 }
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291 public MessagingEvent getEventFirstRep() {
4292 if (getEvent().isEmpty()) {
4293 return addEvent();
4294 }
4295 return getEvent().get(0);
4296 }
4297
4298
4299 }
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309 @Block()
4310 public static class MessagingEvent extends BaseIdentifiableElement implements IResourceBlock {
4311
4312 @Child(name="code", type=CodingDt.class, order=0, min=1, max=1)
4313 @Description(
4314 shortDefinition="Event type",
4315 formalDefinition="A coded identifier of a supported messaging event"
4316 )
4317 private CodingDt myCode;
4318
4319 @Child(name="category", type=CodeDt.class, order=1, min=0, max=1)
4320 @Description(
4321 shortDefinition="Consequence | Currency | Notification",
4322 formalDefinition="The impact of the content of the message"
4323 )
4324 private BoundCodeDt<MessageSignificanceCategoryEnum> myCategory;
4325
4326 @Child(name="mode", type=CodeDt.class, order=2, min=1, max=1)
4327 @Description(
4328 shortDefinition="sender | receiver",
4329 formalDefinition="The mode of this event declaration - whether application is sender or receiver"
4330 )
4331 private BoundCodeDt<ConformanceEventModeEnum> myMode;
4332
4333 @Child(name="protocol", type=CodingDt.class, order=3, min=0, max=Child.MAX_UNLIMITED)
4334 @Description(
4335 shortDefinition="http | ftp | mllp +",
4336 formalDefinition="A list of the messaging transport protocol(s) identifiers, supported by this endpoint"
4337 )
4338 private java.util.List<CodingDt> myProtocol;
4339
4340 @Child(name="focus", type=CodeDt.class, order=4, min=1, max=1)
4341 @Description(
4342 shortDefinition="Resource that's focus of message",
4343 formalDefinition="A resource associated with the event. This is the resource that defines the event."
4344 )
4345 private BoundCodeDt<ResourceTypeEnum> myFocus;
4346
4347 @Child(name="request", order=5, min=1, max=1, type={
4348 ca.uhn.fhir.model.dstu.resource.Profile.class })
4349 @Description(
4350 shortDefinition="Profile that describes the request",
4351 formalDefinition="Information about the request for this event"
4352 )
4353 private ResourceReferenceDt myRequest;
4354
4355 @Child(name="response", order=6, min=1, max=1, type={
4356 ca.uhn.fhir.model.dstu.resource.Profile.class })
4357 @Description(
4358 shortDefinition="Profile that describes the response",
4359 formalDefinition="Information about the response for this event"
4360 )
4361 private ResourceReferenceDt myResponse;
4362
4363 @Child(name="documentation", type=StringDt.class, order=7, min=0, max=1)
4364 @Description(
4365 shortDefinition="Endpoint-specific event documentation",
4366 formalDefinition="Guidance on how this event is handled, such as internal system trigger points, business rules, etc."
4367 )
4368 private StringDt myDocumentation;
4369
4370
4371 @Override
4372 public boolean isEmpty() {
4373 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myCategory, myMode, myProtocol, myFocus, myRequest, myResponse, myDocumentation);
4374 }
4375
4376 @Override
4377 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
4378 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myCategory, myMode, myProtocol, myFocus, myRequest, myResponse, myDocumentation);
4379 }
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391 public CodingDt getCode() {
4392 if (myCode == null) {
4393 myCode = new CodingDt();
4394 }
4395 return myCode;
4396 }
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406 public MessagingEvent setCode(CodingDt theValue) {
4407 myCode = theValue;
4408 return this;
4409 }
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422 public BoundCodeDt<MessageSignificanceCategoryEnum> getCategory() {
4423 if (myCategory == null) {
4424 myCategory = new BoundCodeDt<MessageSignificanceCategoryEnum>(MessageSignificanceCategoryEnum.VALUESET_BINDER);
4425 }
4426 return myCategory;
4427 }
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437 public MessagingEvent setCategory(BoundCodeDt<MessageSignificanceCategoryEnum> theValue) {
4438 myCategory = theValue;
4439 return this;
4440 }
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450 public MessagingEvent setCategory(MessageSignificanceCategoryEnum theValue) {
4451 getCategory().setValueAsEnum(theValue);
4452 return this;
4453 }
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466 public BoundCodeDt<ConformanceEventModeEnum> getMode() {
4467 if (myMode == null) {
4468 myMode = new BoundCodeDt<ConformanceEventModeEnum>(ConformanceEventModeEnum.VALUESET_BINDER);
4469 }
4470 return myMode;
4471 }
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481 public MessagingEvent setMode(BoundCodeDt<ConformanceEventModeEnum> theValue) {
4482 myMode = theValue;
4483 return this;
4484 }
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494 public MessagingEvent setMode(ConformanceEventModeEnum theValue) {
4495 getMode().setValueAsEnum(theValue);
4496 return this;
4497 }
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510 public java.util.List<CodingDt> getProtocol() {
4511 if (myProtocol == null) {
4512 myProtocol = new java.util.ArrayList<CodingDt>();
4513 }
4514 return myProtocol;
4515 }
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525 public MessagingEvent setProtocol(java.util.List<CodingDt> theValue) {
4526 myProtocol = theValue;
4527 return this;
4528 }
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538 public CodingDt addProtocol() {
4539 CodingDt newType = new CodingDt();
4540 getProtocol().add(newType);
4541 return newType;
4542 }
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553 public CodingDt getProtocolFirstRep() {
4554 if (getProtocol().isEmpty()) {
4555 return addProtocol();
4556 }
4557 return getProtocol().get(0);
4558 }
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570 public BoundCodeDt<ResourceTypeEnum> getFocus() {
4571 if (myFocus == null) {
4572 myFocus = new BoundCodeDt<ResourceTypeEnum>(ResourceTypeEnum.VALUESET_BINDER);
4573 }
4574 return myFocus;
4575 }
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585 public MessagingEvent setFocus(BoundCodeDt<ResourceTypeEnum> theValue) {
4586 myFocus = theValue;
4587 return this;
4588 }
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598 public MessagingEvent setFocus(ResourceTypeEnum theValue) {
4599 getFocus().setValueAsEnum(theValue);
4600 return this;
4601 }
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614 public ResourceReferenceDt getRequest() {
4615 if (myRequest == null) {
4616 myRequest = new ResourceReferenceDt();
4617 }
4618 return myRequest;
4619 }
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629 public MessagingEvent setRequest(ResourceReferenceDt theValue) {
4630 myRequest = theValue;
4631 return this;
4632 }
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645 public ResourceReferenceDt getResponse() {
4646 if (myResponse == null) {
4647 myResponse = new ResourceReferenceDt();
4648 }
4649 return myResponse;
4650 }
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660 public MessagingEvent setResponse(ResourceReferenceDt theValue) {
4661 myResponse = theValue;
4662 return this;
4663 }
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676 public StringDt getDocumentation() {
4677 if (myDocumentation == null) {
4678 myDocumentation = new StringDt();
4679 }
4680 return myDocumentation;
4681 }
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691 public MessagingEvent setDocumentation(StringDt theValue) {
4692 myDocumentation = theValue;
4693 return this;
4694 }
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704 public MessagingEvent setDocumentation( String theString) {
4705 myDocumentation = new StringDt(theString);
4706 return this;
4707 }
4708
4709
4710
4711 }
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723 @Block()
4724 public static class Document extends BaseIdentifiableElement implements IResourceBlock {
4725
4726 @Child(name="mode", type=CodeDt.class, order=0, min=1, max=1)
4727 @Description(
4728 shortDefinition="producer | consumer",
4729 formalDefinition="Mode of this document declaration - whether application is producer or consumer"
4730 )
4731 private BoundCodeDt<DocumentModeEnum> myMode;
4732
4733 @Child(name="documentation", type=StringDt.class, order=1, min=0, max=1)
4734 @Description(
4735 shortDefinition="Description of document support",
4736 formalDefinition="A description of how the application supports or uses the specified document profile. For example, when are documents created, what action is taken with consumed documents, etc."
4737 )
4738 private StringDt myDocumentation;
4739
4740 @Child(name="profile", order=2, min=1, max=1, type={
4741 ca.uhn.fhir.model.dstu.resource.Profile.class })
4742 @Description(
4743 shortDefinition="Constraint on a resource used in the document",
4744 formalDefinition="A constraint on a resource used in the document"
4745 )
4746 private ResourceReferenceDt myProfile;
4747
4748
4749 @Override
4750 public boolean isEmpty() {
4751 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myMode, myDocumentation, myProfile);
4752 }
4753
4754 @Override
4755 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
4756 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myMode, myDocumentation, myProfile);
4757 }
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769 public BoundCodeDt<DocumentModeEnum> getMode() {
4770 if (myMode == null) {
4771 myMode = new BoundCodeDt<DocumentModeEnum>(DocumentModeEnum.VALUESET_BINDER);
4772 }
4773 return myMode;
4774 }
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784 public Document setMode(BoundCodeDt<DocumentModeEnum> theValue) {
4785 myMode = theValue;
4786 return this;
4787 }
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797 public Document setMode(DocumentModeEnum theValue) {
4798 getMode().setValueAsEnum(theValue);
4799 return this;
4800 }
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813 public StringDt getDocumentation() {
4814 if (myDocumentation == null) {
4815 myDocumentation = new StringDt();
4816 }
4817 return myDocumentation;
4818 }
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828 public Document setDocumentation(StringDt theValue) {
4829 myDocumentation = theValue;
4830 return this;
4831 }
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841 public Document setDocumentation( String theString) {
4842 myDocumentation = new StringDt(theString);
4843 return this;
4844 }
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857 public ResourceReferenceDt getProfile() {
4858 if (myProfile == null) {
4859 myProfile = new ResourceReferenceDt();
4860 }
4861 return myProfile;
4862 }
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872 public Document setProfile(ResourceReferenceDt theValue) {
4873 myProfile = theValue;
4874 return this;
4875 }
4876
4877
4878
4879 }
4880
4881
4882
4883
4884 }