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>AppointmentResponse</b> Resource
282 * ()
283 *
284 * <p>
285 * <b>Definition:</b>
286 * A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection.
287 * </p> 
288 *
289 * <p>
290 * <b>Requirements:</b>
291 * 
292 * </p> 
293 *
294 * <p>
295 * <b>Profile Definition:</b>
296 * <a href="http://hl7.org/fhir/profiles/AppointmentResponse">http://hl7.org/fhir/profiles/AppointmentResponse</a> 
297 * </p>
298 *
299 */
300@ResourceDef(name="AppointmentResponse", profile="http://hl7.org/fhir/profiles/AppointmentResponse", id="appointmentresponse")
301public class AppointmentResponse extends ca.uhn.fhir.model.dstu2.resource.BaseResource
302    implements  IResource 
303    {
304
305        /**
306         * Search parameter constant for <b>appointment</b>
307         * <p>
308         * Description: <b>The appointment that the response is attached to</b><br>
309         * Type: <b>reference</b><br>
310         * Path: <b>AppointmentResponse.appointment</b><br>
311         * </p>
312         */
313        @SearchParamDefinition(name="appointment", path="AppointmentResponse.appointment", description="The appointment that the response is attached to", type="reference" 
314 )
315        public static final String SP_APPOINTMENT = "appointment";
316
317        /**
318         * <b>Fluent Client</b> search parameter constant for <b>appointment</b>
319         * <p>
320         * Description: <b>The appointment that the response is attached to</b><br>
321         * Type: <b>reference</b><br>
322         * Path: <b>AppointmentResponse.appointment</b><br>
323         * </p>
324         */
325        public static final ReferenceClientParam APPOINTMENT = new ReferenceClientParam(SP_APPOINTMENT);
326
327        /**
328         * Search parameter constant for <b>part-status</b>
329         * <p>
330         * Description: <b>The participants acceptance status for this appointment</b><br>
331         * Type: <b>token</b><br>
332         * Path: <b>AppointmentResponse.participantStatus</b><br>
333         * </p>
334         */
335        @SearchParamDefinition(name="part-status", path="AppointmentResponse.participantStatus", description="The participants acceptance status for this appointment", type="token" 
336 )
337        public static final String SP_PART_STATUS = "part-status";
338
339        /**
340         * <b>Fluent Client</b> search parameter constant for <b>part-status</b>
341         * <p>
342         * Description: <b>The participants acceptance status for this appointment</b><br>
343         * Type: <b>token</b><br>
344         * Path: <b>AppointmentResponse.participantStatus</b><br>
345         * </p>
346         */
347        public static final TokenClientParam PART_STATUS = new TokenClientParam(SP_PART_STATUS);
348
349        /**
350         * Search parameter constant for <b>actor</b>
351         * <p>
352         * Description: <b>The Person, Location/HealthcareService or Device that this appointment response replies for</b><br>
353         * Type: <b>reference</b><br>
354         * Path: <b>AppointmentResponse.actor</b><br>
355         * </p>
356         */
357        @SearchParamDefinition(name="actor", path="AppointmentResponse.actor", description="The Person, Location/HealthcareService or Device that this appointment response replies for", type="reference" 
358, providesMembershipIn={
359 @Compartment(name="Patient") ,  @Compartment(name="Encounter") ,  @Compartment(name="RelatedPerson") ,  @Compartment(name="Practitioner")      }
360 )
361        public static final String SP_ACTOR = "actor";
362
363        /**
364         * <b>Fluent Client</b> search parameter constant for <b>actor</b>
365         * <p>
366         * Description: <b>The Person, Location/HealthcareService or Device that this appointment response replies for</b><br>
367         * Type: <b>reference</b><br>
368         * Path: <b>AppointmentResponse.actor</b><br>
369         * </p>
370         */
371        public static final ReferenceClientParam ACTOR = new ReferenceClientParam(SP_ACTOR);
372
373        /**
374         * Search parameter constant for <b>patient</b>
375         * <p>
376         * Description: <b>This Response is for this Patient</b><br>
377         * Type: <b>reference</b><br>
378         * Path: <b>AppointmentResponse.actor</b><br>
379         * </p>
380         */
381        @SearchParamDefinition(name="patient", path="AppointmentResponse.actor", description="This Response is for this Patient", type="reference" 
382, target={
383 ca.uhn.fhir.model.dstu2.resource.Patient.class         }
384 )
385        public static final String SP_PATIENT = "patient";
386
387        /**
388         * <b>Fluent Client</b> search parameter constant for <b>patient</b>
389         * <p>
390         * Description: <b>This Response is for this Patient</b><br>
391         * Type: <b>reference</b><br>
392         * Path: <b>AppointmentResponse.actor</b><br>
393         * </p>
394         */
395        public static final ReferenceClientParam PATIENT = new ReferenceClientParam(SP_PATIENT);
396
397        /**
398         * Search parameter constant for <b>practitioner</b>
399         * <p>
400         * Description: <b>This Response is for this Practitioner</b><br>
401         * Type: <b>reference</b><br>
402         * Path: <b>AppointmentResponse.actor</b><br>
403         * </p>
404         */
405        @SearchParamDefinition(name="practitioner", path="AppointmentResponse.actor", description="This Response is for this Practitioner", type="reference" 
406, target={
407 ca.uhn.fhir.model.dstu2.resource.Practitioner.class    }
408 )
409        public static final String SP_PRACTITIONER = "practitioner";
410
411        /**
412         * <b>Fluent Client</b> search parameter constant for <b>practitioner</b>
413         * <p>
414         * Description: <b>This Response is for this Practitioner</b><br>
415         * Type: <b>reference</b><br>
416         * Path: <b>AppointmentResponse.actor</b><br>
417         * </p>
418         */
419        public static final ReferenceClientParam PRACTITIONER = new ReferenceClientParam(SP_PRACTITIONER);
420
421        /**
422         * Search parameter constant for <b>location</b>
423         * <p>
424         * Description: <b>This Response is for this Location</b><br>
425         * Type: <b>reference</b><br>
426         * Path: <b>AppointmentResponse.actor</b><br>
427         * </p>
428         */
429        @SearchParamDefinition(name="location", path="AppointmentResponse.actor", description="This Response is for this Location", type="reference" 
430, target={
431 ca.uhn.fhir.model.dstu2.resource.Location.class        }
432 )
433        public static final String SP_LOCATION = "location";
434
435        /**
436         * <b>Fluent Client</b> search parameter constant for <b>location</b>
437         * <p>
438         * Description: <b>This Response is for this Location</b><br>
439         * Type: <b>reference</b><br>
440         * Path: <b>AppointmentResponse.actor</b><br>
441         * </p>
442         */
443        public static final ReferenceClientParam LOCATION = new ReferenceClientParam(SP_LOCATION);
444
445        /**
446         * Search parameter constant for <b>identifier</b>
447         * <p>
448         * Description: <b>An Identifier in this appointment response</b><br>
449         * Type: <b>token</b><br>
450         * Path: <b>AppointmentResponse.identifier</b><br>
451         * </p>
452         */
453        @SearchParamDefinition(name="identifier", path="AppointmentResponse.identifier", description="An Identifier in this appointment response", type="token" 
454 )
455        public static final String SP_IDENTIFIER = "identifier";
456
457        /**
458         * <b>Fluent Client</b> search parameter constant for <b>identifier</b>
459         * <p>
460         * Description: <b>An Identifier in this appointment response</b><br>
461         * Type: <b>token</b><br>
462         * Path: <b>AppointmentResponse.identifier</b><br>
463         * </p>
464         */
465        public static final TokenClientParam IDENTIFIER = new TokenClientParam(SP_IDENTIFIER);
466
467
468        /**
469         * Constant for fluent queries to be used to add include statements. Specifies
470         * the path value of "<b>AppointmentResponse:actor</b>".
471         */
472        public static final Include INCLUDE_ACTOR = new Include("AppointmentResponse:actor");
473
474        /**
475         * Constant for fluent queries to be used to add include statements. Specifies
476         * the path value of "<b>AppointmentResponse:appointment</b>".
477         */
478        public static final Include INCLUDE_APPOINTMENT = new Include("AppointmentResponse:appointment");
479
480        /**
481         * Constant for fluent queries to be used to add include statements. Specifies
482         * the path value of "<b>AppointmentResponse:location</b>".
483         */
484        public static final Include INCLUDE_LOCATION = new Include("AppointmentResponse:location");
485
486        /**
487         * Constant for fluent queries to be used to add include statements. Specifies
488         * the path value of "<b>AppointmentResponse:patient</b>".
489         */
490        public static final Include INCLUDE_PATIENT = new Include("AppointmentResponse:patient");
491
492        /**
493         * Constant for fluent queries to be used to add include statements. Specifies
494         * the path value of "<b>AppointmentResponse:practitioner</b>".
495         */
496        public static final Include INCLUDE_PRACTITIONER = new Include("AppointmentResponse:practitioner");
497
498
499        @Child(name="identifier", type=IdentifierDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false)       
500        @Description(
501                shortDefinition="",
502                formalDefinition="This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate"
503        )
504        private java.util.List<IdentifierDt> myIdentifier;
505        
506        @Child(name="appointment", order=1, min=1, max=1, summary=true, modifier=false, type={
507                ca.uhn.fhir.model.dstu2.resource.Appointment.class
508        })
509        @Description(
510                shortDefinition="",
511                formalDefinition=""
512        )
513        private ResourceReferenceDt myAppointment;
514        
515        @Child(name="start", type=InstantDt.class, order=2, min=0, max=1, summary=false, modifier=false)        
516        @Description(
517                shortDefinition="",
518                formalDefinition="Date/Time that the appointment is to take place, or requested new start time"
519        )
520        private InstantDt myStart;
521        
522        @Child(name="end", type=InstantDt.class, order=3, min=0, max=1, summary=false, modifier=false)  
523        @Description(
524                shortDefinition="",
525                formalDefinition="This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time."
526        )
527        private InstantDt myEnd;
528        
529        @Child(name="participantType", type=CodeableConceptDt.class, order=4, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false)     
530        @Description(
531                shortDefinition="",
532                formalDefinition="Role of participant in the appointment"
533        )
534        @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/encounter-participant-type")
535        private java.util.List<BoundCodeableConceptDt<ParticipantTypeEnum>> myParticipantType;
536        
537        @Child(name="actor", order=5, min=0, max=1, summary=true, modifier=false, type={
538                ca.uhn.fhir.model.dstu2.resource.Patient.class, 
539                ca.uhn.fhir.model.dstu2.resource.Practitioner.class, 
540                ca.uhn.fhir.model.dstu2.resource.RelatedPerson.class, 
541                ca.uhn.fhir.model.dstu2.resource.Device.class, 
542                ca.uhn.fhir.model.dstu2.resource.HealthcareService.class, 
543                ca.uhn.fhir.model.dstu2.resource.Location.class
544        })
545        @Description(
546                shortDefinition="",
547                formalDefinition="A Person, Location/HealthcareService or Device that is participating in the appointment"
548        )
549        private ResourceReferenceDt myActor;
550        
551        @Child(name="participantStatus", type=CodeDt.class, order=6, min=1, max=1, summary=true, modifier=true) 
552        @Description(
553                shortDefinition="",
554                formalDefinition="Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty."
555        )
556        @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/participantstatus")
557        private BoundCodeDt<ParticipantStatusEnum> myParticipantStatus;
558        
559        @Child(name="comment", type=StringDt.class, order=7, min=0, max=1, summary=false, modifier=false)       
560        @Description(
561                shortDefinition="",
562                formalDefinition="Additional comments about the appointment"
563        )
564        private StringDt myComment;
565        
566
567        @Override
568        public boolean isEmpty() {
569                return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(  myIdentifier,  myAppointment,  myStart,  myEnd,  myParticipantType,  myActor,  myParticipantStatus,  myComment);
570        }
571        
572        @Override
573        public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
574                return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myAppointment, myStart, myEnd, myParticipantType, myActor, myParticipantStatus, myComment);
575        }
576
577        /**
578         * Gets the value(s) for <b>identifier</b> ().
579         * creating it if it does
580         * not exist. Will not return <code>null</code>.
581         *
582     * <p>
583     * <b>Definition:</b>
584     * This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate
585     * </p> 
586         */
587        public java.util.List<IdentifierDt> getIdentifier() {  
588                if (myIdentifier == null) {
589                        myIdentifier = new java.util.ArrayList<IdentifierDt>();
590                }
591                return myIdentifier;
592        }
593
594        /**
595         * Sets the value(s) for <b>identifier</b> ()
596         *
597     * <p>
598     * <b>Definition:</b>
599     * This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate
600     * </p> 
601         */
602        public AppointmentResponse setIdentifier(java.util.List<IdentifierDt> theValue) {
603                myIdentifier = theValue;
604                return this;
605        }
606        
607        
608
609        /**
610         * Adds and returns a new value for <b>identifier</b> ()
611         *
612     * <p>
613     * <b>Definition:</b>
614     * This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate
615     * </p> 
616         */
617        public IdentifierDt addIdentifier() {
618                IdentifierDt newType = new IdentifierDt();
619                getIdentifier().add(newType);
620                return newType; 
621        }
622
623        /**
624         * Adds a given new value for <b>identifier</b> ()
625         *
626         * <p>
627         * <b>Definition:</b>
628         * This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate
629         * </p>
630         * @param theValue The identifier to add (must not be <code>null</code>)
631         */
632        public AppointmentResponse addIdentifier(IdentifierDt theValue) {
633                if (theValue == null) {
634                        throw new NullPointerException("theValue must not be null");
635                }
636                getIdentifier().add(theValue);
637                return this;
638        }
639
640        /**
641         * Gets the first repetition for <b>identifier</b> (),
642         * creating it if it does not already exist.
643         *
644     * <p>
645     * <b>Definition:</b>
646     * This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate
647     * </p> 
648         */
649        public IdentifierDt getIdentifierFirstRep() {
650                if (getIdentifier().isEmpty()) {
651                        return addIdentifier();
652                }
653                return getIdentifier().get(0); 
654        }
655  
656        /**
657         * Gets the value(s) for <b>appointment</b> ().
658         * creating it if it does
659         * not exist. Will not return <code>null</code>.
660         *
661     * <p>
662     * <b>Definition:</b>
663     * 
664     * </p> 
665         */
666        public ResourceReferenceDt getAppointment() {  
667                if (myAppointment == null) {
668                        myAppointment = new ResourceReferenceDt();
669                }
670                return myAppointment;
671        }
672
673        /**
674         * Sets the value(s) for <b>appointment</b> ()
675         *
676     * <p>
677     * <b>Definition:</b>
678     * 
679     * </p> 
680         */
681        public AppointmentResponse setAppointment(ResourceReferenceDt theValue) {
682                myAppointment = theValue;
683                return this;
684        }
685        
686        
687
688  
689        /**
690         * Gets the value(s) for <b>start</b> ().
691         * creating it if it does
692         * not exist. Will not return <code>null</code>.
693         *
694     * <p>
695     * <b>Definition:</b>
696     * Date/Time that the appointment is to take place, or requested new start time
697     * </p> 
698         */
699        public InstantDt getStartElement() {  
700                if (myStart == null) {
701                        myStart = new InstantDt();
702                }
703                return myStart;
704        }
705
706        
707        /**
708         * Gets the value(s) for <b>start</b> ().
709         * creating it if it does
710         * not exist. This method may return <code>null</code>.
711         *
712     * <p>
713     * <b>Definition:</b>
714     * Date/Time that the appointment is to take place, or requested new start time
715     * </p> 
716         */
717        public Date getStart() {  
718                return getStartElement().getValue();
719        }
720
721        /**
722         * Sets the value(s) for <b>start</b> ()
723         *
724     * <p>
725     * <b>Definition:</b>
726     * Date/Time that the appointment is to take place, or requested new start time
727     * </p> 
728         */
729        public AppointmentResponse setStart(InstantDt theValue) {
730                myStart = theValue;
731                return this;
732        }
733        
734        
735
736        /**
737         * Sets the value for <b>start</b> ()
738         *
739     * <p>
740     * <b>Definition:</b>
741     * Date/Time that the appointment is to take place, or requested new start time
742     * </p> 
743         */
744        public AppointmentResponse setStartWithMillisPrecision( Date theDate) {
745                myStart = new InstantDt(theDate); 
746                return this; 
747        }
748
749        /**
750         * Sets the value for <b>start</b> ()
751         *
752     * <p>
753     * <b>Definition:</b>
754     * Date/Time that the appointment is to take place, or requested new start time
755     * </p> 
756         */
757        public AppointmentResponse setStart( Date theDate,  TemporalPrecisionEnum thePrecision) {
758                myStart = new InstantDt(theDate, thePrecision); 
759                return this; 
760        }
761
762 
763        /**
764         * Gets the value(s) for <b>end</b> ().
765         * creating it if it does
766         * not exist. Will not return <code>null</code>.
767         *
768     * <p>
769     * <b>Definition:</b>
770     * This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time.
771     * </p> 
772         */
773        public InstantDt getEndElement() {  
774                if (myEnd == null) {
775                        myEnd = new InstantDt();
776                }
777                return myEnd;
778        }
779
780        
781        /**
782         * Gets the value(s) for <b>end</b> ().
783         * creating it if it does
784         * not exist. This method may return <code>null</code>.
785         *
786     * <p>
787     * <b>Definition:</b>
788     * This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time.
789     * </p> 
790         */
791        public Date getEnd() {  
792                return getEndElement().getValue();
793        }
794
795        /**
796         * Sets the value(s) for <b>end</b> ()
797         *
798     * <p>
799     * <b>Definition:</b>
800     * This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time.
801     * </p> 
802         */
803        public AppointmentResponse setEnd(InstantDt theValue) {
804                myEnd = theValue;
805                return this;
806        }
807        
808        
809
810        /**
811         * Sets the value for <b>end</b> ()
812         *
813     * <p>
814     * <b>Definition:</b>
815     * This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time.
816     * </p> 
817         */
818        public AppointmentResponse setEndWithMillisPrecision( Date theDate) {
819                myEnd = new InstantDt(theDate); 
820                return this; 
821        }
822
823        /**
824         * Sets the value for <b>end</b> ()
825         *
826     * <p>
827     * <b>Definition:</b>
828     * This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time.
829     * </p> 
830         */
831        public AppointmentResponse setEnd( Date theDate,  TemporalPrecisionEnum thePrecision) {
832                myEnd = new InstantDt(theDate, thePrecision); 
833                return this; 
834        }
835
836 
837        /**
838         * Gets the value(s) for <b>participantType</b> ().
839         * creating it if it does
840         * not exist. Will not return <code>null</code>.
841         *
842     * <p>
843     * <b>Definition:</b>
844     * Role of participant in the appointment
845     * </p> 
846         */
847        public java.util.List<BoundCodeableConceptDt<ParticipantTypeEnum>> getParticipantType() {  
848                if (myParticipantType == null) {
849                        myParticipantType = new java.util.ArrayList<BoundCodeableConceptDt<ParticipantTypeEnum>>();
850                }
851                return myParticipantType;
852        }
853
854        /**
855         * Sets the value(s) for <b>participantType</b> ()
856         *
857     * <p>
858     * <b>Definition:</b>
859     * Role of participant in the appointment
860     * </p> 
861         */
862        public AppointmentResponse setParticipantType(java.util.List<BoundCodeableConceptDt<ParticipantTypeEnum>> theValue) {
863                myParticipantType = theValue;
864                return this;
865        }
866        
867        
868
869        /**
870         * Add a value for <b>participantType</b> () using an enumerated type. This
871         * is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory
872         * or contain the desirable codes. If you wish to use codes other than those which are built-in, 
873         * you may also use the {@link #addParticipantType()} method.
874         *
875     * <p>
876     * <b>Definition:</b>
877     * Role of participant in the appointment
878     * </p> 
879         */
880        public BoundCodeableConceptDt<ParticipantTypeEnum> addParticipantType(ParticipantTypeEnum theValue) {
881                BoundCodeableConceptDt<ParticipantTypeEnum> retVal = new BoundCodeableConceptDt<ParticipantTypeEnum>(ParticipantTypeEnum.VALUESET_BINDER, theValue);
882                getParticipantType().add(retVal);
883                return retVal;
884        }
885
886        /**
887         * Gets the first repetition for <b>participantType</b> (),
888         * creating it if it does not already exist.
889         *
890     * <p>
891     * <b>Definition:</b>
892     * Role of participant in the appointment
893     * </p> 
894         */
895        public BoundCodeableConceptDt<ParticipantTypeEnum> getParticipantTypeFirstRep() {
896                if (getParticipantType().size() == 0) {
897                        addParticipantType();
898                }
899                return getParticipantType().get(0);
900        }
901
902        /**
903         * Add a value for <b>participantType</b> ()
904         *
905     * <p>
906     * <b>Definition:</b>
907     * Role of participant in the appointment
908     * </p> 
909         */
910        public BoundCodeableConceptDt<ParticipantTypeEnum> addParticipantType() {
911                BoundCodeableConceptDt<ParticipantTypeEnum> retVal = new BoundCodeableConceptDt<ParticipantTypeEnum>(ParticipantTypeEnum.VALUESET_BINDER);
912                getParticipantType().add(retVal);
913                return retVal;
914        }
915
916        /**
917         * Sets the value(s), and clears any existing value(s) for <b>participantType</b> ()
918         *
919     * <p>
920     * <b>Definition:</b>
921     * Role of participant in the appointment
922     * </p> 
923         */
924        public AppointmentResponse setParticipantType(ParticipantTypeEnum theValue) {
925                getParticipantType().clear();
926                addParticipantType(theValue);
927                return this;
928        }
929
930  
931        /**
932         * Gets the value(s) for <b>actor</b> ().
933         * creating it if it does
934         * not exist. Will not return <code>null</code>.
935         *
936     * <p>
937     * <b>Definition:</b>
938     * A Person, Location/HealthcareService or Device that is participating in the appointment
939     * </p> 
940         */
941        public ResourceReferenceDt getActor() {  
942                if (myActor == null) {
943                        myActor = new ResourceReferenceDt();
944                }
945                return myActor;
946        }
947
948        /**
949         * Sets the value(s) for <b>actor</b> ()
950         *
951     * <p>
952     * <b>Definition:</b>
953     * A Person, Location/HealthcareService or Device that is participating in the appointment
954     * </p> 
955         */
956        public AppointmentResponse setActor(ResourceReferenceDt theValue) {
957                myActor = theValue;
958                return this;
959        }
960        
961        
962
963  
964        /**
965         * Gets the value(s) for <b>participantStatus</b> ().
966         * creating it if it does
967         * not exist. Will not return <code>null</code>.
968         *
969     * <p>
970     * <b>Definition:</b>
971     * Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty.
972     * </p> 
973         */
974        public BoundCodeDt<ParticipantStatusEnum> getParticipantStatusElement() {  
975                if (myParticipantStatus == null) {
976                        myParticipantStatus = new BoundCodeDt<ParticipantStatusEnum>(ParticipantStatusEnum.VALUESET_BINDER);
977                }
978                return myParticipantStatus;
979        }
980
981        
982        /**
983         * Gets the value(s) for <b>participantStatus</b> ().
984         * creating it if it does
985         * not exist. This method may return <code>null</code>.
986         *
987     * <p>
988     * <b>Definition:</b>
989     * Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty.
990     * </p> 
991         */
992        public String getParticipantStatus() {  
993                return getParticipantStatusElement().getValue();
994        }
995
996        /**
997         * Sets the value(s) for <b>participantStatus</b> ()
998         *
999     * <p>
1000     * <b>Definition:</b>
1001     * Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty.
1002     * </p> 
1003         */
1004        public AppointmentResponse setParticipantStatus(BoundCodeDt<ParticipantStatusEnum> theValue) {
1005                myParticipantStatus = theValue;
1006                return this;
1007        }
1008        
1009        
1010
1011        /**
1012         * Sets the value(s) for <b>participantStatus</b> ()
1013         *
1014     * <p>
1015     * <b>Definition:</b>
1016     * Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty.
1017     * </p> 
1018         */
1019        public AppointmentResponse setParticipantStatus(ParticipantStatusEnum theValue) {
1020                setParticipantStatus(new BoundCodeDt<ParticipantStatusEnum>(ParticipantStatusEnum.VALUESET_BINDER, theValue));
1021                
1022/*
1023                getParticipantStatusElement().setValueAsEnum(theValue);
1024*/
1025                return this;
1026        }
1027
1028  
1029        /**
1030         * Gets the value(s) for <b>comment</b> ().
1031         * creating it if it does
1032         * not exist. Will not return <code>null</code>.
1033         *
1034     * <p>
1035     * <b>Definition:</b>
1036     * Additional comments about the appointment
1037     * </p> 
1038         */
1039        public StringDt getCommentElement() {  
1040                if (myComment == null) {
1041                        myComment = new StringDt();
1042                }
1043                return myComment;
1044        }
1045
1046        
1047        /**
1048         * Gets the value(s) for <b>comment</b> ().
1049         * creating it if it does
1050         * not exist. This method may return <code>null</code>.
1051         *
1052     * <p>
1053     * <b>Definition:</b>
1054     * Additional comments about the appointment
1055     * </p> 
1056         */
1057        public String getComment() {  
1058                return getCommentElement().getValue();
1059        }
1060
1061        /**
1062         * Sets the value(s) for <b>comment</b> ()
1063         *
1064     * <p>
1065     * <b>Definition:</b>
1066     * Additional comments about the appointment
1067     * </p> 
1068         */
1069        public AppointmentResponse setComment(StringDt theValue) {
1070                myComment = theValue;
1071                return this;
1072        }
1073        
1074        
1075
1076        /**
1077         * Sets the value for <b>comment</b> ()
1078         *
1079     * <p>
1080     * <b>Definition:</b>
1081     * Additional comments about the appointment
1082     * </p> 
1083         */
1084        public AppointmentResponse setComment( String theString) {
1085                myComment = new StringDt(theString); 
1086                return this; 
1087        }
1088
1089 
1090
1091
1092    @Override
1093    public String getResourceName() {
1094        return "AppointmentResponse";
1095    }
1096    
1097    public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() {
1098        return ca.uhn.fhir.context.FhirVersionEnum.DSTU2;
1099    }
1100
1101
1102}