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>SupportingDocumentation</b> Resource 282 * () 283 * 284 * <p> 285 * <b>Definition:</b> 286 * This resource provides the supporting information for a process, for example clinical or financial information related to a claim or pre-authorization. 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/SupportingDocumentation">http://hl7.org/fhir/profiles/SupportingDocumentation</a> 297 * </p> 298 * 299 */ 300@ResourceDef(name="SupportingDocumentation", profile="http://hl7.org/fhir/profiles/SupportingDocumentation", id="supportingdocumentation") 301public class SupportingDocumentation extends ca.uhn.fhir.model.dstu2.resource.BaseResource 302 implements IResource { 303 304 /** 305 * Search parameter constant for <b>identifier</b> 306 * <p> 307 * Description: <b>The business identifier of the Eligibility</b><br> 308 * Type: <b>token</b><br> 309 * Path: <b>SupportingDocumentation.identifier</b><br> 310 * </p> 311 */ 312 @SearchParamDefinition(name="identifier", path="SupportingDocumentation.identifier", description="The business identifier of the Eligibility", type="token" ) 313 public static final String SP_IDENTIFIER = "identifier"; 314 315 /** 316 * <b>Fluent Client</b> search parameter constant for <b>identifier</b> 317 * <p> 318 * Description: <b>The business identifier of the Eligibility</b><br> 319 * Type: <b>token</b><br> 320 * Path: <b>SupportingDocumentation.identifier</b><br> 321 * </p> 322 */ 323 public static final TokenClientParam IDENTIFIER = new TokenClientParam(SP_IDENTIFIER); 324 325 /** 326 * Search parameter constant for <b>author</b> 327 * <p> 328 * Description: <b>The person who generated this resource</b><br> 329 * Type: <b>reference</b><br> 330 * Path: <b>SupportingDocumentation.author</b><br> 331 * </p> 332 */ 333 @SearchParamDefinition(name="author", path="SupportingDocumentation.author", description="The person who generated this resource", type="reference" ) 334 public static final String SP_AUTHOR = "author"; 335 336 /** 337 * <b>Fluent Client</b> search parameter constant for <b>author</b> 338 * <p> 339 * Description: <b>The person who generated this resource</b><br> 340 * Type: <b>reference</b><br> 341 * Path: <b>SupportingDocumentation.author</b><br> 342 * </p> 343 */ 344 public static final ReferenceClientParam AUTHOR = new ReferenceClientParam(SP_AUTHOR); 345 346 /** 347 * Search parameter constant for <b>subject</b> 348 * <p> 349 * Description: <b>The patient to whom the documents refer</b><br> 350 * Type: <b>reference</b><br> 351 * Path: <b>SupportingDocumentation.subject</b><br> 352 * </p> 353 */ 354 @SearchParamDefinition(name="subject", path="SupportingDocumentation.subject", description="The patient to whom the documents refer", type="reference" ) 355 public static final String SP_SUBJECT = "subject"; 356 357 /** 358 * <b>Fluent Client</b> search parameter constant for <b>subject</b> 359 * <p> 360 * Description: <b>The patient to whom the documents refer</b><br> 361 * Type: <b>reference</b><br> 362 * Path: <b>SupportingDocumentation.subject</b><br> 363 * </p> 364 */ 365 public static final ReferenceClientParam SUBJECT = new ReferenceClientParam(SP_SUBJECT); 366 367 /** 368 * Search parameter constant for <b>patient</b> 369 * <p> 370 * Description: <b>The patient to whom the documents refer</b><br> 371 * Type: <b>reference</b><br> 372 * Path: <b>SupportingDocumentation.subject</b><br> 373 * </p> 374 */ 375 @SearchParamDefinition(name="patient", path="SupportingDocumentation.subject", description="The patient to whom the documents refer", type="reference" ) 376 public static final String SP_PATIENT = "patient"; 377 378 /** 379 * <b>Fluent Client</b> search parameter constant for <b>patient</b> 380 * <p> 381 * Description: <b>The patient to whom the documents refer</b><br> 382 * Type: <b>reference</b><br> 383 * Path: <b>SupportingDocumentation.subject</b><br> 384 * </p> 385 */ 386 public static final ReferenceClientParam PATIENT = new ReferenceClientParam(SP_PATIENT); 387 388 389 /** 390 * Constant for fluent queries to be used to add include statements. Specifies 391 * the path value of "<b>SupportingDocumentation:author</b>". 392 */ 393 public static final Include INCLUDE_AUTHOR = new Include("SupportingDocumentation:author"); 394 395 /** 396 * Constant for fluent queries to be used to add include statements. Specifies 397 * the path value of "<b>SupportingDocumentation:patient</b>". 398 */ 399 public static final Include INCLUDE_PATIENT = new Include("SupportingDocumentation:patient"); 400 401 /** 402 * Constant for fluent queries to be used to add include statements. Specifies 403 * the path value of "<b>SupportingDocumentation:subject</b>". 404 */ 405 public static final Include INCLUDE_SUBJECT = new Include("SupportingDocumentation:subject"); 406 407 408 @Child(name="identifier", type=IdentifierDt.class, order=0, min=1, max=Child.MAX_UNLIMITED, summary=false, modifier=false) 409 @Description( 410 shortDefinition="", 411 formalDefinition="The Response business identifier" 412 ) 413 private java.util.List<IdentifierDt> myIdentifier; 414 415 @Child(name="ruleset", type=CodingDt.class, order=1, min=0, max=1, summary=false, modifier=false) 416 @Description( 417 shortDefinition="", 418 formalDefinition="The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources." 419 ) 420 private CodingDt myRuleset; 421 422 @Child(name="originalRuleset", type=CodingDt.class, order=2, min=0, max=1, summary=false, modifier=false) 423 @Description( 424 shortDefinition="", 425 formalDefinition="The style (standard) and version of the original material which was converted into this resource." 426 ) 427 private CodingDt myOriginalRuleset; 428 429 @Child(name="created", type=DateTimeDt.class, order=3, min=0, max=1, summary=false, modifier=false) 430 @Description( 431 shortDefinition="", 432 formalDefinition="The date when this resource was created." 433 ) 434 private DateTimeDt myCreated; 435 436 @Child(name="target", order=4, min=0, max=1, summary=false, modifier=false, type={ 437 ca.uhn.fhir.model.dstu2.resource.Organization.class, ca.uhn.fhir.model.dstu2.resource.Practitioner.class }) 438 @Description( 439 shortDefinition="", 440 formalDefinition="The Insurer, organization or Provider who is target of the submission." 441 ) 442 private ResourceReferenceDt myTarget; 443 444 @Child(name="provider", order=5, min=0, max=1, summary=false, modifier=false, type={ 445 ca.uhn.fhir.model.dstu2.resource.Practitioner.class }) 446 @Description( 447 shortDefinition="", 448 formalDefinition="The practitioner who is responsible for the services rendered to the patient." 449 ) 450 private ResourceReferenceDt myProvider; 451 452 @Child(name="organization", order=6, min=0, max=1, summary=false, modifier=false, type={ 453 ca.uhn.fhir.model.dstu2.resource.Organization.class }) 454 @Description( 455 shortDefinition="", 456 formalDefinition="The organization which is responsible for the services rendered to the patient." 457 ) 458 private ResourceReferenceDt myOrganization; 459 460 @Child(name="request", order=7, min=0, max=1, summary=false, modifier=false, type={ 461 IResource.class }) 462 @Description( 463 shortDefinition="", 464 formalDefinition="Original request" 465 ) 466 private ResourceReferenceDt myRequest; 467 468 @Child(name="response", order=8, min=0, max=1, summary=false, modifier=false, type={ 469 IResource.class }) 470 @Description( 471 shortDefinition="", 472 formalDefinition="Original response" 473 ) 474 private ResourceReferenceDt myResponse; 475 476 @Child(name="author", order=9, min=0, max=1, summary=false, modifier=false, type={ 477 ca.uhn.fhir.model.dstu2.resource.Practitioner.class }) 478 @Description( 479 shortDefinition="", 480 formalDefinition="Person who created the submission" 481 ) 482 private ResourceReferenceDt myAuthor; 483 484 @Child(name="subject", order=10, min=0, max=1, summary=false, modifier=false, type={ 485 ca.uhn.fhir.model.dstu2.resource.Patient.class }) 486 @Description( 487 shortDefinition="", 488 formalDefinition="The patient who is directly or indirectly the subject of the supporting information." 489 ) 490 private ResourceReferenceDt mySubject; 491 492 @Child(name="detail", order=11, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) 493 @Description( 494 shortDefinition="", 495 formalDefinition="" 496 ) 497 private java.util.List<Detail> myDetail; 498 499 500 @Override 501 public boolean isEmpty() { 502 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myRuleset, myOriginalRuleset, myCreated, myTarget, myProvider, myOrganization, myRequest, myResponse, myAuthor, mySubject, myDetail); 503 } 504 505 @Override 506 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) { 507 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myRuleset, myOriginalRuleset, myCreated, myTarget, myProvider, myOrganization, myRequest, myResponse, myAuthor, mySubject, myDetail); 508 } 509 510 /** 511 * Gets the value(s) for <b>identifier</b> (). 512 * creating it if it does 513 * not exist. Will not return <code>null</code>. 514 * 515 * <p> 516 * <b>Definition:</b> 517 * The Response business identifier 518 * </p> 519 */ 520 public java.util.List<IdentifierDt> getIdentifier() { 521 if (myIdentifier == null) { 522 myIdentifier = new java.util.ArrayList<IdentifierDt>(); 523 } 524 return myIdentifier; 525 } 526 527 /** 528 * Sets the value(s) for <b>identifier</b> () 529 * 530 * <p> 531 * <b>Definition:</b> 532 * The Response business identifier 533 * </p> 534 */ 535 public SupportingDocumentation setIdentifier(java.util.List<IdentifierDt> theValue) { 536 myIdentifier = theValue; 537 return this; 538 } 539 540 541 542 /** 543 * Adds and returns a new value for <b>identifier</b> () 544 * 545 * <p> 546 * <b>Definition:</b> 547 * The Response business identifier 548 * </p> 549 */ 550 public IdentifierDt addIdentifier() { 551 IdentifierDt newType = new IdentifierDt(); 552 getIdentifier().add(newType); 553 return newType; 554 } 555 556 /** 557 * Adds a given new value for <b>identifier</b> () 558 * 559 * <p> 560 * <b>Definition:</b> 561 * The Response business identifier 562 * </p> 563 * @param theValue The identifier to add (must not be <code>null</code>) 564 */ 565 public SupportingDocumentation addIdentifier(IdentifierDt theValue) { 566 if (theValue == null) { 567 throw new NullPointerException("theValue must not be null"); 568 } 569 getIdentifier().add(theValue); 570 return this; 571 } 572 573 /** 574 * Gets the first repetition for <b>identifier</b> (), 575 * creating it if it does not already exist. 576 * 577 * <p> 578 * <b>Definition:</b> 579 * The Response business identifier 580 * </p> 581 */ 582 public IdentifierDt getIdentifierFirstRep() { 583 if (getIdentifier().isEmpty()) { 584 return addIdentifier(); 585 } 586 return getIdentifier().get(0); 587 } 588 589 /** 590 * Gets the value(s) for <b>ruleset</b> (). 591 * creating it if it does 592 * not exist. Will not return <code>null</code>. 593 * 594 * <p> 595 * <b>Definition:</b> 596 * The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. 597 * </p> 598 */ 599 public CodingDt getRuleset() { 600 if (myRuleset == null) { 601 myRuleset = new CodingDt(); 602 } 603 return myRuleset; 604 } 605 606 /** 607 * Sets the value(s) for <b>ruleset</b> () 608 * 609 * <p> 610 * <b>Definition:</b> 611 * The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. 612 * </p> 613 */ 614 public SupportingDocumentation setRuleset(CodingDt theValue) { 615 myRuleset = theValue; 616 return this; 617 } 618 619 620 621 622 /** 623 * Gets the value(s) for <b>originalRuleset</b> (). 624 * creating it if it does 625 * not exist. Will not return <code>null</code>. 626 * 627 * <p> 628 * <b>Definition:</b> 629 * The style (standard) and version of the original material which was converted into this resource. 630 * </p> 631 */ 632 public CodingDt getOriginalRuleset() { 633 if (myOriginalRuleset == null) { 634 myOriginalRuleset = new CodingDt(); 635 } 636 return myOriginalRuleset; 637 } 638 639 /** 640 * Sets the value(s) for <b>originalRuleset</b> () 641 * 642 * <p> 643 * <b>Definition:</b> 644 * The style (standard) and version of the original material which was converted into this resource. 645 * </p> 646 */ 647 public SupportingDocumentation setOriginalRuleset(CodingDt theValue) { 648 myOriginalRuleset = theValue; 649 return this; 650 } 651 652 653 654 655 /** 656 * Gets the value(s) for <b>created</b> (). 657 * creating it if it does 658 * not exist. Will not return <code>null</code>. 659 * 660 * <p> 661 * <b>Definition:</b> 662 * The date when this resource was created. 663 * </p> 664 */ 665 public DateTimeDt getCreatedElement() { 666 if (myCreated == null) { 667 myCreated = new DateTimeDt(); 668 } 669 return myCreated; 670 } 671 672 673 /** 674 * Gets the value(s) for <b>created</b> (). 675 * creating it if it does 676 * not exist. This method may return <code>null</code>. 677 * 678 * <p> 679 * <b>Definition:</b> 680 * The date when this resource was created. 681 * </p> 682 */ 683 public Date getCreated() { 684 return getCreatedElement().getValue(); 685 } 686 687 /** 688 * Sets the value(s) for <b>created</b> () 689 * 690 * <p> 691 * <b>Definition:</b> 692 * The date when this resource was created. 693 * </p> 694 */ 695 public SupportingDocumentation setCreated(DateTimeDt theValue) { 696 myCreated = theValue; 697 return this; 698 } 699 700 701 702 /** 703 * Sets the value for <b>created</b> () 704 * 705 * <p> 706 * <b>Definition:</b> 707 * The date when this resource was created. 708 * </p> 709 */ 710 public SupportingDocumentation setCreatedWithSecondsPrecision( Date theDate) { 711 myCreated = new DateTimeDt(theDate); 712 return this; 713 } 714 715 /** 716 * Sets the value for <b>created</b> () 717 * 718 * <p> 719 * <b>Definition:</b> 720 * The date when this resource was created. 721 * </p> 722 */ 723 public SupportingDocumentation setCreated( Date theDate, TemporalPrecisionEnum thePrecision) { 724 myCreated = new DateTimeDt(theDate, thePrecision); 725 return this; 726 } 727 728 729 /** 730 * Gets the value(s) for <b>target</b> (). 731 * creating it if it does 732 * not exist. Will not return <code>null</code>. 733 * 734 * <p> 735 * <b>Definition:</b> 736 * The Insurer, organization or Provider who is target of the submission. 737 * </p> 738 */ 739 public ResourceReferenceDt getTarget() { 740 if (myTarget == null) { 741 myTarget = new ResourceReferenceDt(); 742 } 743 return myTarget; 744 } 745 746 /** 747 * Sets the value(s) for <b>target</b> () 748 * 749 * <p> 750 * <b>Definition:</b> 751 * The Insurer, organization or Provider who is target of the submission. 752 * </p> 753 */ 754 public SupportingDocumentation setTarget(ResourceReferenceDt theValue) { 755 myTarget = theValue; 756 return this; 757 } 758 759 760 761 762 /** 763 * Gets the value(s) for <b>provider</b> (). 764 * creating it if it does 765 * not exist. Will not return <code>null</code>. 766 * 767 * <p> 768 * <b>Definition:</b> 769 * The practitioner who is responsible for the services rendered to the patient. 770 * </p> 771 */ 772 public ResourceReferenceDt getProvider() { 773 if (myProvider == null) { 774 myProvider = new ResourceReferenceDt(); 775 } 776 return myProvider; 777 } 778 779 /** 780 * Sets the value(s) for <b>provider</b> () 781 * 782 * <p> 783 * <b>Definition:</b> 784 * The practitioner who is responsible for the services rendered to the patient. 785 * </p> 786 */ 787 public SupportingDocumentation setProvider(ResourceReferenceDt theValue) { 788 myProvider = theValue; 789 return this; 790 } 791 792 793 794 795 /** 796 * Gets the value(s) for <b>organization</b> (). 797 * creating it if it does 798 * not exist. Will not return <code>null</code>. 799 * 800 * <p> 801 * <b>Definition:</b> 802 * The organization which is responsible for the services rendered to the patient. 803 * </p> 804 */ 805 public ResourceReferenceDt getOrganization() { 806 if (myOrganization == null) { 807 myOrganization = new ResourceReferenceDt(); 808 } 809 return myOrganization; 810 } 811 812 /** 813 * Sets the value(s) for <b>organization</b> () 814 * 815 * <p> 816 * <b>Definition:</b> 817 * The organization which is responsible for the services rendered to the patient. 818 * </p> 819 */ 820 public SupportingDocumentation setOrganization(ResourceReferenceDt theValue) { 821 myOrganization = theValue; 822 return this; 823 } 824 825 826 827 828 /** 829 * Gets the value(s) for <b>request</b> (). 830 * creating it if it does 831 * not exist. Will not return <code>null</code>. 832 * 833 * <p> 834 * <b>Definition:</b> 835 * Original request 836 * </p> 837 */ 838 public ResourceReferenceDt getRequest() { 839 if (myRequest == null) { 840 myRequest = new ResourceReferenceDt(); 841 } 842 return myRequest; 843 } 844 845 /** 846 * Sets the value(s) for <b>request</b> () 847 * 848 * <p> 849 * <b>Definition:</b> 850 * Original request 851 * </p> 852 */ 853 public SupportingDocumentation setRequest(ResourceReferenceDt theValue) { 854 myRequest = theValue; 855 return this; 856 } 857 858 859 860 861 /** 862 * Gets the value(s) for <b>response</b> (). 863 * creating it if it does 864 * not exist. Will not return <code>null</code>. 865 * 866 * <p> 867 * <b>Definition:</b> 868 * Original response 869 * </p> 870 */ 871 public ResourceReferenceDt getResponse() { 872 if (myResponse == null) { 873 myResponse = new ResourceReferenceDt(); 874 } 875 return myResponse; 876 } 877 878 /** 879 * Sets the value(s) for <b>response</b> () 880 * 881 * <p> 882 * <b>Definition:</b> 883 * Original response 884 * </p> 885 */ 886 public SupportingDocumentation setResponse(ResourceReferenceDt theValue) { 887 myResponse = theValue; 888 return this; 889 } 890 891 892 893 894 /** 895 * Gets the value(s) for <b>author</b> (). 896 * creating it if it does 897 * not exist. Will not return <code>null</code>. 898 * 899 * <p> 900 * <b>Definition:</b> 901 * Person who created the submission 902 * </p> 903 */ 904 public ResourceReferenceDt getAuthor() { 905 if (myAuthor == null) { 906 myAuthor = new ResourceReferenceDt(); 907 } 908 return myAuthor; 909 } 910 911 /** 912 * Sets the value(s) for <b>author</b> () 913 * 914 * <p> 915 * <b>Definition:</b> 916 * Person who created the submission 917 * </p> 918 */ 919 public SupportingDocumentation setAuthor(ResourceReferenceDt theValue) { 920 myAuthor = theValue; 921 return this; 922 } 923 924 925 926 927 /** 928 * Gets the value(s) for <b>subject</b> (). 929 * creating it if it does 930 * not exist. Will not return <code>null</code>. 931 * 932 * <p> 933 * <b>Definition:</b> 934 * The patient who is directly or indirectly the subject of the supporting information. 935 * </p> 936 */ 937 public ResourceReferenceDt getSubject() { 938 if (mySubject == null) { 939 mySubject = new ResourceReferenceDt(); 940 } 941 return mySubject; 942 } 943 944 /** 945 * Sets the value(s) for <b>subject</b> () 946 * 947 * <p> 948 * <b>Definition:</b> 949 * The patient who is directly or indirectly the subject of the supporting information. 950 * </p> 951 */ 952 public SupportingDocumentation setSubject(ResourceReferenceDt theValue) { 953 mySubject = theValue; 954 return this; 955 } 956 957 958 959 960 /** 961 * Gets the value(s) for <b>detail</b> (). 962 * creating it if it does 963 * not exist. Will not return <code>null</code>. 964 * 965 * <p> 966 * <b>Definition:</b> 967 * 968 * </p> 969 */ 970 public java.util.List<Detail> getDetail() { 971 if (myDetail == null) { 972 myDetail = new java.util.ArrayList<Detail>(); 973 } 974 return myDetail; 975 } 976 977 /** 978 * Sets the value(s) for <b>detail</b> () 979 * 980 * <p> 981 * <b>Definition:</b> 982 * 983 * </p> 984 */ 985 public SupportingDocumentation setDetail(java.util.List<Detail> theValue) { 986 myDetail = theValue; 987 return this; 988 } 989 990 991 992 /** 993 * Adds and returns a new value for <b>detail</b> () 994 * 995 * <p> 996 * <b>Definition:</b> 997 * 998 * </p> 999 */ 1000 public Detail addDetail() { 1001 Detail newType = new Detail(); 1002 getDetail().add(newType); 1003 return newType; 1004 } 1005 1006 /** 1007 * Adds a given new value for <b>detail</b> () 1008 * 1009 * <p> 1010 * <b>Definition:</b> 1011 * 1012 * </p> 1013 * @param theValue The detail to add (must not be <code>null</code>) 1014 */ 1015 public SupportingDocumentation addDetail(Detail theValue) { 1016 if (theValue == null) { 1017 throw new NullPointerException("theValue must not be null"); 1018 } 1019 getDetail().add(theValue); 1020 return this; 1021 } 1022 1023 /** 1024 * Gets the first repetition for <b>detail</b> (), 1025 * creating it if it does not already exist. 1026 * 1027 * <p> 1028 * <b>Definition:</b> 1029 * 1030 * </p> 1031 */ 1032 public Detail getDetailFirstRep() { 1033 if (getDetail().isEmpty()) { 1034 return addDetail(); 1035 } 1036 return getDetail().get(0); 1037 } 1038 1039 /** 1040 * Block class for child element: <b>SupportingDocumentation.detail</b> () 1041 * 1042 * <p> 1043 * <b>Definition:</b> 1044 * 1045 * </p> 1046 */ 1047 @Block() 1048 public static class Detail 1049 extends BaseIdentifiableElement implements IResourceBlock { 1050 1051 @Child(name="linkId", type=IntegerDt.class, order=0, min=1, max=1, summary=false, modifier=false) 1052 @Description( 1053 shortDefinition="", 1054 formalDefinition="A link Id for the response to reference." 1055 ) 1056 private IntegerDt myLinkId; 1057 1058 @Child(name="content", order=1, min=1, max=1, summary=false, modifier=false, type={ 1059 IResource.class, AttachmentDt.class }) 1060 @Description( 1061 shortDefinition="", 1062 formalDefinition="The attached content." 1063 ) 1064 private IDatatype myContent; 1065 1066 @Child(name="dateTime", type=DateTimeDt.class, order=2, min=0, max=1, summary=false, modifier=false) 1067 @Description( 1068 shortDefinition="", 1069 formalDefinition="The date and optionally time when the material was created." 1070 ) 1071 private DateTimeDt myDateTime; 1072 1073 1074 @Override 1075 public boolean isEmpty() { 1076 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myLinkId, myContent, myDateTime); 1077 } 1078 1079 @Override 1080 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) { 1081 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myLinkId, myContent, myDateTime); 1082 } 1083 1084 /** 1085 * Gets the value(s) for <b>linkId</b> (). 1086 * creating it if it does 1087 * not exist. Will not return <code>null</code>. 1088 * 1089 * <p> 1090 * <b>Definition:</b> 1091 * A link Id for the response to reference. 1092 * </p> 1093 */ 1094 public IntegerDt getLinkIdElement() { 1095 if (myLinkId == null) { 1096 myLinkId = new IntegerDt(); 1097 } 1098 return myLinkId; 1099 } 1100 1101 1102 /** 1103 * Gets the value(s) for <b>linkId</b> (). 1104 * creating it if it does 1105 * not exist. This method may return <code>null</code>. 1106 * 1107 * <p> 1108 * <b>Definition:</b> 1109 * A link Id for the response to reference. 1110 * </p> 1111 */ 1112 public Integer getLinkId() { 1113 return getLinkIdElement().getValue(); 1114 } 1115 1116 /** 1117 * Sets the value(s) for <b>linkId</b> () 1118 * 1119 * <p> 1120 * <b>Definition:</b> 1121 * A link Id for the response to reference. 1122 * </p> 1123 */ 1124 public Detail setLinkId(IntegerDt theValue) { 1125 myLinkId = theValue; 1126 return this; 1127 } 1128 1129 1130 1131 /** 1132 * Sets the value for <b>linkId</b> () 1133 * 1134 * <p> 1135 * <b>Definition:</b> 1136 * A link Id for the response to reference. 1137 * </p> 1138 */ 1139 public Detail setLinkId( int theInteger) { 1140 myLinkId = new IntegerDt(theInteger); 1141 return this; 1142 } 1143 1144 1145 /** 1146 * Gets the value(s) for <b>content[x]</b> (). 1147 * creating it if it does 1148 * not exist. Will not return <code>null</code>. 1149 * 1150 * <p> 1151 * <b>Definition:</b> 1152 * The attached content. 1153 * </p> 1154 */ 1155 public IDatatype getContent() { 1156 return myContent; 1157 } 1158 1159 /** 1160 * Sets the value(s) for <b>content[x]</b> () 1161 * 1162 * <p> 1163 * <b>Definition:</b> 1164 * The attached content. 1165 * </p> 1166 */ 1167 public Detail setContent(IDatatype theValue) { 1168 myContent = theValue; 1169 return this; 1170 } 1171 1172 1173 1174 1175 /** 1176 * Gets the value(s) for <b>dateTime</b> (). 1177 * creating it if it does 1178 * not exist. Will not return <code>null</code>. 1179 * 1180 * <p> 1181 * <b>Definition:</b> 1182 * The date and optionally time when the material was created. 1183 * </p> 1184 */ 1185 public DateTimeDt getDateTimeElement() { 1186 if (myDateTime == null) { 1187 myDateTime = new DateTimeDt(); 1188 } 1189 return myDateTime; 1190 } 1191 1192 1193 /** 1194 * Gets the value(s) for <b>dateTime</b> (). 1195 * creating it if it does 1196 * not exist. This method may return <code>null</code>. 1197 * 1198 * <p> 1199 * <b>Definition:</b> 1200 * The date and optionally time when the material was created. 1201 * </p> 1202 */ 1203 public Date getDateTime() { 1204 return getDateTimeElement().getValue(); 1205 } 1206 1207 /** 1208 * Sets the value(s) for <b>dateTime</b> () 1209 * 1210 * <p> 1211 * <b>Definition:</b> 1212 * The date and optionally time when the material was created. 1213 * </p> 1214 */ 1215 public Detail setDateTime(DateTimeDt theValue) { 1216 myDateTime = theValue; 1217 return this; 1218 } 1219 1220 1221 1222 /** 1223 * Sets the value for <b>dateTime</b> () 1224 * 1225 * <p> 1226 * <b>Definition:</b> 1227 * The date and optionally time when the material was created. 1228 * </p> 1229 */ 1230 public Detail setDateTimeWithSecondsPrecision( Date theDate) { 1231 myDateTime = new DateTimeDt(theDate); 1232 return this; 1233 } 1234 1235 /** 1236 * Sets the value for <b>dateTime</b> () 1237 * 1238 * <p> 1239 * <b>Definition:</b> 1240 * The date and optionally time when the material was created. 1241 * </p> 1242 */ 1243 public Detail setDateTime( Date theDate, TemporalPrecisionEnum thePrecision) { 1244 myDateTime = new DateTimeDt(theDate, thePrecision); 1245 return this; 1246 } 1247 1248 1249 1250 1251 } 1252 1253 1254 1255 1256 @Override 1257 public String getResourceName() { 1258 return "SupportingDocumentation"; 1259 } 1260 1261 public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() { 1262 return ca.uhn.fhir.context.FhirVersionEnum.DSTU2; 1263 } 1264 1265 1266}