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