001
002
003
004
005
006
007
008
009
010
011
012
013
014
015
016
017package ca.uhn.fhir.model.dstu2.resource;
018
019import java.math.BigDecimal;
020import java.net.URI;
021import java.util.*;
022import ca.uhn.fhir.model.api.*;
023import ca.uhn.fhir.model.api.annotation.*;
024import ca.uhn.fhir.rest.gclient.*;
025
026import ca.uhn.fhir.model.dstu2.valueset.AccountStatusEnum;
027import ca.uhn.fhir.model.dstu2.valueset.ActionListEnum;
028import ca.uhn.fhir.model.dstu2.composite.AddressDt;
029import ca.uhn.fhir.model.dstu2.valueset.AdjudicationCodesEnum;
030import ca.uhn.fhir.model.dstu2.valueset.AdjudicationErrorCodesEnum;
031import ca.uhn.fhir.model.dstu2.valueset.AdjustmentReasonCodesEnum;
032import ca.uhn.fhir.model.dstu2.valueset.AdministrativeGenderEnum;
033import ca.uhn.fhir.model.dstu2.valueset.AdmitSourceEnum;
034import ca.uhn.fhir.model.dstu2.resource.AllergyIntolerance;
035import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCategoryEnum;
036import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCertaintyEnum;
037import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCriticalityEnum;
038import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceSeverityEnum;
039import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceStatusEnum;
040import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceTypeEnum;
041import ca.uhn.fhir.model.dstu2.composite.AnnotationDt;
042import ca.uhn.fhir.model.dstu2.valueset.AnswerFormatEnum;
043import ca.uhn.fhir.model.dstu2.resource.Appointment;
044import ca.uhn.fhir.model.dstu2.valueset.AppointmentStatusEnum;
045import ca.uhn.fhir.model.dstu2.valueset.AssertionDirectionTypeEnum;
046import ca.uhn.fhir.model.dstu2.valueset.AssertionOperatorTypeEnum;
047import ca.uhn.fhir.model.dstu2.valueset.AssertionResponseTypesEnum;
048import ca.uhn.fhir.model.dstu2.composite.AttachmentDt;
049import ca.uhn.fhir.model.dstu2.valueset.AuditEventActionEnum;
050import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectLifecycleEnum;
051import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectRoleEnum;
052import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectTypeEnum;
053import ca.uhn.fhir.model.dstu2.valueset.AuditEventOutcomeEnum;
054import ca.uhn.fhir.model.dstu2.valueset.AuditEventParticipantNetworkTypeEnum;
055import ca.uhn.fhir.model.dstu2.valueset.AuditEventSourceTypeEnum;
056import ca.uhn.fhir.model.dstu2.valueset.BindingStrengthEnum;
057import ca.uhn.fhir.model.dstu2.resource.BodySite;
058import ca.uhn.fhir.model.dstu2.valueset.BundleTypeEnum;
059import ca.uhn.fhir.model.dstu2.resource.CarePlan;
060import ca.uhn.fhir.model.dstu2.valueset.CarePlanActivityStatusEnum;
061import ca.uhn.fhir.model.dstu2.valueset.CarePlanRelationshipEnum;
062import ca.uhn.fhir.model.dstu2.valueset.CarePlanStatusEnum;
063import ca.uhn.fhir.model.dstu2.resource.Claim;
064import ca.uhn.fhir.model.dstu2.resource.ClaimResponse;
065import ca.uhn.fhir.model.dstu2.valueset.ClaimTypeEnum;
066import ca.uhn.fhir.model.dstu2.resource.ClinicalImpression;
067import ca.uhn.fhir.model.dstu2.valueset.ClinicalImpressionStatusEnum;
068import ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt;
069import ca.uhn.fhir.model.dstu2.composite.CodingDt;
070import ca.uhn.fhir.model.dstu2.resource.CommunicationRequest;
071import ca.uhn.fhir.model.dstu2.valueset.CommunicationRequestStatusEnum;
072import ca.uhn.fhir.model.dstu2.valueset.CommunicationStatusEnum;
073import ca.uhn.fhir.model.dstu2.resource.Composition;
074import ca.uhn.fhir.model.dstu2.valueset.CompositionAttestationModeEnum;
075import ca.uhn.fhir.model.dstu2.valueset.CompositionStatusEnum;
076import ca.uhn.fhir.model.dstu2.valueset.ConceptMapEquivalenceEnum;
077import ca.uhn.fhir.model.dstu2.resource.Condition;
078import ca.uhn.fhir.model.dstu2.valueset.ConditionCategoryCodesEnum;
079import ca.uhn.fhir.model.dstu2.valueset.ConditionClinicalStatusCodesEnum;
080import ca.uhn.fhir.model.dstu2.valueset.ConditionVerificationStatusEnum;
081import ca.uhn.fhir.model.dstu2.valueset.ConditionalDeleteStatusEnum;
082import ca.uhn.fhir.model.dstu2.resource.Conformance;
083import ca.uhn.fhir.model.dstu2.valueset.ConformanceEventModeEnum;
084import ca.uhn.fhir.model.dstu2.valueset.ConformanceResourceStatusEnum;
085import ca.uhn.fhir.model.dstu2.valueset.ConformanceStatementKindEnum;
086import ca.uhn.fhir.model.dstu2.composite.ContactPointDt;
087import ca.uhn.fhir.model.dstu2.valueset.ContentTypeEnum;
088import ca.uhn.fhir.model.dstu2.resource.Contract;
089import ca.uhn.fhir.model.dstu2.resource.Coverage;
090import ca.uhn.fhir.model.dstu2.valueset.DataElementStringencyEnum;
091import ca.uhn.fhir.model.dstu2.valueset.DaysOfWeekEnum;
092import ca.uhn.fhir.model.dstu2.valueset.DetectedIssueSeverityEnum;
093import ca.uhn.fhir.model.dstu2.resource.Device;
094import ca.uhn.fhir.model.dstu2.resource.DeviceComponent;
095import ca.uhn.fhir.model.dstu2.resource.DeviceMetric;
096import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationStateEnum;
097import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationTypeEnum;
098import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCategoryEnum;
099import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricColorEnum;
100import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricOperationalStatusEnum;
101import ca.uhn.fhir.model.dstu2.valueset.DeviceStatusEnum;
102import ca.uhn.fhir.model.dstu2.resource.DeviceUseRequest;
103import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestPriorityEnum;
104import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestStatusEnum;
105import ca.uhn.fhir.model.dstu2.resource.DiagnosticOrder;
106import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderPriorityEnum;
107import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderStatusEnum;
108import ca.uhn.fhir.model.dstu2.resource.DiagnosticReport;
109import ca.uhn.fhir.model.dstu2.valueset.DiagnosticReportStatusEnum;
110import ca.uhn.fhir.model.dstu2.valueset.DigitalMediaTypeEnum;
111import ca.uhn.fhir.model.dstu2.valueset.DocumentModeEnum;
112import ca.uhn.fhir.model.dstu2.resource.DocumentReference;
113import ca.uhn.fhir.model.dstu2.valueset.DocumentReferenceStatusEnum;
114import ca.uhn.fhir.model.dstu2.valueset.DocumentRelationshipTypeEnum;
115import ca.uhn.fhir.model.dstu2.composite.ElementDefinitionDt;
116import ca.uhn.fhir.model.dstu2.resource.EligibilityRequest;
117import ca.uhn.fhir.model.dstu2.resource.Encounter;
118import ca.uhn.fhir.model.dstu2.valueset.EncounterClassEnum;
119import ca.uhn.fhir.model.dstu2.valueset.EncounterLocationStatusEnum;
120import ca.uhn.fhir.model.dstu2.valueset.EncounterStateEnum;
121import ca.uhn.fhir.model.dstu2.resource.EnrollmentRequest;
122import ca.uhn.fhir.model.dstu2.resource.EpisodeOfCare;
123import ca.uhn.fhir.model.dstu2.valueset.EpisodeOfCareStatusEnum;
124import ca.uhn.fhir.model.dstu2.valueset.ExtensionContextEnum;
125import ca.uhn.fhir.model.dstu2.valueset.FamilyHistoryStatusEnum;
126import ca.uhn.fhir.model.dstu2.resource.FamilyMemberHistory;
127import ca.uhn.fhir.model.dstu2.valueset.FilterOperatorEnum;
128import ca.uhn.fhir.model.dstu2.valueset.FlagStatusEnum;
129import ca.uhn.fhir.model.dstu2.resource.Goal;
130import ca.uhn.fhir.model.dstu2.valueset.GoalPriorityEnum;
131import ca.uhn.fhir.model.dstu2.valueset.GoalStatusEnum;
132import ca.uhn.fhir.model.dstu2.resource.Group;
133import ca.uhn.fhir.model.dstu2.valueset.GroupTypeEnum;
134import ca.uhn.fhir.model.dstu2.valueset.GuideDependencyTypeEnum;
135import ca.uhn.fhir.model.dstu2.valueset.GuidePageKindEnum;
136import ca.uhn.fhir.model.dstu2.valueset.GuideResourcePurposeEnum;
137import ca.uhn.fhir.model.dstu2.valueset.HTTPVerbEnum;
138import ca.uhn.fhir.model.dstu2.resource.HealthcareService;
139import ca.uhn.fhir.model.dstu2.composite.HumanNameDt;
140import ca.uhn.fhir.model.dstu2.composite.IdentifierDt;
141import ca.uhn.fhir.model.dstu2.valueset.IdentifierTypeCodesEnum;
142import ca.uhn.fhir.model.dstu2.valueset.IdentityAssuranceLevelEnum;
143import ca.uhn.fhir.model.dstu2.resource.ImagingObjectSelection;
144import ca.uhn.fhir.model.dstu2.resource.ImagingStudy;
145import ca.uhn.fhir.model.dstu2.resource.Immunization;
146import ca.uhn.fhir.model.dstu2.valueset.InstanceAvailabilityEnum;
147import ca.uhn.fhir.model.dstu2.valueset.IssueSeverityEnum;
148import ca.uhn.fhir.model.dstu2.valueset.IssueTypeEnum;
149import ca.uhn.fhir.model.dstu2.valueset.KOStitleEnum;
150import ca.uhn.fhir.model.dstu2.valueset.LinkTypeEnum;
151import ca.uhn.fhir.model.dstu2.valueset.ListModeEnum;
152import ca.uhn.fhir.model.dstu2.valueset.ListOrderCodesEnum;
153import ca.uhn.fhir.model.dstu2.valueset.ListStatusEnum;
154import ca.uhn.fhir.model.dstu2.resource.Location;
155import ca.uhn.fhir.model.dstu2.valueset.LocationModeEnum;
156import ca.uhn.fhir.model.dstu2.valueset.LocationStatusEnum;
157import ca.uhn.fhir.model.dstu2.valueset.LocationTypeEnum;
158import ca.uhn.fhir.model.dstu2.valueset.MaritalStatusCodesEnum;
159import ca.uhn.fhir.model.dstu2.valueset.MeasmntPrincipleEnum;
160import ca.uhn.fhir.model.dstu2.resource.Media;
161import ca.uhn.fhir.model.dstu2.resource.Medication;
162import ca.uhn.fhir.model.dstu2.valueset.MedicationAdministrationStatusEnum;
163import ca.uhn.fhir.model.dstu2.valueset.MedicationDispenseStatusEnum;
164import ca.uhn.fhir.model.dstu2.resource.MedicationOrder;
165import ca.uhn.fhir.model.dstu2.valueset.MedicationOrderStatusEnum;
166import ca.uhn.fhir.model.dstu2.resource.MedicationStatement;
167import ca.uhn.fhir.model.dstu2.valueset.MedicationStatementStatusEnum;
168import ca.uhn.fhir.model.dstu2.valueset.MessageEventEnum;
169import ca.uhn.fhir.model.dstu2.valueset.MessageSignificanceCategoryEnum;
170import ca.uhn.fhir.model.dstu2.valueset.MessageTransportEnum;
171import ca.uhn.fhir.model.dstu2.resource.NamingSystem;
172import ca.uhn.fhir.model.dstu2.valueset.NamingSystemIdentifierTypeEnum;
173import ca.uhn.fhir.model.dstu2.valueset.NamingSystemTypeEnum;
174import ca.uhn.fhir.model.dstu2.valueset.NoteTypeEnum;
175import ca.uhn.fhir.model.dstu2.resource.NutritionOrder;
176import ca.uhn.fhir.model.dstu2.valueset.NutritionOrderStatusEnum;
177import ca.uhn.fhir.model.dstu2.resource.Observation;
178import ca.uhn.fhir.model.dstu2.valueset.ObservationRelationshipTypeEnum;
179import ca.uhn.fhir.model.dstu2.valueset.ObservationStatusEnum;
180import ca.uhn.fhir.model.dstu2.resource.OperationDefinition;
181import ca.uhn.fhir.model.dstu2.valueset.OperationKindEnum;
182import ca.uhn.fhir.model.dstu2.resource.OperationOutcome;
183import ca.uhn.fhir.model.dstu2.valueset.OperationParameterUseEnum;
184import ca.uhn.fhir.model.dstu2.resource.Order;
185import ca.uhn.fhir.model.dstu2.valueset.OrderStatusEnum;
186import ca.uhn.fhir.model.dstu2.resource.Organization;
187import ca.uhn.fhir.model.dstu2.valueset.ParticipantRequiredEnum;
188import ca.uhn.fhir.model.dstu2.valueset.ParticipantStatusEnum;
189import ca.uhn.fhir.model.dstu2.valueset.ParticipantTypeEnum;
190import ca.uhn.fhir.model.dstu2.valueset.ParticipationStatusEnum;
191import ca.uhn.fhir.model.dstu2.resource.Patient;
192import ca.uhn.fhir.model.dstu2.valueset.PayeeTypeCodesEnum;
193import ca.uhn.fhir.model.dstu2.composite.PeriodDt;
194import ca.uhn.fhir.model.dstu2.resource.Person;
195import ca.uhn.fhir.model.dstu2.resource.Practitioner;
196import ca.uhn.fhir.model.dstu2.resource.Procedure;
197import ca.uhn.fhir.model.dstu2.resource.ProcedureRequest;
198import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestPriorityEnum;
199import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestStatusEnum;
200import ca.uhn.fhir.model.dstu2.valueset.ProcedureStatusEnum;
201import ca.uhn.fhir.model.dstu2.resource.ProcessRequest;
202import ca.uhn.fhir.model.dstu2.valueset.ProvenanceEntityRoleEnum;
203import ca.uhn.fhir.model.dstu2.composite.QuantityDt;
204import ca.uhn.fhir.model.dstu2.resource.Questionnaire;
205import ca.uhn.fhir.model.dstu2.resource.QuestionnaireResponse;
206import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireResponseStatusEnum;
207import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireStatusEnum;
208import ca.uhn.fhir.model.dstu2.composite.RangeDt;
209import ca.uhn.fhir.model.dstu2.composite.RatioDt;
210import ca.uhn.fhir.model.dstu2.valueset.ReferralMethodEnum;
211import ca.uhn.fhir.model.dstu2.resource.ReferralRequest;
212import ca.uhn.fhir.model.dstu2.valueset.ReferralStatusEnum;
213import ca.uhn.fhir.model.dstu2.resource.RelatedPerson;
214import ca.uhn.fhir.model.dstu2.valueset.RemittanceOutcomeEnum;
215import ca.uhn.fhir.model.dstu2.valueset.ResourceTypeEnum;
216import ca.uhn.fhir.model.dstu2.valueset.ResourceVersionPolicyEnum;
217import ca.uhn.fhir.model.dstu2.valueset.ResponseTypeEnum;
218import ca.uhn.fhir.model.dstu2.valueset.RestfulConformanceModeEnum;
219import ca.uhn.fhir.model.dstu2.valueset.RestfulSecurityServiceEnum;
220import ca.uhn.fhir.model.dstu2.resource.RiskAssessment;
221import ca.uhn.fhir.model.dstu2.valueset.RulesetCodesEnum;
222import ca.uhn.fhir.model.dstu2.composite.SampledDataDt;
223import ca.uhn.fhir.model.dstu2.resource.Schedule;
224import ca.uhn.fhir.model.dstu2.valueset.SearchEntryModeEnum;
225import ca.uhn.fhir.model.dstu2.valueset.SearchModifierCodeEnum;
226import ca.uhn.fhir.model.dstu2.valueset.SearchParamTypeEnum;
227import ca.uhn.fhir.model.dstu2.valueset.ServiceProvisionConditionsEnum;
228import ca.uhn.fhir.model.dstu2.composite.SignatureDt;
229import ca.uhn.fhir.model.dstu2.resource.Slot;
230import ca.uhn.fhir.model.dstu2.valueset.SlotStatusEnum;
231import ca.uhn.fhir.model.dstu2.resource.Specimen;
232import ca.uhn.fhir.model.dstu2.valueset.SpecimenStatusEnum;
233import ca.uhn.fhir.model.dstu2.resource.StructureDefinition;
234import ca.uhn.fhir.model.dstu2.valueset.StructureDefinitionKindEnum;
235import ca.uhn.fhir.model.dstu2.valueset.SubscriptionChannelTypeEnum;
236import ca.uhn.fhir.model.dstu2.valueset.SubscriptionStatusEnum;
237import ca.uhn.fhir.model.dstu2.resource.Substance;
238import ca.uhn.fhir.model.dstu2.valueset.SubstanceCategoryCodesEnum;
239import ca.uhn.fhir.model.dstu2.valueset.SupplyDeliveryStatusEnum;
240import ca.uhn.fhir.model.dstu2.resource.SupplyRequest;
241import ca.uhn.fhir.model.dstu2.valueset.SupplyRequestStatusEnum;
242import ca.uhn.fhir.model.dstu2.valueset.SystemRestfulInteractionEnum;
243import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
244import ca.uhn.fhir.model.dstu2.composite.TimingDt;
245import ca.uhn.fhir.model.dstu2.valueset.TransactionModeEnum;
246import ca.uhn.fhir.model.dstu2.valueset.TypeRestfulInteractionEnum;
247import ca.uhn.fhir.model.dstu2.valueset.UnknownContentCodeEnum;
248import ca.uhn.fhir.model.dstu2.valueset.UseEnum;
249import ca.uhn.fhir.model.dstu2.resource.ValueSet;
250import ca.uhn.fhir.model.dstu2.valueset.VisionBaseEnum;
251import ca.uhn.fhir.model.dstu2.valueset.VisionEyesEnum;
252import ca.uhn.fhir.model.dstu2.resource.VisionPrescription;
253import ca.uhn.fhir.model.dstu2.valueset.XPathUsageTypeEnum;
254import ca.uhn.fhir.model.api.IResource;
255import ca.uhn.fhir.model.dstu2.composite.AgeDt;
256import ca.uhn.fhir.model.dstu2.composite.BoundCodeableConceptDt;
257import ca.uhn.fhir.model.dstu2.composite.DurationDt;
258import ca.uhn.fhir.model.dstu2.composite.MoneyDt;
259import ca.uhn.fhir.model.dstu2.composite.NarrativeDt;
260import ca.uhn.fhir.model.dstu2.composite.ResourceReferenceDt;
261import ca.uhn.fhir.model.dstu2.composite.SimpleQuantityDt;
262import ca.uhn.fhir.model.primitive.Base64BinaryDt;
263import ca.uhn.fhir.model.primitive.BooleanDt;
264import ca.uhn.fhir.model.primitive.BoundCodeDt;
265import ca.uhn.fhir.model.primitive.CodeDt;
266import ca.uhn.fhir.model.primitive.DateDt;
267import ca.uhn.fhir.model.primitive.DateTimeDt;
268import ca.uhn.fhir.model.primitive.DecimalDt;
269import ca.uhn.fhir.model.primitive.IdDt;
270import ca.uhn.fhir.model.primitive.InstantDt;
271import ca.uhn.fhir.model.primitive.IntegerDt;
272import ca.uhn.fhir.model.primitive.OidDt;
273import ca.uhn.fhir.model.primitive.PositiveIntDt;
274import ca.uhn.fhir.model.primitive.StringDt;
275import ca.uhn.fhir.model.primitive.TimeDt;
276import ca.uhn.fhir.model.primitive.UnsignedIntDt;
277import ca.uhn.fhir.model.primitive.UriDt;
278
279
280/**
281 * HAPI/FHIR <b>ImagingObjectSelection</b> Resource
282 * (clinical.diagnostics)
283 *
284 * <p>
285 * <b>Definition:</b>
286 * A manifest of a set of DICOM Service-Object Pair Instances (SOP Instances).  The referenced SOP Instances (images or other content) are for a single patient, and may be from one or more studies. The referenced SOP Instances have been selected for a purpose, such as quality assurance, conference, or consult. Reflecting that range of purposes, typical ImagingObjectSelection resources may include all SOP Instances in a study (perhaps for sharing through a Health Information Exchange); key images from multiple studies (for reference by a referring or treating physician); a multi-frame ultrasound instance (\"cine\" video clip) and a set of measurements taken from that instance (for inclusion in a teaching file); and so on.
287 * </p> 
288 *
289 * <p>
290 * <b>Requirements:</b>
291 * A FHIR representation of DICOM Key Object Selection (KOS) SOP Instances enables access to a set of selected DICOM SOP Instances.
292 * </p> 
293 *
294 * <p>
295 * <b>Profile Definition:</b>
296 * <a href="http://hl7.org/fhir/profiles/ImagingObjectSelection">http://hl7.org/fhir/profiles/ImagingObjectSelection</a> 
297 * </p>
298 *
299 */
300@ResourceDef(name="ImagingObjectSelection", profile="http://hl7.org/fhir/profiles/ImagingObjectSelection", id="imagingobjectselection")
301public class ImagingObjectSelection extends ca.uhn.fhir.model.dstu2.resource.BaseResource
302    implements  IResource     {
303
304        /**
305         * Search parameter constant for <b>identifier</b>
306         * <p>
307         * Description: <b>UID of key DICOM object selection</b><br>
308         * Type: <b>uri</b><br>
309         * Path: <b>ImagingObjectSelection.uid</b><br>
310         * </p>
311         */
312        @SearchParamDefinition(name="identifier", path="ImagingObjectSelection.uid", description="UID of key DICOM object selection", type="uri"  )
313        public static final String SP_IDENTIFIER = "identifier";
314
315        /**
316         * <b>Fluent Client</b> search parameter constant for <b>identifier</b>
317         * <p>
318         * Description: <b>UID of key DICOM object selection</b><br>
319         * Type: <b>uri</b><br>
320         * Path: <b>ImagingObjectSelection.uid</b><br>
321         * </p>
322         */
323        public static final UriClientParam IDENTIFIER = new UriClientParam(SP_IDENTIFIER);
324
325        /**
326         * Search parameter constant for <b>title</b>
327         * <p>
328         * Description: <b>Title of key DICOM object selection</b><br>
329         * Type: <b>token</b><br>
330         * Path: <b>ImagingObjectSelection.title</b><br>
331         * </p>
332         */
333        @SearchParamDefinition(name="title", path="ImagingObjectSelection.title", description="Title of key DICOM object selection", type="token"  )
334        public static final String SP_TITLE = "title";
335
336        /**
337         * <b>Fluent Client</b> search parameter constant for <b>title</b>
338         * <p>
339         * Description: <b>Title of key DICOM object selection</b><br>
340         * Type: <b>token</b><br>
341         * Path: <b>ImagingObjectSelection.title</b><br>
342         * </p>
343         */
344        public static final TokenClientParam TITLE = new TokenClientParam(SP_TITLE);
345
346        /**
347         * Search parameter constant for <b>author</b>
348         * <p>
349         * Description: <b>Author of key DICOM object selection</b><br>
350         * Type: <b>reference</b><br>
351         * Path: <b>ImagingObjectSelection.author</b><br>
352         * </p>
353         */
354        @SearchParamDefinition(name="author", path="ImagingObjectSelection.author", description="Author of key DICOM object selection", type="reference" , providesMembershipIn={
355 @Compartment(name="Patient") ,  @Compartment(name="Encounter") ,  @Compartment(name="RelatedPerson") ,  @Compartment(name="Practitioner")      }
356 )
357        public static final String SP_AUTHOR = "author";
358
359        /**
360         * <b>Fluent Client</b> search parameter constant for <b>author</b>
361         * <p>
362         * Description: <b>Author of key DICOM object selection</b><br>
363         * Type: <b>reference</b><br>
364         * Path: <b>ImagingObjectSelection.author</b><br>
365         * </p>
366         */
367        public static final ReferenceClientParam AUTHOR = new ReferenceClientParam(SP_AUTHOR);
368
369        /**
370         * Search parameter constant for <b>authoring-time</b>
371         * <p>
372         * Description: <b>Time of key DICOM object selection authoring</b><br>
373         * Type: <b>date</b><br>
374         * Path: <b>ImagingObjectSelection.authoringTime</b><br>
375         * </p>
376         */
377        @SearchParamDefinition(name="authoring-time", path="ImagingObjectSelection.authoringTime", description="Time of key DICOM object selection authoring", type="date"  )
378        public static final String SP_AUTHORING_TIME = "authoring-time";
379
380        /**
381         * <b>Fluent Client</b> search parameter constant for <b>authoring-time</b>
382         * <p>
383         * Description: <b>Time of key DICOM object selection authoring</b><br>
384         * Type: <b>date</b><br>
385         * Path: <b>ImagingObjectSelection.authoringTime</b><br>
386         * </p>
387         */
388        public static final DateClientParam AUTHORING_TIME = new DateClientParam(SP_AUTHORING_TIME);
389
390        /**
391         * Search parameter constant for <b>patient</b>
392         * <p>
393         * Description: <b>Subject of key DICOM object selection</b><br>
394         * Type: <b>reference</b><br>
395         * Path: <b>ImagingObjectSelection.patient</b><br>
396         * </p>
397         */
398        @SearchParamDefinition(name="patient", path="ImagingObjectSelection.patient", description="Subject of key DICOM object selection", type="reference" , providesMembershipIn={
399 @Compartment(name="Patient")   }
400 )
401        public static final String SP_PATIENT = "patient";
402
403        /**
404         * <b>Fluent Client</b> search parameter constant for <b>patient</b>
405         * <p>
406         * Description: <b>Subject of key DICOM object selection</b><br>
407         * Type: <b>reference</b><br>
408         * Path: <b>ImagingObjectSelection.patient</b><br>
409         * </p>
410         */
411        public static final ReferenceClientParam PATIENT = new ReferenceClientParam(SP_PATIENT);
412
413        /**
414         * Search parameter constant for <b>selected-study</b>
415         * <p>
416         * Description: <b>Study selected in key DICOM object selection</b><br>
417         * Type: <b>uri</b><br>
418         * Path: <b>ImagingObjectSelection.study.uid</b><br>
419         * </p>
420         */
421        @SearchParamDefinition(name="selected-study", path="ImagingObjectSelection.study.uid", description="Study selected in key DICOM object selection", type="uri"  )
422        public static final String SP_SELECTED_STUDY = "selected-study";
423
424        /**
425         * <b>Fluent Client</b> search parameter constant for <b>selected-study</b>
426         * <p>
427         * Description: <b>Study selected in key DICOM object selection</b><br>
428         * Type: <b>uri</b><br>
429         * Path: <b>ImagingObjectSelection.study.uid</b><br>
430         * </p>
431         */
432        public static final UriClientParam SELECTED_STUDY = new UriClientParam(SP_SELECTED_STUDY);
433
434
435        /**
436         * Constant for fluent queries to be used to add include statements. Specifies
437         * the path value of "<b>ImagingObjectSelection:author</b>".
438         */
439        public static final Include INCLUDE_AUTHOR = new Include("ImagingObjectSelection:author");
440
441        /**
442         * Constant for fluent queries to be used to add include statements. Specifies
443         * the path value of "<b>ImagingObjectSelection:patient</b>".
444         */
445        public static final Include INCLUDE_PATIENT = new Include("ImagingObjectSelection:patient");
446
447
448        @Child(name="uid", type=OidDt.class, order=0, min=1, max=1, summary=false, modifier=false)      
449        @Description(
450                shortDefinition="id",
451                formalDefinition="Instance UID of the DICOM KOS SOP Instances represented in this resource."
452        )
453        private OidDt myUid;
454        
455        @Child(name="patient", order=1, min=1, max=1, summary=false, modifier=false, type={
456                ca.uhn.fhir.model.dstu2.resource.Patient.class  })
457        @Description(
458                shortDefinition="who.focus",
459                formalDefinition="A patient resource reference which is the patient subject of all DICOM SOP Instances in this ImagingObjectSelection."
460        )
461        private ResourceReferenceDt myPatient;
462        
463        @Child(name="title", type=CodeableConceptDt.class, order=2, min=1, max=1, summary=false, modifier=false)        
464        @Description(
465                shortDefinition="",
466                formalDefinition="The reason for, or significance of, the selection of objects referenced in the resource"
467        )
468        @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/kos-title")
469        private BoundCodeableConceptDt<KOStitleEnum> myTitle;
470        
471        @Child(name="description", type=StringDt.class, order=3, min=0, max=1, summary=false, modifier=false)   
472        @Description(
473                shortDefinition="",
474                formalDefinition="Text description of the DICOM SOP instances selected in the ImagingObjectSelection. This should be aligned with the content of the title element, and can provide further explanation of the SOP instances in the selection."
475        )
476        private StringDt myDescription;
477        
478        @Child(name="author", order=4, min=0, max=1, summary=false, modifier=false, type={
479                ca.uhn.fhir.model.dstu2.resource.Practitioner.class,            ca.uhn.fhir.model.dstu2.resource.Device.class,          ca.uhn.fhir.model.dstu2.resource.Organization.class,            ca.uhn.fhir.model.dstu2.resource.Patient.class,                 ca.uhn.fhir.model.dstu2.resource.RelatedPerson.class    })
480        @Description(
481                shortDefinition="who.author",
482                formalDefinition="Author of ImagingObjectSelection. It can be a human author or a device which made the decision of the SOP instances selected. For example, a radiologist selected a set of imaging SOP instances to attach in a diagnostic report, and a CAD application may author a selection to describe SOP instances it used to generate a detection conclusion."
483        )
484        private ResourceReferenceDt myAuthor;
485        
486        @Child(name="authoringTime", type=DateTimeDt.class, order=5, min=0, max=1, summary=false, modifier=false)       
487        @Description(
488                shortDefinition="when.recorded",
489                formalDefinition="Date and time when the selection of the referenced instances were made. It is (typically) different from the creation date of the selection resource, and from dates associated with the referenced instances (e.g. capture time of the referenced image)."
490        )
491        private DateTimeDt myAuthoringTime;
492        
493        @Child(name="study", order=6, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false)    
494        @Description(
495                shortDefinition="",
496                formalDefinition="Study identity and locating information of the DICOM SOP instances in the selection."
497        )
498        private java.util.List<Study> myStudy;
499        
500
501        @Override
502        public boolean isEmpty() {
503                return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(  myUid,  myPatient,  myTitle,  myDescription,  myAuthor,  myAuthoringTime,  myStudy);
504        }
505        
506        @Override
507        public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
508                return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myUid, myPatient, myTitle, myDescription, myAuthor, myAuthoringTime, myStudy);
509        }
510
511        /**
512         * Gets the value(s) for <b>uid</b> (id).
513         * creating it if it does
514         * not exist. Will not return <code>null</code>.
515         *
516     * <p>
517     * <b>Definition:</b>
518     * Instance UID of the DICOM KOS SOP Instances represented in this resource.
519     * </p> 
520         */
521        public OidDt getUidElement() {  
522                if (myUid == null) {
523                        myUid = new OidDt();
524                }
525                return myUid;
526        }
527
528        
529        /**
530         * Gets the value(s) for <b>uid</b> (id).
531         * creating it if it does
532         * not exist. This method may return <code>null</code>.
533         *
534     * <p>
535     * <b>Definition:</b>
536     * Instance UID of the DICOM KOS SOP Instances represented in this resource.
537     * </p> 
538         */
539        public String getUid() {  
540                return getUidElement().getValue();
541        }
542
543        /**
544         * Sets the value(s) for <b>uid</b> (id)
545         *
546     * <p>
547     * <b>Definition:</b>
548     * Instance UID of the DICOM KOS SOP Instances represented in this resource.
549     * </p> 
550         */
551        public ImagingObjectSelection setUid(OidDt theValue) {
552                myUid = theValue;
553                return this;
554        }
555        
556        
557
558  
559        /**
560         * Gets the value(s) for <b>patient</b> (who.focus).
561         * creating it if it does
562         * not exist. Will not return <code>null</code>.
563         *
564     * <p>
565     * <b>Definition:</b>
566     * A patient resource reference which is the patient subject of all DICOM SOP Instances in this ImagingObjectSelection.
567     * </p> 
568         */
569        public ResourceReferenceDt getPatient() {  
570                if (myPatient == null) {
571                        myPatient = new ResourceReferenceDt();
572                }
573                return myPatient;
574        }
575
576        /**
577         * Sets the value(s) for <b>patient</b> (who.focus)
578         *
579     * <p>
580     * <b>Definition:</b>
581     * A patient resource reference which is the patient subject of all DICOM SOP Instances in this ImagingObjectSelection.
582     * </p> 
583         */
584        public ImagingObjectSelection setPatient(ResourceReferenceDt theValue) {
585                myPatient = theValue;
586                return this;
587        }
588        
589        
590
591  
592        /**
593         * Gets the value(s) for <b>title</b> ().
594         * creating it if it does
595         * not exist. Will not return <code>null</code>.
596         *
597     * <p>
598     * <b>Definition:</b>
599     * The reason for, or significance of, the selection of objects referenced in the resource
600     * </p> 
601         */
602        public BoundCodeableConceptDt<KOStitleEnum> getTitle() {  
603                if (myTitle == null) {
604                        myTitle = new BoundCodeableConceptDt<KOStitleEnum>(KOStitleEnum.VALUESET_BINDER);
605                }
606                return myTitle;
607        }
608
609        /**
610         * Sets the value(s) for <b>title</b> ()
611         *
612     * <p>
613     * <b>Definition:</b>
614     * The reason for, or significance of, the selection of objects referenced in the resource
615     * </p> 
616         */
617        public ImagingObjectSelection setTitle(BoundCodeableConceptDt<KOStitleEnum> theValue) {
618                myTitle = theValue;
619                return this;
620        }
621        
622        
623
624        /**
625         * Sets the value(s) for <b>title</b> ()
626         *
627     * <p>
628     * <b>Definition:</b>
629     * The reason for, or significance of, the selection of objects referenced in the resource
630     * </p> 
631         */
632        public ImagingObjectSelection setTitle(KOStitleEnum theValue) {
633                setTitle(new BoundCodeableConceptDt<KOStitleEnum>(KOStitleEnum.VALUESET_BINDER, theValue));
634                
635/*
636                getTitle().setValueAsEnum(theValue);
637*/
638                return this;
639        }
640
641  
642        /**
643         * Gets the value(s) for <b>description</b> ().
644         * creating it if it does
645         * not exist. Will not return <code>null</code>.
646         *
647     * <p>
648     * <b>Definition:</b>
649     * Text description of the DICOM SOP instances selected in the ImagingObjectSelection. This should be aligned with the content of the title element, and can provide further explanation of the SOP instances in the selection.
650     * </p> 
651         */
652        public StringDt getDescriptionElement() {  
653                if (myDescription == null) {
654                        myDescription = new StringDt();
655                }
656                return myDescription;
657        }
658
659        
660        /**
661         * Gets the value(s) for <b>description</b> ().
662         * creating it if it does
663         * not exist. This method may return <code>null</code>.
664         *
665     * <p>
666     * <b>Definition:</b>
667     * Text description of the DICOM SOP instances selected in the ImagingObjectSelection. This should be aligned with the content of the title element, and can provide further explanation of the SOP instances in the selection.
668     * </p> 
669         */
670        public String getDescription() {  
671                return getDescriptionElement().getValue();
672        }
673
674        /**
675         * Sets the value(s) for <b>description</b> ()
676         *
677     * <p>
678     * <b>Definition:</b>
679     * Text description of the DICOM SOP instances selected in the ImagingObjectSelection. This should be aligned with the content of the title element, and can provide further explanation of the SOP instances in the selection.
680     * </p> 
681         */
682        public ImagingObjectSelection setDescription(StringDt theValue) {
683                myDescription = theValue;
684                return this;
685        }
686        
687        
688
689        /**
690         * Sets the value for <b>description</b> ()
691         *
692     * <p>
693     * <b>Definition:</b>
694     * Text description of the DICOM SOP instances selected in the ImagingObjectSelection. This should be aligned with the content of the title element, and can provide further explanation of the SOP instances in the selection.
695     * </p> 
696         */
697        public ImagingObjectSelection setDescription( String theString) {
698                myDescription = new StringDt(theString); 
699                return this; 
700        }
701
702 
703        /**
704         * Gets the value(s) for <b>author</b> (who.author).
705         * creating it if it does
706         * not exist. Will not return <code>null</code>.
707         *
708     * <p>
709     * <b>Definition:</b>
710     * Author of ImagingObjectSelection. It can be a human author or a device which made the decision of the SOP instances selected. For example, a radiologist selected a set of imaging SOP instances to attach in a diagnostic report, and a CAD application may author a selection to describe SOP instances it used to generate a detection conclusion.
711     * </p> 
712         */
713        public ResourceReferenceDt getAuthor() {  
714                if (myAuthor == null) {
715                        myAuthor = new ResourceReferenceDt();
716                }
717                return myAuthor;
718        }
719
720        /**
721         * Sets the value(s) for <b>author</b> (who.author)
722         *
723     * <p>
724     * <b>Definition:</b>
725     * Author of ImagingObjectSelection. It can be a human author or a device which made the decision of the SOP instances selected. For example, a radiologist selected a set of imaging SOP instances to attach in a diagnostic report, and a CAD application may author a selection to describe SOP instances it used to generate a detection conclusion.
726     * </p> 
727         */
728        public ImagingObjectSelection setAuthor(ResourceReferenceDt theValue) {
729                myAuthor = theValue;
730                return this;
731        }
732        
733        
734
735  
736        /**
737         * Gets the value(s) for <b>authoringTime</b> (when.recorded).
738         * creating it if it does
739         * not exist. Will not return <code>null</code>.
740         *
741     * <p>
742     * <b>Definition:</b>
743     * Date and time when the selection of the referenced instances were made. It is (typically) different from the creation date of the selection resource, and from dates associated with the referenced instances (e.g. capture time of the referenced image).
744     * </p> 
745         */
746        public DateTimeDt getAuthoringTimeElement() {  
747                if (myAuthoringTime == null) {
748                        myAuthoringTime = new DateTimeDt();
749                }
750                return myAuthoringTime;
751        }
752
753        
754        /**
755         * Gets the value(s) for <b>authoringTime</b> (when.recorded).
756         * creating it if it does
757         * not exist. This method may return <code>null</code>.
758         *
759     * <p>
760     * <b>Definition:</b>
761     * Date and time when the selection of the referenced instances were made. It is (typically) different from the creation date of the selection resource, and from dates associated with the referenced instances (e.g. capture time of the referenced image).
762     * </p> 
763         */
764        public Date getAuthoringTime() {  
765                return getAuthoringTimeElement().getValue();
766        }
767
768        /**
769         * Sets the value(s) for <b>authoringTime</b> (when.recorded)
770         *
771     * <p>
772     * <b>Definition:</b>
773     * Date and time when the selection of the referenced instances were made. It is (typically) different from the creation date of the selection resource, and from dates associated with the referenced instances (e.g. capture time of the referenced image).
774     * </p> 
775         */
776        public ImagingObjectSelection setAuthoringTime(DateTimeDt theValue) {
777                myAuthoringTime = theValue;
778                return this;
779        }
780        
781        
782
783        /**
784         * Sets the value for <b>authoringTime</b> (when.recorded)
785         *
786     * <p>
787     * <b>Definition:</b>
788     * Date and time when the selection of the referenced instances were made. It is (typically) different from the creation date of the selection resource, and from dates associated with the referenced instances (e.g. capture time of the referenced image).
789     * </p> 
790         */
791        public ImagingObjectSelection setAuthoringTimeWithSecondsPrecision( Date theDate) {
792                myAuthoringTime = new DateTimeDt(theDate); 
793                return this; 
794        }
795
796        /**
797         * Sets the value for <b>authoringTime</b> (when.recorded)
798         *
799     * <p>
800     * <b>Definition:</b>
801     * Date and time when the selection of the referenced instances were made. It is (typically) different from the creation date of the selection resource, and from dates associated with the referenced instances (e.g. capture time of the referenced image).
802     * </p> 
803         */
804        public ImagingObjectSelection setAuthoringTime( Date theDate,  TemporalPrecisionEnum thePrecision) {
805                myAuthoringTime = new DateTimeDt(theDate, thePrecision); 
806                return this; 
807        }
808
809 
810        /**
811         * Gets the value(s) for <b>study</b> ().
812         * creating it if it does
813         * not exist. Will not return <code>null</code>.
814         *
815     * <p>
816     * <b>Definition:</b>
817     * Study identity and locating information of the DICOM SOP instances in the selection.
818     * </p> 
819         */
820        public java.util.List<Study> getStudy() {  
821                if (myStudy == null) {
822                        myStudy = new java.util.ArrayList<Study>();
823                }
824                return myStudy;
825        }
826
827        /**
828         * Sets the value(s) for <b>study</b> ()
829         *
830     * <p>
831     * <b>Definition:</b>
832     * Study identity and locating information of the DICOM SOP instances in the selection.
833     * </p> 
834         */
835        public ImagingObjectSelection setStudy(java.util.List<Study> theValue) {
836                myStudy = theValue;
837                return this;
838        }
839        
840        
841
842        /**
843         * Adds and returns a new value for <b>study</b> ()
844         *
845     * <p>
846     * <b>Definition:</b>
847     * Study identity and locating information of the DICOM SOP instances in the selection.
848     * </p> 
849         */
850        public Study addStudy() {
851                Study newType = new Study();
852                getStudy().add(newType);
853                return newType; 
854        }
855
856        /**
857         * Adds a given new value for <b>study</b> ()
858         *
859         * <p>
860         * <b>Definition:</b>
861         * Study identity and locating information of the DICOM SOP instances in the selection.
862         * </p>
863         * @param theValue The study to add (must not be <code>null</code>)
864         */
865        public ImagingObjectSelection addStudy(Study theValue) {
866                if (theValue == null) {
867                        throw new NullPointerException("theValue must not be null");
868                }
869                getStudy().add(theValue);
870                return this;
871        }
872
873        /**
874         * Gets the first repetition for <b>study</b> (),
875         * creating it if it does not already exist.
876         *
877     * <p>
878     * <b>Definition:</b>
879     * Study identity and locating information of the DICOM SOP instances in the selection.
880     * </p> 
881         */
882        public Study getStudyFirstRep() {
883                if (getStudy().isEmpty()) {
884                        return addStudy();
885                }
886                return getStudy().get(0); 
887        }
888  
889        /**
890         * Block class for child element: <b>ImagingObjectSelection.study</b> ()
891         *
892     * <p>
893     * <b>Definition:</b>
894     * Study identity and locating information of the DICOM SOP instances in the selection.
895     * </p> 
896         */
897        @Block()        
898        public static class Study 
899            extends  BaseIdentifiableElement        implements IResourceBlock {
900        
901        @Child(name="uid", type=OidDt.class, order=0, min=1, max=1, summary=false, modifier=false)      
902        @Description(
903                shortDefinition="",
904                formalDefinition="Study instance UID of the SOP instances in the selection"
905        )
906        private OidDt myUid;
907        
908        @Child(name="url", type=UriDt.class, order=1, min=0, max=1, summary=false, modifier=false)      
909        @Description(
910                shortDefinition="",
911                formalDefinition="WADO-RS URL to retrieve the study. Note that this URL retrieves all SOP instances of the study, not only those in the selection."
912        )
913        private UriDt myUrl;
914        
915        @Child(name="imagingStudy", order=2, min=0, max=1, summary=false, modifier=false, type={
916                ca.uhn.fhir.model.dstu2.resource.ImagingStudy.class     })
917        @Description(
918                shortDefinition="",
919                formalDefinition="Reference to the Imaging Study in FHIR form."
920        )
921        private ResourceReferenceDt myImagingStudy;
922        
923        @Child(name="series", order=3, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false)   
924        @Description(
925                shortDefinition="",
926                formalDefinition="Series identity and locating information of the DICOM SOP instances in the selection"
927        )
928        private java.util.List<StudySeries> mySeries;
929        
930
931        @Override
932        public boolean isEmpty() {
933                return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(  myUid,  myUrl,  myImagingStudy,  mySeries);
934        }
935        
936        @Override
937        public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
938                return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myUid, myUrl, myImagingStudy, mySeries);
939        }
940
941        /**
942         * Gets the value(s) for <b>uid</b> ().
943         * creating it if it does
944         * not exist. Will not return <code>null</code>.
945         *
946     * <p>
947     * <b>Definition:</b>
948     * Study instance UID of the SOP instances in the selection
949     * </p> 
950         */
951        public OidDt getUidElement() {  
952                if (myUid == null) {
953                        myUid = new OidDt();
954                }
955                return myUid;
956        }
957
958        
959        /**
960         * Gets the value(s) for <b>uid</b> ().
961         * creating it if it does
962         * not exist. This method may return <code>null</code>.
963         *
964     * <p>
965     * <b>Definition:</b>
966     * Study instance UID of the SOP instances in the selection
967     * </p> 
968         */
969        public String getUid() {  
970                return getUidElement().getValue();
971        }
972
973        /**
974         * Sets the value(s) for <b>uid</b> ()
975         *
976     * <p>
977     * <b>Definition:</b>
978     * Study instance UID of the SOP instances in the selection
979     * </p> 
980         */
981        public Study setUid(OidDt theValue) {
982                myUid = theValue;
983                return this;
984        }
985        
986        
987
988  
989        /**
990         * Gets the value(s) for <b>url</b> ().
991         * creating it if it does
992         * not exist. Will not return <code>null</code>.
993         *
994     * <p>
995     * <b>Definition:</b>
996     * WADO-RS URL to retrieve the study. Note that this URL retrieves all SOP instances of the study, not only those in the selection.
997     * </p> 
998         */
999        public UriDt getUrlElement() {  
1000                if (myUrl == null) {
1001                        myUrl = new UriDt();
1002                }
1003                return myUrl;
1004        }
1005
1006        
1007        /**
1008         * Gets the value(s) for <b>url</b> ().
1009         * creating it if it does
1010         * not exist. This method may return <code>null</code>.
1011         *
1012     * <p>
1013     * <b>Definition:</b>
1014     * WADO-RS URL to retrieve the study. Note that this URL retrieves all SOP instances of the study, not only those in the selection.
1015     * </p> 
1016         */
1017        public String getUrl() {  
1018                return getUrlElement().getValue();
1019        }
1020
1021        /**
1022         * Sets the value(s) for <b>url</b> ()
1023         *
1024     * <p>
1025     * <b>Definition:</b>
1026     * WADO-RS URL to retrieve the study. Note that this URL retrieves all SOP instances of the study, not only those in the selection.
1027     * </p> 
1028         */
1029        public Study setUrl(UriDt theValue) {
1030                myUrl = theValue;
1031                return this;
1032        }
1033        
1034        
1035
1036        /**
1037         * Sets the value for <b>url</b> ()
1038         *
1039     * <p>
1040     * <b>Definition:</b>
1041     * WADO-RS URL to retrieve the study. Note that this URL retrieves all SOP instances of the study, not only those in the selection.
1042     * </p> 
1043         */
1044        public Study setUrl( String theUri) {
1045                myUrl = new UriDt(theUri); 
1046                return this; 
1047        }
1048
1049 
1050        /**
1051         * Gets the value(s) for <b>imagingStudy</b> ().
1052         * creating it if it does
1053         * not exist. Will not return <code>null</code>.
1054         *
1055     * <p>
1056     * <b>Definition:</b>
1057     * Reference to the Imaging Study in FHIR form.
1058     * </p> 
1059         */
1060        public ResourceReferenceDt getImagingStudy() {  
1061                if (myImagingStudy == null) {
1062                        myImagingStudy = new ResourceReferenceDt();
1063                }
1064                return myImagingStudy;
1065        }
1066
1067        /**
1068         * Sets the value(s) for <b>imagingStudy</b> ()
1069         *
1070     * <p>
1071     * <b>Definition:</b>
1072     * Reference to the Imaging Study in FHIR form.
1073     * </p> 
1074         */
1075        public Study setImagingStudy(ResourceReferenceDt theValue) {
1076                myImagingStudy = theValue;
1077                return this;
1078        }
1079        
1080        
1081
1082  
1083        /**
1084         * Gets the value(s) for <b>series</b> ().
1085         * creating it if it does
1086         * not exist. Will not return <code>null</code>.
1087         *
1088     * <p>
1089     * <b>Definition:</b>
1090     * Series identity and locating information of the DICOM SOP instances in the selection
1091     * </p> 
1092         */
1093        public java.util.List<StudySeries> getSeries() {  
1094                if (mySeries == null) {
1095                        mySeries = new java.util.ArrayList<StudySeries>();
1096                }
1097                return mySeries;
1098        }
1099
1100        /**
1101         * Sets the value(s) for <b>series</b> ()
1102         *
1103     * <p>
1104     * <b>Definition:</b>
1105     * Series identity and locating information of the DICOM SOP instances in the selection
1106     * </p> 
1107         */
1108        public Study setSeries(java.util.List<StudySeries> theValue) {
1109                mySeries = theValue;
1110                return this;
1111        }
1112        
1113        
1114
1115        /**
1116         * Adds and returns a new value for <b>series</b> ()
1117         *
1118     * <p>
1119     * <b>Definition:</b>
1120     * Series identity and locating information of the DICOM SOP instances in the selection
1121     * </p> 
1122         */
1123        public StudySeries addSeries() {
1124                StudySeries newType = new StudySeries();
1125                getSeries().add(newType);
1126                return newType; 
1127        }
1128
1129        /**
1130         * Adds a given new value for <b>series</b> ()
1131         *
1132         * <p>
1133         * <b>Definition:</b>
1134         * Series identity and locating information of the DICOM SOP instances in the selection
1135         * </p>
1136         * @param theValue The series to add (must not be <code>null</code>)
1137         */
1138        public Study addSeries(StudySeries theValue) {
1139                if (theValue == null) {
1140                        throw new NullPointerException("theValue must not be null");
1141                }
1142                getSeries().add(theValue);
1143                return this;
1144        }
1145
1146        /**
1147         * Gets the first repetition for <b>series</b> (),
1148         * creating it if it does not already exist.
1149         *
1150     * <p>
1151     * <b>Definition:</b>
1152     * Series identity and locating information of the DICOM SOP instances in the selection
1153     * </p> 
1154         */
1155        public StudySeries getSeriesFirstRep() {
1156                if (getSeries().isEmpty()) {
1157                        return addSeries();
1158                }
1159                return getSeries().get(0); 
1160        }
1161  
1162
1163
1164        }
1165
1166        /**
1167         * Block class for child element: <b>ImagingObjectSelection.study.series</b> ()
1168         *
1169     * <p>
1170     * <b>Definition:</b>
1171     * Series identity and locating information of the DICOM SOP instances in the selection
1172     * </p> 
1173         */
1174        @Block()        
1175        public static class StudySeries 
1176            extends  BaseIdentifiableElement        implements IResourceBlock {
1177        
1178        @Child(name="uid", type=OidDt.class, order=0, min=0, max=1, summary=false, modifier=false)      
1179        @Description(
1180                shortDefinition="",
1181                formalDefinition="Series instance UID of the SOP instances in the selection"
1182        )
1183        private OidDt myUid;
1184        
1185        @Child(name="url", type=UriDt.class, order=1, min=0, max=1, summary=false, modifier=false)      
1186        @Description(
1187                shortDefinition="",
1188                formalDefinition="WADO-RS URL to retrieve the series. Note that this URL retrieves all SOP instances of the series not only those in the selection."
1189        )
1190        private UriDt myUrl;
1191        
1192        @Child(name="instance", order=2, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false) 
1193        @Description(
1194                shortDefinition="",
1195                formalDefinition="Identity and locating information of the selected DICOM SOP instances"
1196        )
1197        private java.util.List<StudySeriesInstance> myInstance;
1198        
1199
1200        @Override
1201        public boolean isEmpty() {
1202                return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(  myUid,  myUrl,  myInstance);
1203        }
1204        
1205        @Override
1206        public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
1207                return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myUid, myUrl, myInstance);
1208        }
1209
1210        /**
1211         * Gets the value(s) for <b>uid</b> ().
1212         * creating it if it does
1213         * not exist. Will not return <code>null</code>.
1214         *
1215     * <p>
1216     * <b>Definition:</b>
1217     * Series instance UID of the SOP instances in the selection
1218     * </p> 
1219         */
1220        public OidDt getUidElement() {  
1221                if (myUid == null) {
1222                        myUid = new OidDt();
1223                }
1224                return myUid;
1225        }
1226
1227        
1228        /**
1229         * Gets the value(s) for <b>uid</b> ().
1230         * creating it if it does
1231         * not exist. This method may return <code>null</code>.
1232         *
1233     * <p>
1234     * <b>Definition:</b>
1235     * Series instance UID of the SOP instances in the selection
1236     * </p> 
1237         */
1238        public String getUid() {  
1239                return getUidElement().getValue();
1240        }
1241
1242        /**
1243         * Sets the value(s) for <b>uid</b> ()
1244         *
1245     * <p>
1246     * <b>Definition:</b>
1247     * Series instance UID of the SOP instances in the selection
1248     * </p> 
1249         */
1250        public StudySeries setUid(OidDt theValue) {
1251                myUid = theValue;
1252                return this;
1253        }
1254        
1255        
1256
1257  
1258        /**
1259         * Gets the value(s) for <b>url</b> ().
1260         * creating it if it does
1261         * not exist. Will not return <code>null</code>.
1262         *
1263     * <p>
1264     * <b>Definition:</b>
1265     * WADO-RS URL to retrieve the series. Note that this URL retrieves all SOP instances of the series not only those in the selection.
1266     * </p> 
1267         */
1268        public UriDt getUrlElement() {  
1269                if (myUrl == null) {
1270                        myUrl = new UriDt();
1271                }
1272                return myUrl;
1273        }
1274
1275        
1276        /**
1277         * Gets the value(s) for <b>url</b> ().
1278         * creating it if it does
1279         * not exist. This method may return <code>null</code>.
1280         *
1281     * <p>
1282     * <b>Definition:</b>
1283     * WADO-RS URL to retrieve the series. Note that this URL retrieves all SOP instances of the series not only those in the selection.
1284     * </p> 
1285         */
1286        public String getUrl() {  
1287                return getUrlElement().getValue();
1288        }
1289
1290        /**
1291         * Sets the value(s) for <b>url</b> ()
1292         *
1293     * <p>
1294     * <b>Definition:</b>
1295     * WADO-RS URL to retrieve the series. Note that this URL retrieves all SOP instances of the series not only those in the selection.
1296     * </p> 
1297         */
1298        public StudySeries setUrl(UriDt theValue) {
1299                myUrl = theValue;
1300                return this;
1301        }
1302        
1303        
1304
1305        /**
1306         * Sets the value for <b>url</b> ()
1307         *
1308     * <p>
1309     * <b>Definition:</b>
1310     * WADO-RS URL to retrieve the series. Note that this URL retrieves all SOP instances of the series not only those in the selection.
1311     * </p> 
1312         */
1313        public StudySeries setUrl( String theUri) {
1314                myUrl = new UriDt(theUri); 
1315                return this; 
1316        }
1317
1318 
1319        /**
1320         * Gets the value(s) for <b>instance</b> ().
1321         * creating it if it does
1322         * not exist. Will not return <code>null</code>.
1323         *
1324     * <p>
1325     * <b>Definition:</b>
1326     * Identity and locating information of the selected DICOM SOP instances
1327     * </p> 
1328         */
1329        public java.util.List<StudySeriesInstance> getInstance() {  
1330                if (myInstance == null) {
1331                        myInstance = new java.util.ArrayList<StudySeriesInstance>();
1332                }
1333                return myInstance;
1334        }
1335
1336        /**
1337         * Sets the value(s) for <b>instance</b> ()
1338         *
1339     * <p>
1340     * <b>Definition:</b>
1341     * Identity and locating information of the selected DICOM SOP instances
1342     * </p> 
1343         */
1344        public StudySeries setInstance(java.util.List<StudySeriesInstance> theValue) {
1345                myInstance = theValue;
1346                return this;
1347        }
1348        
1349        
1350
1351        /**
1352         * Adds and returns a new value for <b>instance</b> ()
1353         *
1354     * <p>
1355     * <b>Definition:</b>
1356     * Identity and locating information of the selected DICOM SOP instances
1357     * </p> 
1358         */
1359        public StudySeriesInstance addInstance() {
1360                StudySeriesInstance newType = new StudySeriesInstance();
1361                getInstance().add(newType);
1362                return newType; 
1363        }
1364
1365        /**
1366         * Adds a given new value for <b>instance</b> ()
1367         *
1368         * <p>
1369         * <b>Definition:</b>
1370         * Identity and locating information of the selected DICOM SOP instances
1371         * </p>
1372         * @param theValue The instance to add (must not be <code>null</code>)
1373         */
1374        public StudySeries addInstance(StudySeriesInstance theValue) {
1375                if (theValue == null) {
1376                        throw new NullPointerException("theValue must not be null");
1377                }
1378                getInstance().add(theValue);
1379                return this;
1380        }
1381
1382        /**
1383         * Gets the first repetition for <b>instance</b> (),
1384         * creating it if it does not already exist.
1385         *
1386     * <p>
1387     * <b>Definition:</b>
1388     * Identity and locating information of the selected DICOM SOP instances
1389     * </p> 
1390         */
1391        public StudySeriesInstance getInstanceFirstRep() {
1392                if (getInstance().isEmpty()) {
1393                        return addInstance();
1394                }
1395                return getInstance().get(0); 
1396        }
1397  
1398
1399
1400        }
1401
1402        /**
1403         * Block class for child element: <b>ImagingObjectSelection.study.series.instance</b> ()
1404         *
1405     * <p>
1406     * <b>Definition:</b>
1407     * Identity and locating information of the selected DICOM SOP instances
1408     * </p> 
1409         */
1410        @Block()        
1411        public static class StudySeriesInstance 
1412            extends  BaseIdentifiableElement        implements IResourceBlock {
1413        
1414        @Child(name="sopClass", type=OidDt.class, order=0, min=1, max=1, summary=false, modifier=false) 
1415        @Description(
1416                shortDefinition="",
1417                formalDefinition="SOP class UID of the selected instance"
1418        )
1419        private OidDt mySopClass;
1420        
1421        @Child(name="uid", type=OidDt.class, order=1, min=1, max=1, summary=false, modifier=false)      
1422        @Description(
1423                shortDefinition="",
1424                formalDefinition="SOP Instance UID of the selected instance"
1425        )
1426        private OidDt myUid;
1427        
1428        @Child(name="url", type=UriDt.class, order=2, min=1, max=1, summary=false, modifier=false)      
1429        @Description(
1430                shortDefinition="",
1431                formalDefinition="WADO-RS URL to retrieve the DICOM SOP Instance."
1432        )
1433        private UriDt myUrl;
1434        
1435        @Child(name="frames", order=3, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)   
1436        @Description(
1437                shortDefinition="",
1438                formalDefinition="Identity and location information of the frames in the selected instance"
1439        )
1440        private java.util.List<StudySeriesInstanceFrames> myFrames;
1441        
1442
1443        @Override
1444        public boolean isEmpty() {
1445                return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(  mySopClass,  myUid,  myUrl,  myFrames);
1446        }
1447        
1448        @Override
1449        public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
1450                return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySopClass, myUid, myUrl, myFrames);
1451        }
1452
1453        /**
1454         * Gets the value(s) for <b>sopClass</b> ().
1455         * creating it if it does
1456         * not exist. Will not return <code>null</code>.
1457         *
1458     * <p>
1459     * <b>Definition:</b>
1460     * SOP class UID of the selected instance
1461     * </p> 
1462         */
1463        public OidDt getSopClassElement() {  
1464                if (mySopClass == null) {
1465                        mySopClass = new OidDt();
1466                }
1467                return mySopClass;
1468        }
1469
1470        
1471        /**
1472         * Gets the value(s) for <b>sopClass</b> ().
1473         * creating it if it does
1474         * not exist. This method may return <code>null</code>.
1475         *
1476     * <p>
1477     * <b>Definition:</b>
1478     * SOP class UID of the selected instance
1479     * </p> 
1480         */
1481        public String getSopClass() {  
1482                return getSopClassElement().getValue();
1483        }
1484
1485        /**
1486         * Sets the value(s) for <b>sopClass</b> ()
1487         *
1488     * <p>
1489     * <b>Definition:</b>
1490     * SOP class UID of the selected instance
1491     * </p> 
1492         */
1493        public StudySeriesInstance setSopClass(OidDt theValue) {
1494                mySopClass = theValue;
1495                return this;
1496        }
1497        
1498        
1499
1500  
1501        /**
1502         * Gets the value(s) for <b>uid</b> ().
1503         * creating it if it does
1504         * not exist. Will not return <code>null</code>.
1505         *
1506     * <p>
1507     * <b>Definition:</b>
1508     * SOP Instance UID of the selected instance
1509     * </p> 
1510         */
1511        public OidDt getUidElement() {  
1512                if (myUid == null) {
1513                        myUid = new OidDt();
1514                }
1515                return myUid;
1516        }
1517
1518        
1519        /**
1520         * Gets the value(s) for <b>uid</b> ().
1521         * creating it if it does
1522         * not exist. This method may return <code>null</code>.
1523         *
1524     * <p>
1525     * <b>Definition:</b>
1526     * SOP Instance UID of the selected instance
1527     * </p> 
1528         */
1529        public String getUid() {  
1530                return getUidElement().getValue();
1531        }
1532
1533        /**
1534         * Sets the value(s) for <b>uid</b> ()
1535         *
1536     * <p>
1537     * <b>Definition:</b>
1538     * SOP Instance UID of the selected instance
1539     * </p> 
1540         */
1541        public StudySeriesInstance setUid(OidDt theValue) {
1542                myUid = theValue;
1543                return this;
1544        }
1545        
1546        
1547
1548  
1549        /**
1550         * Gets the value(s) for <b>url</b> ().
1551         * creating it if it does
1552         * not exist. Will not return <code>null</code>.
1553         *
1554     * <p>
1555     * <b>Definition:</b>
1556     * WADO-RS URL to retrieve the DICOM SOP Instance.
1557     * </p> 
1558         */
1559        public UriDt getUrlElement() {  
1560                if (myUrl == null) {
1561                        myUrl = new UriDt();
1562                }
1563                return myUrl;
1564        }
1565
1566        
1567        /**
1568         * Gets the value(s) for <b>url</b> ().
1569         * creating it if it does
1570         * not exist. This method may return <code>null</code>.
1571         *
1572     * <p>
1573     * <b>Definition:</b>
1574     * WADO-RS URL to retrieve the DICOM SOP Instance.
1575     * </p> 
1576         */
1577        public String getUrl() {  
1578                return getUrlElement().getValue();
1579        }
1580
1581        /**
1582         * Sets the value(s) for <b>url</b> ()
1583         *
1584     * <p>
1585     * <b>Definition:</b>
1586     * WADO-RS URL to retrieve the DICOM SOP Instance.
1587     * </p> 
1588         */
1589        public StudySeriesInstance setUrl(UriDt theValue) {
1590                myUrl = theValue;
1591                return this;
1592        }
1593        
1594        
1595
1596        /**
1597         * Sets the value for <b>url</b> ()
1598         *
1599     * <p>
1600     * <b>Definition:</b>
1601     * WADO-RS URL to retrieve the DICOM SOP Instance.
1602     * </p> 
1603         */
1604        public StudySeriesInstance setUrl( String theUri) {
1605                myUrl = new UriDt(theUri); 
1606                return this; 
1607        }
1608
1609 
1610        /**
1611         * Gets the value(s) for <b>frames</b> ().
1612         * creating it if it does
1613         * not exist. Will not return <code>null</code>.
1614         *
1615     * <p>
1616     * <b>Definition:</b>
1617     * Identity and location information of the frames in the selected instance
1618     * </p> 
1619         */
1620        public java.util.List<StudySeriesInstanceFrames> getFrames() {  
1621                if (myFrames == null) {
1622                        myFrames = new java.util.ArrayList<StudySeriesInstanceFrames>();
1623                }
1624                return myFrames;
1625        }
1626
1627        /**
1628         * Sets the value(s) for <b>frames</b> ()
1629         *
1630     * <p>
1631     * <b>Definition:</b>
1632     * Identity and location information of the frames in the selected instance
1633     * </p> 
1634         */
1635        public StudySeriesInstance setFrames(java.util.List<StudySeriesInstanceFrames> theValue) {
1636                myFrames = theValue;
1637                return this;
1638        }
1639        
1640        
1641
1642        /**
1643         * Adds and returns a new value for <b>frames</b> ()
1644         *
1645     * <p>
1646     * <b>Definition:</b>
1647     * Identity and location information of the frames in the selected instance
1648     * </p> 
1649         */
1650        public StudySeriesInstanceFrames addFrames() {
1651                StudySeriesInstanceFrames newType = new StudySeriesInstanceFrames();
1652                getFrames().add(newType);
1653                return newType; 
1654        }
1655
1656        /**
1657         * Adds a given new value for <b>frames</b> ()
1658         *
1659         * <p>
1660         * <b>Definition:</b>
1661         * Identity and location information of the frames in the selected instance
1662         * </p>
1663         * @param theValue The frames to add (must not be <code>null</code>)
1664         */
1665        public StudySeriesInstance addFrames(StudySeriesInstanceFrames theValue) {
1666                if (theValue == null) {
1667                        throw new NullPointerException("theValue must not be null");
1668                }
1669                getFrames().add(theValue);
1670                return this;
1671        }
1672
1673        /**
1674         * Gets the first repetition for <b>frames</b> (),
1675         * creating it if it does not already exist.
1676         *
1677     * <p>
1678     * <b>Definition:</b>
1679     * Identity and location information of the frames in the selected instance
1680     * </p> 
1681         */
1682        public StudySeriesInstanceFrames getFramesFirstRep() {
1683                if (getFrames().isEmpty()) {
1684                        return addFrames();
1685                }
1686                return getFrames().get(0); 
1687        }
1688  
1689
1690
1691        }
1692
1693        /**
1694         * Block class for child element: <b>ImagingObjectSelection.study.series.instance.frames</b> ()
1695         *
1696     * <p>
1697     * <b>Definition:</b>
1698     * Identity and location information of the frames in the selected instance
1699     * </p> 
1700         */
1701        @Block()        
1702        public static class StudySeriesInstanceFrames 
1703            extends  BaseIdentifiableElement        implements IResourceBlock {
1704        
1705        @Child(name="frameNumbers", type=UnsignedIntDt.class, order=0, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false)   
1706        @Description(
1707                shortDefinition="",
1708                formalDefinition="The frame numbers in the frame set"
1709        )
1710        private java.util.List<UnsignedIntDt> myFrameNumbers;
1711        
1712        @Child(name="url", type=UriDt.class, order=1, min=1, max=1, summary=false, modifier=false)      
1713        @Description(
1714                shortDefinition="",
1715                formalDefinition="WADO-RS URL to retrieve the DICOM frames."
1716        )
1717        private UriDt myUrl;
1718        
1719
1720        @Override
1721        public boolean isEmpty() {
1722                return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(  myFrameNumbers,  myUrl);
1723        }
1724        
1725        @Override
1726        public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
1727                return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myFrameNumbers, myUrl);
1728        }
1729
1730        /**
1731         * Gets the value(s) for <b>frameNumbers</b> ().
1732         * creating it if it does
1733         * not exist. Will not return <code>null</code>.
1734         *
1735     * <p>
1736     * <b>Definition:</b>
1737     * The frame numbers in the frame set
1738     * </p> 
1739         */
1740        public java.util.List<UnsignedIntDt> getFrameNumbers() {  
1741                if (myFrameNumbers == null) {
1742                        myFrameNumbers = new java.util.ArrayList<UnsignedIntDt>();
1743                }
1744                return myFrameNumbers;
1745        }
1746
1747        /**
1748         * Sets the value(s) for <b>frameNumbers</b> ()
1749         *
1750     * <p>
1751     * <b>Definition:</b>
1752     * The frame numbers in the frame set
1753     * </p> 
1754         */
1755        public StudySeriesInstanceFrames setFrameNumbers(java.util.List<UnsignedIntDt> theValue) {
1756                myFrameNumbers = theValue;
1757                return this;
1758        }
1759        
1760        
1761
1762        /**
1763         * Adds and returns a new value for <b>frameNumbers</b> ()
1764         *
1765     * <p>
1766     * <b>Definition:</b>
1767     * The frame numbers in the frame set
1768     * </p> 
1769         */
1770        public UnsignedIntDt addFrameNumbers() {
1771                UnsignedIntDt newType = new UnsignedIntDt();
1772                getFrameNumbers().add(newType);
1773                return newType; 
1774        }
1775
1776        /**
1777         * Adds a given new value for <b>frameNumbers</b> ()
1778         *
1779         * <p>
1780         * <b>Definition:</b>
1781         * The frame numbers in the frame set
1782         * </p>
1783         * @param theValue The frameNumbers to add (must not be <code>null</code>)
1784         */
1785        public StudySeriesInstanceFrames addFrameNumbers(UnsignedIntDt theValue) {
1786                if (theValue == null) {
1787                        throw new NullPointerException("theValue must not be null");
1788                }
1789                getFrameNumbers().add(theValue);
1790                return this;
1791        }
1792
1793        /**
1794         * Gets the first repetition for <b>frameNumbers</b> (),
1795         * creating it if it does not already exist.
1796         *
1797     * <p>
1798     * <b>Definition:</b>
1799     * The frame numbers in the frame set
1800     * </p> 
1801         */
1802        public UnsignedIntDt getFrameNumbersFirstRep() {
1803                if (getFrameNumbers().isEmpty()) {
1804                        return addFrameNumbers();
1805                }
1806                return getFrameNumbers().get(0); 
1807        }
1808        /**
1809         * Adds a new value for <b>frameNumbers</b> ()
1810         *
1811     * <p>
1812     * <b>Definition:</b>
1813     * The frame numbers in the frame set
1814     * </p> 
1815     *
1816     * @return Returns a reference to this object, to allow for simple chaining.
1817         */
1818        public StudySeriesInstanceFrames addFrameNumbers( int theInteger) {
1819                if (myFrameNumbers == null) {
1820                        myFrameNumbers = new java.util.ArrayList<UnsignedIntDt>();
1821                }
1822                myFrameNumbers.add(new UnsignedIntDt(theInteger));
1823                return this; 
1824        }
1825
1826 
1827        /**
1828         * Gets the value(s) for <b>url</b> ().
1829         * creating it if it does
1830         * not exist. Will not return <code>null</code>.
1831         *
1832     * <p>
1833     * <b>Definition:</b>
1834     * WADO-RS URL to retrieve the DICOM frames.
1835     * </p> 
1836         */
1837        public UriDt getUrlElement() {  
1838                if (myUrl == null) {
1839                        myUrl = new UriDt();
1840                }
1841                return myUrl;
1842        }
1843
1844        
1845        /**
1846         * Gets the value(s) for <b>url</b> ().
1847         * creating it if it does
1848         * not exist. This method may return <code>null</code>.
1849         *
1850     * <p>
1851     * <b>Definition:</b>
1852     * WADO-RS URL to retrieve the DICOM frames.
1853     * </p> 
1854         */
1855        public String getUrl() {  
1856                return getUrlElement().getValue();
1857        }
1858
1859        /**
1860         * Sets the value(s) for <b>url</b> ()
1861         *
1862     * <p>
1863     * <b>Definition:</b>
1864     * WADO-RS URL to retrieve the DICOM frames.
1865     * </p> 
1866         */
1867        public StudySeriesInstanceFrames setUrl(UriDt theValue) {
1868                myUrl = theValue;
1869                return this;
1870        }
1871        
1872        
1873
1874        /**
1875         * Sets the value for <b>url</b> ()
1876         *
1877     * <p>
1878     * <b>Definition:</b>
1879     * WADO-RS URL to retrieve the DICOM frames.
1880     * </p> 
1881         */
1882        public StudySeriesInstanceFrames setUrl( String theUri) {
1883                myUrl = new UriDt(theUri); 
1884                return this; 
1885        }
1886
1887 
1888
1889
1890        }
1891
1892
1893
1894
1895
1896
1897
1898    @Override
1899    public String getResourceName() {
1900        return "ImagingObjectSelection";
1901    }
1902    
1903    public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() {
1904        return ca.uhn.fhir.context.FhirVersionEnum.DSTU2;
1905    }
1906
1907
1908}