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        /**
306         * Search parameter constant for <b>identifier</b>
307         * <p>
308         * Description: <b>UID of key DICOM object selection</b><br>
309         * Type: <b>uri</b><br>
310         * Path: <b>ImagingObjectSelection.uid</b><br>
311         * </p>
312         */
313        @SearchParamDefinition(name="identifier", path="ImagingObjectSelection.uid", description="UID of key DICOM object selection", type="uri" 
314 )
315        public static final String SP_IDENTIFIER = "identifier";
316
317        /**
318         * <b>Fluent Client</b> search parameter constant for <b>identifier</b>
319         * <p>
320         * Description: <b>UID of key DICOM object selection</b><br>
321         * Type: <b>uri</b><br>
322         * Path: <b>ImagingObjectSelection.uid</b><br>
323         * </p>
324         */
325        public static final UriClientParam IDENTIFIER = new UriClientParam(SP_IDENTIFIER);
326
327        /**
328         * Search parameter constant for <b>title</b>
329         * <p>
330         * Description: <b>Title of key DICOM object selection</b><br>
331         * Type: <b>token</b><br>
332         * Path: <b>ImagingObjectSelection.title</b><br>
333         * </p>
334         */
335        @SearchParamDefinition(name="title", path="ImagingObjectSelection.title", description="Title of key DICOM object selection", type="token" 
336 )
337        public static final String SP_TITLE = "title";
338
339        /**
340         * <b>Fluent Client</b> search parameter constant for <b>title</b>
341         * <p>
342         * Description: <b>Title of key DICOM object selection</b><br>
343         * Type: <b>token</b><br>
344         * Path: <b>ImagingObjectSelection.title</b><br>
345         * </p>
346         */
347        public static final TokenClientParam TITLE = new TokenClientParam(SP_TITLE);
348
349        /**
350         * Search parameter constant for <b>author</b>
351         * <p>
352         * Description: <b>Author of key DICOM object selection</b><br>
353         * Type: <b>reference</b><br>
354         * Path: <b>ImagingObjectSelection.author</b><br>
355         * </p>
356         */
357        @SearchParamDefinition(name="author", path="ImagingObjectSelection.author", description="Author of key DICOM object selection", type="reference" 
358, providesMembershipIn={
359 @Compartment(name="Patient") ,  @Compartment(name="Encounter") ,  @Compartment(name="RelatedPerson") ,  @Compartment(name="Practitioner")      }
360 )
361        public static final String SP_AUTHOR = "author";
362
363        /**
364         * <b>Fluent Client</b> search parameter constant for <b>author</b>
365         * <p>
366         * Description: <b>Author of key DICOM object selection</b><br>
367         * Type: <b>reference</b><br>
368         * Path: <b>ImagingObjectSelection.author</b><br>
369         * </p>
370         */
371        public static final ReferenceClientParam AUTHOR = new ReferenceClientParam(SP_AUTHOR);
372
373        /**
374         * Search parameter constant for <b>authoring-time</b>
375         * <p>
376         * Description: <b>Time of key DICOM object selection authoring</b><br>
377         * Type: <b>date</b><br>
378         * Path: <b>ImagingObjectSelection.authoringTime</b><br>
379         * </p>
380         */
381        @SearchParamDefinition(name="authoring-time", path="ImagingObjectSelection.authoringTime", description="Time of key DICOM object selection authoring", type="date" 
382 )
383        public static final String SP_AUTHORING_TIME = "authoring-time";
384
385        /**
386         * <b>Fluent Client</b> search parameter constant for <b>authoring-time</b>
387         * <p>
388         * Description: <b>Time of key DICOM object selection authoring</b><br>
389         * Type: <b>date</b><br>
390         * Path: <b>ImagingObjectSelection.authoringTime</b><br>
391         * </p>
392         */
393        public static final DateClientParam AUTHORING_TIME = new DateClientParam(SP_AUTHORING_TIME);
394
395        /**
396         * Search parameter constant for <b>patient</b>
397         * <p>
398         * Description: <b>Subject of key DICOM object selection</b><br>
399         * Type: <b>reference</b><br>
400         * Path: <b>ImagingObjectSelection.patient</b><br>
401         * </p>
402         */
403        @SearchParamDefinition(name="patient", path="ImagingObjectSelection.patient", description="Subject of key DICOM object selection", type="reference" 
404, providesMembershipIn={
405 @Compartment(name="Patient")   }
406 )
407        public static final String SP_PATIENT = "patient";
408
409        /**
410         * <b>Fluent Client</b> search parameter constant for <b>patient</b>
411         * <p>
412         * Description: <b>Subject of key DICOM object selection</b><br>
413         * Type: <b>reference</b><br>
414         * Path: <b>ImagingObjectSelection.patient</b><br>
415         * </p>
416         */
417        public static final ReferenceClientParam PATIENT = new ReferenceClientParam(SP_PATIENT);
418
419        /**
420         * Search parameter constant for <b>selected-study</b>
421         * <p>
422         * Description: <b>Study selected in key DICOM object selection</b><br>
423         * Type: <b>uri</b><br>
424         * Path: <b>ImagingObjectSelection.study.uid</b><br>
425         * </p>
426         */
427        @SearchParamDefinition(name="selected-study", path="ImagingObjectSelection.study.uid", description="Study selected in key DICOM object selection", type="uri" 
428 )
429        public static final String SP_SELECTED_STUDY = "selected-study";
430
431        /**
432         * <b>Fluent Client</b> search parameter constant for <b>selected-study</b>
433         * <p>
434         * Description: <b>Study selected in key DICOM object selection</b><br>
435         * Type: <b>uri</b><br>
436         * Path: <b>ImagingObjectSelection.study.uid</b><br>
437         * </p>
438         */
439        public static final UriClientParam SELECTED_STUDY = new UriClientParam(SP_SELECTED_STUDY);
440
441
442        /**
443         * Constant for fluent queries to be used to add include statements. Specifies
444         * the path value of "<b>ImagingObjectSelection:author</b>".
445         */
446        public static final Include INCLUDE_AUTHOR = new Include("ImagingObjectSelection:author");
447
448        /**
449         * Constant for fluent queries to be used to add include statements. Specifies
450         * the path value of "<b>ImagingObjectSelection:patient</b>".
451         */
452        public static final Include INCLUDE_PATIENT = new Include("ImagingObjectSelection:patient");
453
454
455        @Child(name="uid", type=OidDt.class, order=0, min=1, max=1, summary=false, modifier=false)      
456        @Description(
457                shortDefinition="id",
458                formalDefinition="Instance UID of the DICOM KOS SOP Instances represented in this resource."
459        )
460        private OidDt myUid;
461        
462        @Child(name="patient", order=1, min=1, max=1, summary=false, modifier=false, type={
463                ca.uhn.fhir.model.dstu2.resource.Patient.class
464        })
465        @Description(
466                shortDefinition="who.focus",
467                formalDefinition="A patient resource reference which is the patient subject of all DICOM SOP Instances in this ImagingObjectSelection."
468        )
469        private ResourceReferenceDt myPatient;
470        
471        @Child(name="title", type=CodeableConceptDt.class, order=2, min=1, max=1, summary=false, modifier=false)        
472        @Description(
473                shortDefinition="",
474                formalDefinition="The reason for, or significance of, the selection of objects referenced in the resource"
475        )
476        @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/kos-title")
477        private BoundCodeableConceptDt<KOStitleEnum> myTitle;
478        
479        @Child(name="description", type=StringDt.class, order=3, min=0, max=1, summary=false, modifier=false)   
480        @Description(
481                shortDefinition="",
482                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."
483        )
484        private StringDt myDescription;
485        
486        @Child(name="author", order=4, min=0, max=1, summary=false, modifier=false, type={
487                ca.uhn.fhir.model.dstu2.resource.Practitioner.class, 
488                ca.uhn.fhir.model.dstu2.resource.Device.class, 
489                ca.uhn.fhir.model.dstu2.resource.Organization.class, 
490                ca.uhn.fhir.model.dstu2.resource.Patient.class, 
491                ca.uhn.fhir.model.dstu2.resource.RelatedPerson.class
492        })
493        @Description(
494                shortDefinition="who.author",
495                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."
496        )
497        private ResourceReferenceDt myAuthor;
498        
499        @Child(name="authoringTime", type=DateTimeDt.class, order=5, min=0, max=1, summary=false, modifier=false)       
500        @Description(
501                shortDefinition="when.recorded",
502                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)."
503        )
504        private DateTimeDt myAuthoringTime;
505        
506        @Child(name="study", order=6, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false)    
507        @Description(
508                shortDefinition="",
509                formalDefinition="Study identity and locating information of the DICOM SOP instances in the selection."
510        )
511        private java.util.List<Study> myStudy;
512        
513
514        @Override
515        public boolean isEmpty() {
516                return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(  myUid,  myPatient,  myTitle,  myDescription,  myAuthor,  myAuthoringTime,  myStudy);
517        }
518        
519        @Override
520        public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
521                return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myUid, myPatient, myTitle, myDescription, myAuthor, myAuthoringTime, myStudy);
522        }
523
524        /**
525         * Gets the value(s) for <b>uid</b> (id).
526         * creating it if it does
527         * not exist. Will not return <code>null</code>.
528         *
529     * <p>
530     * <b>Definition:</b>
531     * Instance UID of the DICOM KOS SOP Instances represented in this resource.
532     * </p> 
533         */
534        public OidDt getUidElement() {  
535                if (myUid == null) {
536                        myUid = new OidDt();
537                }
538                return myUid;
539        }
540
541        
542        /**
543         * Gets the value(s) for <b>uid</b> (id).
544         * creating it if it does
545         * not exist. This method may return <code>null</code>.
546         *
547     * <p>
548     * <b>Definition:</b>
549     * Instance UID of the DICOM KOS SOP Instances represented in this resource.
550     * </p> 
551         */
552        public String getUid() {  
553                return getUidElement().getValue();
554        }
555
556        /**
557         * Sets the value(s) for <b>uid</b> (id)
558         *
559     * <p>
560     * <b>Definition:</b>
561     * Instance UID of the DICOM KOS SOP Instances represented in this resource.
562     * </p> 
563         */
564        public ImagingObjectSelection setUid(OidDt theValue) {
565                myUid = theValue;
566                return this;
567        }
568        
569        
570
571  
572        /**
573         * Gets the value(s) for <b>patient</b> (who.focus).
574         * creating it if it does
575         * not exist. Will not return <code>null</code>.
576         *
577     * <p>
578     * <b>Definition:</b>
579     * A patient resource reference which is the patient subject of all DICOM SOP Instances in this ImagingObjectSelection.
580     * </p> 
581         */
582        public ResourceReferenceDt getPatient() {  
583                if (myPatient == null) {
584                        myPatient = new ResourceReferenceDt();
585                }
586                return myPatient;
587        }
588
589        /**
590         * Sets the value(s) for <b>patient</b> (who.focus)
591         *
592     * <p>
593     * <b>Definition:</b>
594     * A patient resource reference which is the patient subject of all DICOM SOP Instances in this ImagingObjectSelection.
595     * </p> 
596         */
597        public ImagingObjectSelection setPatient(ResourceReferenceDt theValue) {
598                myPatient = theValue;
599                return this;
600        }
601        
602        
603
604  
605        /**
606         * Gets the value(s) for <b>title</b> ().
607         * creating it if it does
608         * not exist. Will not return <code>null</code>.
609         *
610     * <p>
611     * <b>Definition:</b>
612     * The reason for, or significance of, the selection of objects referenced in the resource
613     * </p> 
614         */
615        public BoundCodeableConceptDt<KOStitleEnum> getTitle() {  
616                if (myTitle == null) {
617                        myTitle = new BoundCodeableConceptDt<KOStitleEnum>(KOStitleEnum.VALUESET_BINDER);
618                }
619                return myTitle;
620        }
621
622        /**
623         * Sets the value(s) for <b>title</b> ()
624         *
625     * <p>
626     * <b>Definition:</b>
627     * The reason for, or significance of, the selection of objects referenced in the resource
628     * </p> 
629         */
630        public ImagingObjectSelection setTitle(BoundCodeableConceptDt<KOStitleEnum> theValue) {
631                myTitle = theValue;
632                return this;
633        }
634        
635        
636
637        /**
638         * Sets the value(s) for <b>title</b> ()
639         *
640     * <p>
641     * <b>Definition:</b>
642     * The reason for, or significance of, the selection of objects referenced in the resource
643     * </p> 
644         */
645        public ImagingObjectSelection setTitle(KOStitleEnum theValue) {
646                setTitle(new BoundCodeableConceptDt<KOStitleEnum>(KOStitleEnum.VALUESET_BINDER, theValue));
647                
648/*
649                getTitle().setValueAsEnum(theValue);
650*/
651                return this;
652        }
653
654  
655        /**
656         * Gets the value(s) for <b>description</b> ().
657         * creating it if it does
658         * not exist. Will not return <code>null</code>.
659         *
660     * <p>
661     * <b>Definition:</b>
662     * 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.
663     * </p> 
664         */
665        public StringDt getDescriptionElement() {  
666                if (myDescription == null) {
667                        myDescription = new StringDt();
668                }
669                return myDescription;
670        }
671
672        
673        /**
674         * Gets the value(s) for <b>description</b> ().
675         * creating it if it does
676         * not exist. This method may return <code>null</code>.
677         *
678     * <p>
679     * <b>Definition:</b>
680     * 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.
681     * </p> 
682         */
683        public String getDescription() {  
684                return getDescriptionElement().getValue();
685        }
686
687        /**
688         * Sets the value(s) for <b>description</b> ()
689         *
690     * <p>
691     * <b>Definition:</b>
692     * 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.
693     * </p> 
694         */
695        public ImagingObjectSelection setDescription(StringDt theValue) {
696                myDescription = theValue;
697                return this;
698        }
699        
700        
701
702        /**
703         * Sets the value for <b>description</b> ()
704         *
705     * <p>
706     * <b>Definition:</b>
707     * 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.
708     * </p> 
709         */
710        public ImagingObjectSelection setDescription( String theString) {
711                myDescription = new StringDt(theString); 
712                return this; 
713        }
714
715 
716        /**
717         * Gets the value(s) for <b>author</b> (who.author).
718         * creating it if it does
719         * not exist. Will not return <code>null</code>.
720         *
721     * <p>
722     * <b>Definition:</b>
723     * 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.
724     * </p> 
725         */
726        public ResourceReferenceDt getAuthor() {  
727                if (myAuthor == null) {
728                        myAuthor = new ResourceReferenceDt();
729                }
730                return myAuthor;
731        }
732
733        /**
734         * Sets the value(s) for <b>author</b> (who.author)
735         *
736     * <p>
737     * <b>Definition:</b>
738     * 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.
739     * </p> 
740         */
741        public ImagingObjectSelection setAuthor(ResourceReferenceDt theValue) {
742                myAuthor = theValue;
743                return this;
744        }
745        
746        
747
748  
749        /**
750         * Gets the value(s) for <b>authoringTime</b> (when.recorded).
751         * creating it if it does
752         * not exist. Will not return <code>null</code>.
753         *
754     * <p>
755     * <b>Definition:</b>
756     * 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).
757     * </p> 
758         */
759        public DateTimeDt getAuthoringTimeElement() {  
760                if (myAuthoringTime == null) {
761                        myAuthoringTime = new DateTimeDt();
762                }
763                return myAuthoringTime;
764        }
765
766        
767        /**
768         * Gets the value(s) for <b>authoringTime</b> (when.recorded).
769         * creating it if it does
770         * not exist. This method may return <code>null</code>.
771         *
772     * <p>
773     * <b>Definition:</b>
774     * 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).
775     * </p> 
776         */
777        public Date getAuthoringTime() {  
778                return getAuthoringTimeElement().getValue();
779        }
780
781        /**
782         * Sets the value(s) for <b>authoringTime</b> (when.recorded)
783         *
784     * <p>
785     * <b>Definition:</b>
786     * 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).
787     * </p> 
788         */
789        public ImagingObjectSelection setAuthoringTime(DateTimeDt theValue) {
790                myAuthoringTime = theValue;
791                return this;
792        }
793        
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         * Sets the value for <b>authoringTime</b> (when.recorded)
811         *
812     * <p>
813     * <b>Definition:</b>
814     * 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).
815     * </p> 
816         */
817        public ImagingObjectSelection setAuthoringTimeWithSecondsPrecision( Date theDate) {
818                myAuthoringTime = new DateTimeDt(theDate); 
819                return this; 
820        }
821
822 
823        /**
824         * Gets the value(s) for <b>study</b> ().
825         * creating it if it does
826         * not exist. Will not return <code>null</code>.
827         *
828     * <p>
829     * <b>Definition:</b>
830     * Study identity and locating information of the DICOM SOP instances in the selection.
831     * </p> 
832         */
833        public java.util.List<Study> getStudy() {  
834                if (myStudy == null) {
835                        myStudy = new java.util.ArrayList<Study>();
836                }
837                return myStudy;
838        }
839
840        /**
841         * Sets the value(s) for <b>study</b> ()
842         *
843     * <p>
844     * <b>Definition:</b>
845     * Study identity and locating information of the DICOM SOP instances in the selection.
846     * </p> 
847         */
848        public ImagingObjectSelection setStudy(java.util.List<Study> theValue) {
849                myStudy = theValue;
850                return this;
851        }
852        
853        
854
855        /**
856         * Adds and returns a new value for <b>study</b> ()
857         *
858     * <p>
859     * <b>Definition:</b>
860     * Study identity and locating information of the DICOM SOP instances in the selection.
861     * </p> 
862         */
863        public Study addStudy() {
864                Study newType = new Study();
865                getStudy().add(newType);
866                return newType; 
867        }
868
869        /**
870         * Adds a given new value for <b>study</b> ()
871         *
872         * <p>
873         * <b>Definition:</b>
874         * Study identity and locating information of the DICOM SOP instances in the selection.
875         * </p>
876         * @param theValue The study to add (must not be <code>null</code>)
877         */
878        public ImagingObjectSelection addStudy(Study theValue) {
879                if (theValue == null) {
880                        throw new NullPointerException("theValue must not be null");
881                }
882                getStudy().add(theValue);
883                return this;
884        }
885
886        /**
887         * Gets the first repetition for <b>study</b> (),
888         * creating it if it does not already exist.
889         *
890     * <p>
891     * <b>Definition:</b>
892     * Study identity and locating information of the DICOM SOP instances in the selection.
893     * </p> 
894         */
895        public Study getStudyFirstRep() {
896                if (getStudy().isEmpty()) {
897                        return addStudy();
898                }
899                return getStudy().get(0); 
900        }
901  
902        /**
903         * Block class for child element: <b>ImagingObjectSelection.study</b> ()
904         *
905     * <p>
906     * <b>Definition:</b>
907     * Study identity and locating information of the DICOM SOP instances in the selection.
908     * </p> 
909         */
910        @Block()        
911        public static class Study 
912            extends  BaseIdentifiableElement  
913            implements IResourceBlock {
914        
915        @Child(name="uid", type=OidDt.class, order=0, min=1, max=1, summary=false, modifier=false)      
916        @Description(
917                shortDefinition="",
918                formalDefinition="Study instance UID of the SOP instances in the selection"
919        )
920        private OidDt myUid;
921        
922        @Child(name="url", type=UriDt.class, order=1, min=0, max=1, summary=false, modifier=false)      
923        @Description(
924                shortDefinition="",
925                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."
926        )
927        private UriDt myUrl;
928        
929        @Child(name="imagingStudy", order=2, min=0, max=1, summary=false, modifier=false, type={
930                ca.uhn.fhir.model.dstu2.resource.ImagingStudy.class
931        })
932        @Description(
933                shortDefinition="",
934                formalDefinition="Reference to the Imaging Study in FHIR form."
935        )
936        private ResourceReferenceDt myImagingStudy;
937        
938        @Child(name="series", order=3, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false)   
939        @Description(
940                shortDefinition="",
941                formalDefinition="Series identity and locating information of the DICOM SOP instances in the selection"
942        )
943        private java.util.List<StudySeries> mySeries;
944        
945
946        @Override
947        public boolean isEmpty() {
948                return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(  myUid,  myUrl,  myImagingStudy,  mySeries);
949        }
950        
951        @Override
952        public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
953                return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myUid, myUrl, myImagingStudy, mySeries);
954        }
955
956        /**
957         * Gets the value(s) for <b>uid</b> ().
958         * creating it if it does
959         * not exist. Will not return <code>null</code>.
960         *
961     * <p>
962     * <b>Definition:</b>
963     * Study instance UID of the SOP instances in the selection
964     * </p> 
965         */
966        public OidDt getUidElement() {  
967                if (myUid == null) {
968                        myUid = new OidDt();
969                }
970                return myUid;
971        }
972
973        
974        /**
975         * Gets the value(s) for <b>uid</b> ().
976         * creating it if it does
977         * not exist. This method may return <code>null</code>.
978         *
979     * <p>
980     * <b>Definition:</b>
981     * Study instance UID of the SOP instances in the selection
982     * </p> 
983         */
984        public String getUid() {  
985                return getUidElement().getValue();
986        }
987
988        /**
989         * Sets the value(s) for <b>uid</b> ()
990         *
991     * <p>
992     * <b>Definition:</b>
993     * Study instance UID of the SOP instances in the selection
994     * </p> 
995         */
996        public Study setUid(OidDt theValue) {
997                myUid = theValue;
998                return this;
999        }
1000        
1001        
1002
1003  
1004        /**
1005         * Gets the value(s) for <b>url</b> ().
1006         * creating it if it does
1007         * not exist. Will not return <code>null</code>.
1008         *
1009     * <p>
1010     * <b>Definition:</b>
1011     * WADO-RS URL to retrieve the study. Note that this URL retrieves all SOP instances of the study, not only those in the selection.
1012     * </p> 
1013         */
1014        public UriDt getUrlElement() {  
1015                if (myUrl == null) {
1016                        myUrl = new UriDt();
1017                }
1018                return myUrl;
1019        }
1020
1021        
1022        /**
1023         * Gets the value(s) for <b>url</b> ().
1024         * creating it if it does
1025         * not exist. This method may return <code>null</code>.
1026         *
1027     * <p>
1028     * <b>Definition:</b>
1029     * WADO-RS URL to retrieve the study. Note that this URL retrieves all SOP instances of the study, not only those in the selection.
1030     * </p> 
1031         */
1032        public String getUrl() {  
1033                return getUrlElement().getValue();
1034        }
1035
1036        /**
1037         * Sets the value(s) 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(UriDt theValue) {
1045                myUrl = theValue;
1046                return this;
1047        }
1048        
1049        
1050
1051        /**
1052         * Sets the value for <b>url</b> ()
1053         *
1054     * <p>
1055     * <b>Definition:</b>
1056     * WADO-RS URL to retrieve the study. Note that this URL retrieves all SOP instances of the study, not only those in the selection.
1057     * </p> 
1058         */
1059        public Study setUrl( String theUri) {
1060                myUrl = new UriDt(theUri); 
1061                return this; 
1062        }
1063
1064 
1065        /**
1066         * Gets the value(s) for <b>imagingStudy</b> ().
1067         * creating it if it does
1068         * not exist. Will not return <code>null</code>.
1069         *
1070     * <p>
1071     * <b>Definition:</b>
1072     * Reference to the Imaging Study in FHIR form.
1073     * </p> 
1074         */
1075        public ResourceReferenceDt getImagingStudy() {  
1076                if (myImagingStudy == null) {
1077                        myImagingStudy = new ResourceReferenceDt();
1078                }
1079                return myImagingStudy;
1080        }
1081
1082        /**
1083         * Sets the value(s) for <b>imagingStudy</b> ()
1084         *
1085     * <p>
1086     * <b>Definition:</b>
1087     * Reference to the Imaging Study in FHIR form.
1088     * </p> 
1089         */
1090        public Study setImagingStudy(ResourceReferenceDt theValue) {
1091                myImagingStudy = theValue;
1092                return this;
1093        }
1094        
1095        
1096
1097  
1098        /**
1099         * Gets the value(s) for <b>series</b> ().
1100         * creating it if it does
1101         * not exist. Will not return <code>null</code>.
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 java.util.List<StudySeries> getSeries() {  
1109                if (mySeries == null) {
1110                        mySeries = new java.util.ArrayList<StudySeries>();
1111                }
1112                return mySeries;
1113        }
1114
1115        /**
1116         * Sets the value(s) 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 Study setSeries(java.util.List<StudySeries> theValue) {
1124                mySeries = theValue;
1125                return this;
1126        }
1127        
1128        
1129
1130        /**
1131         * Adds and returns a new value for <b>series</b> ()
1132         *
1133     * <p>
1134     * <b>Definition:</b>
1135     * Series identity and locating information of the DICOM SOP instances in the selection
1136     * </p> 
1137         */
1138        public StudySeries addSeries() {
1139                StudySeries newType = new StudySeries();
1140                getSeries().add(newType);
1141                return newType; 
1142        }
1143
1144        /**
1145         * Adds a given new value for <b>series</b> ()
1146         *
1147         * <p>
1148         * <b>Definition:</b>
1149         * Series identity and locating information of the DICOM SOP instances in the selection
1150         * </p>
1151         * @param theValue The series to add (must not be <code>null</code>)
1152         */
1153        public Study addSeries(StudySeries theValue) {
1154                if (theValue == null) {
1155                        throw new NullPointerException("theValue must not be null");
1156                }
1157                getSeries().add(theValue);
1158                return this;
1159        }
1160
1161        /**
1162         * Gets the first repetition for <b>series</b> (),
1163         * creating it if it does not already exist.
1164         *
1165     * <p>
1166     * <b>Definition:</b>
1167     * Series identity and locating information of the DICOM SOP instances in the selection
1168     * </p> 
1169         */
1170        public StudySeries getSeriesFirstRep() {
1171                if (getSeries().isEmpty()) {
1172                        return addSeries();
1173                }
1174                return getSeries().get(0); 
1175        }
1176  
1177
1178
1179        }
1180
1181        /**
1182         * Block class for child element: <b>ImagingObjectSelection.study.series</b> ()
1183         *
1184     * <p>
1185     * <b>Definition:</b>
1186     * Series identity and locating information of the DICOM SOP instances in the selection
1187     * </p> 
1188         */
1189        @Block()        
1190        public static class StudySeries 
1191            extends  BaseIdentifiableElement  
1192            implements IResourceBlock {
1193        
1194        @Child(name="uid", type=OidDt.class, order=0, min=0, max=1, summary=false, modifier=false)      
1195        @Description(
1196                shortDefinition="",
1197                formalDefinition="Series instance UID of the SOP instances in the selection"
1198        )
1199        private OidDt myUid;
1200        
1201        @Child(name="url", type=UriDt.class, order=1, min=0, max=1, summary=false, modifier=false)      
1202        @Description(
1203                shortDefinition="",
1204                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."
1205        )
1206        private UriDt myUrl;
1207        
1208        @Child(name="instance", order=2, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false) 
1209        @Description(
1210                shortDefinition="",
1211                formalDefinition="Identity and locating information of the selected DICOM SOP instances"
1212        )
1213        private java.util.List<StudySeriesInstance> myInstance;
1214        
1215
1216        @Override
1217        public boolean isEmpty() {
1218                return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(  myUid,  myUrl,  myInstance);
1219        }
1220        
1221        @Override
1222        public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
1223                return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myUid, myUrl, myInstance);
1224        }
1225
1226        /**
1227         * Gets the value(s) for <b>uid</b> ().
1228         * creating it if it does
1229         * not exist. Will not return <code>null</code>.
1230         *
1231     * <p>
1232     * <b>Definition:</b>
1233     * Series instance UID of the SOP instances in the selection
1234     * </p> 
1235         */
1236        public OidDt getUidElement() {  
1237                if (myUid == null) {
1238                        myUid = new OidDt();
1239                }
1240                return myUid;
1241        }
1242
1243        
1244        /**
1245         * Gets the value(s) for <b>uid</b> ().
1246         * creating it if it does
1247         * not exist. This method may return <code>null</code>.
1248         *
1249     * <p>
1250     * <b>Definition:</b>
1251     * Series instance UID of the SOP instances in the selection
1252     * </p> 
1253         */
1254        public String getUid() {  
1255                return getUidElement().getValue();
1256        }
1257
1258        /**
1259         * Sets the value(s) for <b>uid</b> ()
1260         *
1261     * <p>
1262     * <b>Definition:</b>
1263     * Series instance UID of the SOP instances in the selection
1264     * </p> 
1265         */
1266        public StudySeries setUid(OidDt theValue) {
1267                myUid = theValue;
1268                return this;
1269        }
1270        
1271        
1272
1273  
1274        /**
1275         * Gets the value(s) for <b>url</b> ().
1276         * creating it if it does
1277         * not exist. Will not return <code>null</code>.
1278         *
1279     * <p>
1280     * <b>Definition:</b>
1281     * WADO-RS URL to retrieve the series. Note that this URL retrieves all SOP instances of the series not only those in the selection.
1282     * </p> 
1283         */
1284        public UriDt getUrlElement() {  
1285                if (myUrl == null) {
1286                        myUrl = new UriDt();
1287                }
1288                return myUrl;
1289        }
1290
1291        
1292        /**
1293         * Gets the value(s) for <b>url</b> ().
1294         * creating it if it does
1295         * not exist. This method may return <code>null</code>.
1296         *
1297     * <p>
1298     * <b>Definition:</b>
1299     * WADO-RS URL to retrieve the series. Note that this URL retrieves all SOP instances of the series not only those in the selection.
1300     * </p> 
1301         */
1302        public String getUrl() {  
1303                return getUrlElement().getValue();
1304        }
1305
1306        /**
1307         * Sets the value(s) for <b>url</b> ()
1308         *
1309     * <p>
1310     * <b>Definition:</b>
1311     * WADO-RS URL to retrieve the series. Note that this URL retrieves all SOP instances of the series not only those in the selection.
1312     * </p> 
1313         */
1314        public StudySeries setUrl(UriDt theValue) {
1315                myUrl = theValue;
1316                return this;
1317        }
1318        
1319        
1320
1321        /**
1322         * Sets the value for <b>url</b> ()
1323         *
1324     * <p>
1325     * <b>Definition:</b>
1326     * WADO-RS URL to retrieve the series. Note that this URL retrieves all SOP instances of the series not only those in the selection.
1327     * </p> 
1328         */
1329        public StudySeries setUrl( String theUri) {
1330                myUrl = new UriDt(theUri); 
1331                return this; 
1332        }
1333
1334 
1335        /**
1336         * Gets the value(s) for <b>instance</b> ().
1337         * creating it if it does
1338         * not exist. Will not return <code>null</code>.
1339         *
1340     * <p>
1341     * <b>Definition:</b>
1342     * Identity and locating information of the selected DICOM SOP instances
1343     * </p> 
1344         */
1345        public java.util.List<StudySeriesInstance> getInstance() {  
1346                if (myInstance == null) {
1347                        myInstance = new java.util.ArrayList<StudySeriesInstance>();
1348                }
1349                return myInstance;
1350        }
1351
1352        /**
1353         * Sets the value(s) for <b>instance</b> ()
1354         *
1355     * <p>
1356     * <b>Definition:</b>
1357     * Identity and locating information of the selected DICOM SOP instances
1358     * </p> 
1359         */
1360        public StudySeries setInstance(java.util.List<StudySeriesInstance> theValue) {
1361                myInstance = theValue;
1362                return this;
1363        }
1364        
1365        
1366
1367        /**
1368         * Adds and returns a new value for <b>instance</b> ()
1369         *
1370     * <p>
1371     * <b>Definition:</b>
1372     * Identity and locating information of the selected DICOM SOP instances
1373     * </p> 
1374         */
1375        public StudySeriesInstance addInstance() {
1376                StudySeriesInstance newType = new StudySeriesInstance();
1377                getInstance().add(newType);
1378                return newType; 
1379        }
1380
1381        /**
1382         * Adds a given new value for <b>instance</b> ()
1383         *
1384         * <p>
1385         * <b>Definition:</b>
1386         * Identity and locating information of the selected DICOM SOP instances
1387         * </p>
1388         * @param theValue The instance to add (must not be <code>null</code>)
1389         */
1390        public StudySeries addInstance(StudySeriesInstance theValue) {
1391                if (theValue == null) {
1392                        throw new NullPointerException("theValue must not be null");
1393                }
1394                getInstance().add(theValue);
1395                return this;
1396        }
1397
1398        /**
1399         * Gets the first repetition for <b>instance</b> (),
1400         * creating it if it does not already exist.
1401         *
1402     * <p>
1403     * <b>Definition:</b>
1404     * Identity and locating information of the selected DICOM SOP instances
1405     * </p> 
1406         */
1407        public StudySeriesInstance getInstanceFirstRep() {
1408                if (getInstance().isEmpty()) {
1409                        return addInstance();
1410                }
1411                return getInstance().get(0); 
1412        }
1413  
1414
1415
1416        }
1417
1418        /**
1419         * Block class for child element: <b>ImagingObjectSelection.study.series.instance</b> ()
1420         *
1421     * <p>
1422     * <b>Definition:</b>
1423     * Identity and locating information of the selected DICOM SOP instances
1424     * </p> 
1425         */
1426        @Block()        
1427        public static class StudySeriesInstance 
1428            extends  BaseIdentifiableElement  
1429            implements IResourceBlock {
1430        
1431        @Child(name="sopClass", type=OidDt.class, order=0, min=1, max=1, summary=false, modifier=false) 
1432        @Description(
1433                shortDefinition="",
1434                formalDefinition="SOP class UID of the selected instance"
1435        )
1436        private OidDt mySopClass;
1437        
1438        @Child(name="uid", type=OidDt.class, order=1, min=1, max=1, summary=false, modifier=false)      
1439        @Description(
1440                shortDefinition="",
1441                formalDefinition="SOP Instance UID of the selected instance"
1442        )
1443        private OidDt myUid;
1444        
1445        @Child(name="url", type=UriDt.class, order=2, min=1, max=1, summary=false, modifier=false)      
1446        @Description(
1447                shortDefinition="",
1448                formalDefinition="WADO-RS URL to retrieve the DICOM SOP Instance."
1449        )
1450        private UriDt myUrl;
1451        
1452        @Child(name="frames", order=3, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)   
1453        @Description(
1454                shortDefinition="",
1455                formalDefinition="Identity and location information of the frames in the selected instance"
1456        )
1457        private java.util.List<StudySeriesInstanceFrames> myFrames;
1458        
1459
1460        @Override
1461        public boolean isEmpty() {
1462                return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(  mySopClass,  myUid,  myUrl,  myFrames);
1463        }
1464        
1465        @Override
1466        public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
1467                return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySopClass, myUid, myUrl, myFrames);
1468        }
1469
1470        /**
1471         * Gets the value(s) for <b>sopClass</b> ().
1472         * creating it if it does
1473         * not exist. Will not return <code>null</code>.
1474         *
1475     * <p>
1476     * <b>Definition:</b>
1477     * SOP class UID of the selected instance
1478     * </p> 
1479         */
1480        public OidDt getSopClassElement() {  
1481                if (mySopClass == null) {
1482                        mySopClass = new OidDt();
1483                }
1484                return mySopClass;
1485        }
1486
1487        
1488        /**
1489         * Gets the value(s) for <b>sopClass</b> ().
1490         * creating it if it does
1491         * not exist. This method may return <code>null</code>.
1492         *
1493     * <p>
1494     * <b>Definition:</b>
1495     * SOP class UID of the selected instance
1496     * </p> 
1497         */
1498        public String getSopClass() {  
1499                return getSopClassElement().getValue();
1500        }
1501
1502        /**
1503         * Sets the value(s) for <b>sopClass</b> ()
1504         *
1505     * <p>
1506     * <b>Definition:</b>
1507     * SOP class UID of the selected instance
1508     * </p> 
1509         */
1510        public StudySeriesInstance setSopClass(OidDt theValue) {
1511                mySopClass = theValue;
1512                return this;
1513        }
1514        
1515        
1516
1517  
1518        /**
1519         * Gets the value(s) for <b>uid</b> ().
1520         * creating it if it does
1521         * not exist. Will not return <code>null</code>.
1522         *
1523     * <p>
1524     * <b>Definition:</b>
1525     * SOP Instance UID of the selected instance
1526     * </p> 
1527         */
1528        public OidDt getUidElement() {  
1529                if (myUid == null) {
1530                        myUid = new OidDt();
1531                }
1532                return myUid;
1533        }
1534
1535        
1536        /**
1537         * Gets the value(s) for <b>uid</b> ().
1538         * creating it if it does
1539         * not exist. This method may return <code>null</code>.
1540         *
1541     * <p>
1542     * <b>Definition:</b>
1543     * SOP Instance UID of the selected instance
1544     * </p> 
1545         */
1546        public String getUid() {  
1547                return getUidElement().getValue();
1548        }
1549
1550        /**
1551         * Sets the value(s) for <b>uid</b> ()
1552         *
1553     * <p>
1554     * <b>Definition:</b>
1555     * SOP Instance UID of the selected instance
1556     * </p> 
1557         */
1558        public StudySeriesInstance setUid(OidDt theValue) {
1559                myUid = theValue;
1560                return this;
1561        }
1562        
1563        
1564
1565  
1566        /**
1567         * Gets the value(s) for <b>url</b> ().
1568         * creating it if it does
1569         * not exist. Will not return <code>null</code>.
1570         *
1571     * <p>
1572     * <b>Definition:</b>
1573     * WADO-RS URL to retrieve the DICOM SOP Instance.
1574     * </p> 
1575         */
1576        public UriDt getUrlElement() {  
1577                if (myUrl == null) {
1578                        myUrl = new UriDt();
1579                }
1580                return myUrl;
1581        }
1582
1583        
1584        /**
1585         * Gets the value(s) for <b>url</b> ().
1586         * creating it if it does
1587         * not exist. This method may return <code>null</code>.
1588         *
1589     * <p>
1590     * <b>Definition:</b>
1591     * WADO-RS URL to retrieve the DICOM SOP Instance.
1592     * </p> 
1593         */
1594        public String getUrl() {  
1595                return getUrlElement().getValue();
1596        }
1597
1598        /**
1599         * Sets the value(s) for <b>url</b> ()
1600         *
1601     * <p>
1602     * <b>Definition:</b>
1603     * WADO-RS URL to retrieve the DICOM SOP Instance.
1604     * </p> 
1605         */
1606        public StudySeriesInstance setUrl(UriDt theValue) {
1607                myUrl = theValue;
1608                return this;
1609        }
1610        
1611        
1612
1613        /**
1614         * Sets the value for <b>url</b> ()
1615         *
1616     * <p>
1617     * <b>Definition:</b>
1618     * WADO-RS URL to retrieve the DICOM SOP Instance.
1619     * </p> 
1620         */
1621        public StudySeriesInstance setUrl( String theUri) {
1622                myUrl = new UriDt(theUri); 
1623                return this; 
1624        }
1625
1626 
1627        /**
1628         * Gets the value(s) for <b>frames</b> ().
1629         * creating it if it does
1630         * not exist. Will not return <code>null</code>.
1631         *
1632     * <p>
1633     * <b>Definition:</b>
1634     * Identity and location information of the frames in the selected instance
1635     * </p> 
1636         */
1637        public java.util.List<StudySeriesInstanceFrames> getFrames() {  
1638                if (myFrames == null) {
1639                        myFrames = new java.util.ArrayList<StudySeriesInstanceFrames>();
1640                }
1641                return myFrames;
1642        }
1643
1644        /**
1645         * Sets the value(s) for <b>frames</b> ()
1646         *
1647     * <p>
1648     * <b>Definition:</b>
1649     * Identity and location information of the frames in the selected instance
1650     * </p> 
1651         */
1652        public StudySeriesInstance setFrames(java.util.List<StudySeriesInstanceFrames> theValue) {
1653                myFrames = theValue;
1654                return this;
1655        }
1656        
1657        
1658
1659        /**
1660         * Adds and returns a new value for <b>frames</b> ()
1661         *
1662     * <p>
1663     * <b>Definition:</b>
1664     * Identity and location information of the frames in the selected instance
1665     * </p> 
1666         */
1667        public StudySeriesInstanceFrames addFrames() {
1668                StudySeriesInstanceFrames newType = new StudySeriesInstanceFrames();
1669                getFrames().add(newType);
1670                return newType; 
1671        }
1672
1673        /**
1674         * Adds a given new value for <b>frames</b> ()
1675         *
1676         * <p>
1677         * <b>Definition:</b>
1678         * Identity and location information of the frames in the selected instance
1679         * </p>
1680         * @param theValue The frames to add (must not be <code>null</code>)
1681         */
1682        public StudySeriesInstance addFrames(StudySeriesInstanceFrames theValue) {
1683                if (theValue == null) {
1684                        throw new NullPointerException("theValue must not be null");
1685                }
1686                getFrames().add(theValue);
1687                return this;
1688        }
1689
1690        /**
1691         * Gets the first repetition for <b>frames</b> (),
1692         * creating it if it does not already exist.
1693         *
1694     * <p>
1695     * <b>Definition:</b>
1696     * Identity and location information of the frames in the selected instance
1697     * </p> 
1698         */
1699        public StudySeriesInstanceFrames getFramesFirstRep() {
1700                if (getFrames().isEmpty()) {
1701                        return addFrames();
1702                }
1703                return getFrames().get(0); 
1704        }
1705  
1706
1707
1708        }
1709
1710        /**
1711         * Block class for child element: <b>ImagingObjectSelection.study.series.instance.frames</b> ()
1712         *
1713     * <p>
1714     * <b>Definition:</b>
1715     * Identity and location information of the frames in the selected instance
1716     * </p> 
1717         */
1718        @Block()        
1719        public static class StudySeriesInstanceFrames 
1720            extends  BaseIdentifiableElement  
1721            implements IResourceBlock {
1722        
1723        @Child(name="frameNumbers", type=UnsignedIntDt.class, order=0, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false)   
1724        @Description(
1725                shortDefinition="",
1726                formalDefinition="The frame numbers in the frame set"
1727        )
1728        private java.util.List<UnsignedIntDt> myFrameNumbers;
1729        
1730        @Child(name="url", type=UriDt.class, order=1, min=1, max=1, summary=false, modifier=false)      
1731        @Description(
1732                shortDefinition="",
1733                formalDefinition="WADO-RS URL to retrieve the DICOM frames."
1734        )
1735        private UriDt myUrl;
1736        
1737
1738        @Override
1739        public boolean isEmpty() {
1740                return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(  myFrameNumbers,  myUrl);
1741        }
1742        
1743        @Override
1744        public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
1745                return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myFrameNumbers, myUrl);
1746        }
1747
1748        /**
1749         * Gets the value(s) for <b>frameNumbers</b> ().
1750         * creating it if it does
1751         * not exist. Will not return <code>null</code>.
1752         *
1753     * <p>
1754     * <b>Definition:</b>
1755     * The frame numbers in the frame set
1756     * </p> 
1757         */
1758        public java.util.List<UnsignedIntDt> getFrameNumbers() {  
1759                if (myFrameNumbers == null) {
1760                        myFrameNumbers = new java.util.ArrayList<UnsignedIntDt>();
1761                }
1762                return myFrameNumbers;
1763        }
1764
1765        /**
1766         * Sets the value(s) for <b>frameNumbers</b> ()
1767         *
1768     * <p>
1769     * <b>Definition:</b>
1770     * The frame numbers in the frame set
1771     * </p> 
1772         */
1773        public StudySeriesInstanceFrames setFrameNumbers(java.util.List<UnsignedIntDt> theValue) {
1774                myFrameNumbers = theValue;
1775                return this;
1776        }
1777        
1778        
1779
1780        /**
1781         * Adds and returns a new value for <b>frameNumbers</b> ()
1782         *
1783     * <p>
1784     * <b>Definition:</b>
1785     * The frame numbers in the frame set
1786     * </p> 
1787         */
1788        public UnsignedIntDt addFrameNumbers() {
1789                UnsignedIntDt newType = new UnsignedIntDt();
1790                getFrameNumbers().add(newType);
1791                return newType; 
1792        }
1793
1794        /**
1795         * Adds a given new value for <b>frameNumbers</b> ()
1796         *
1797         * <p>
1798         * <b>Definition:</b>
1799         * The frame numbers in the frame set
1800         * </p>
1801         * @param theValue The frameNumbers to add (must not be <code>null</code>)
1802         */
1803        public StudySeriesInstanceFrames addFrameNumbers(UnsignedIntDt theValue) {
1804                if (theValue == null) {
1805                        throw new NullPointerException("theValue must not be null");
1806                }
1807                getFrameNumbers().add(theValue);
1808                return this;
1809        }
1810
1811        /**
1812         * Gets the first repetition for <b>frameNumbers</b> (),
1813         * creating it if it does not already exist.
1814         *
1815     * <p>
1816     * <b>Definition:</b>
1817     * The frame numbers in the frame set
1818     * </p> 
1819         */
1820        public UnsignedIntDt getFrameNumbersFirstRep() {
1821                if (getFrameNumbers().isEmpty()) {
1822                        return addFrameNumbers();
1823                }
1824                return getFrameNumbers().get(0); 
1825        }
1826        /**
1827         * Adds a new value for <b>frameNumbers</b> ()
1828         *
1829     * <p>
1830     * <b>Definition:</b>
1831     * The frame numbers in the frame set
1832     * </p> 
1833     *
1834     * @return Returns a reference to this object, to allow for simple chaining.
1835         */
1836        public StudySeriesInstanceFrames addFrameNumbers( int theInteger) {
1837                if (myFrameNumbers == null) {
1838                        myFrameNumbers = new java.util.ArrayList<UnsignedIntDt>();
1839                }
1840                myFrameNumbers.add(new UnsignedIntDt(theInteger));
1841                return this; 
1842        }
1843
1844 
1845        /**
1846         * Gets the value(s) for <b>url</b> ().
1847         * creating it if it does
1848         * not exist. Will not 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 UriDt getUrlElement() {  
1856                if (myUrl == null) {
1857                        myUrl = new UriDt();
1858                }
1859                return myUrl;
1860        }
1861
1862        
1863        /**
1864         * Gets the value(s) for <b>url</b> ().
1865         * creating it if it does
1866         * not exist. This method may return <code>null</code>.
1867         *
1868     * <p>
1869     * <b>Definition:</b>
1870     * WADO-RS URL to retrieve the DICOM frames.
1871     * </p> 
1872         */
1873        public String getUrl() {  
1874                return getUrlElement().getValue();
1875        }
1876
1877        /**
1878         * Sets the value(s) for <b>url</b> ()
1879         *
1880     * <p>
1881     * <b>Definition:</b>
1882     * WADO-RS URL to retrieve the DICOM frames.
1883     * </p> 
1884         */
1885        public StudySeriesInstanceFrames setUrl(UriDt theValue) {
1886                myUrl = theValue;
1887                return this;
1888        }
1889        
1890        
1891
1892        /**
1893         * Sets the value for <b>url</b> ()
1894         *
1895     * <p>
1896     * <b>Definition:</b>
1897     * WADO-RS URL to retrieve the DICOM frames.
1898     * </p> 
1899         */
1900        public StudySeriesInstanceFrames setUrl( String theUri) {
1901                myUrl = new UriDt(theUri); 
1902                return this; 
1903        }
1904
1905 
1906
1907
1908        }
1909
1910
1911
1912
1913
1914
1915
1916    @Override
1917    public String getResourceName() {
1918        return "ImagingObjectSelection";
1919    }
1920    
1921    public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() {
1922        return ca.uhn.fhir.context.FhirVersionEnum.DSTU2;
1923    }
1924
1925
1926}