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