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