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>PaymentReconciliation</b> Resource 282 * () 283 * 284 * <p> 285 * <b>Definition:</b> 286 * This resource provides payment details and claim references supporting a bulk payment. 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/PaymentReconciliation">http://hl7.org/fhir/profiles/PaymentReconciliation</a> 297 * </p> 298 * 299 */ 300@ResourceDef(name="PaymentReconciliation", profile="http://hl7.org/fhir/profiles/PaymentReconciliation", id="paymentreconciliation") 301public class PaymentReconciliation 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>PaymentReconciliation.identifier</b><br> 310 * </p> 311 */ 312 @SearchParamDefinition(name="identifier", path="PaymentReconciliation.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>PaymentReconciliation.identifier</b><br> 321 * </p> 322 */ 323 public static final TokenClientParam IDENTIFIER = new TokenClientParam(SP_IDENTIFIER); 324 325 326 327 @Child(name="identifier", type=IdentifierDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) 328 @Description( 329 shortDefinition="", 330 formalDefinition="The Response business identifier" 331 ) 332 private java.util.List<IdentifierDt> myIdentifier; 333 334 @Child(name="request", order=1, min=0, max=1, summary=false, modifier=false, type={ 335 ca.uhn.fhir.model.dstu2.resource.ProcessRequest.class }) 336 @Description( 337 shortDefinition="", 338 formalDefinition="Original request resource reference" 339 ) 340 private ResourceReferenceDt myRequest; 341 342 @Child(name="outcome", type=CodeDt.class, order=2, min=0, max=1, summary=false, modifier=false) 343 @Description( 344 shortDefinition="", 345 formalDefinition="Transaction status: error, complete" 346 ) 347 @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/remittance-outcome") 348 private BoundCodeDt<RemittanceOutcomeEnum> myOutcome; 349 350 @Child(name="disposition", type=StringDt.class, order=3, min=0, max=1, summary=false, modifier=false) 351 @Description( 352 shortDefinition="", 353 formalDefinition="A description of the status of the adjudication." 354 ) 355 private StringDt myDisposition; 356 357 @Child(name="ruleset", type=CodingDt.class, order=4, min=0, max=1, summary=false, modifier=false) 358 @Description( 359 shortDefinition="", 360 formalDefinition="The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources." 361 ) 362 private CodingDt myRuleset; 363 364 @Child(name="originalRuleset", type=CodingDt.class, order=5, min=0, max=1, summary=false, modifier=false) 365 @Description( 366 shortDefinition="", 367 formalDefinition="The style (standard) and version of the original material which was converted into this resource." 368 ) 369 private CodingDt myOriginalRuleset; 370 371 @Child(name="created", type=DateTimeDt.class, order=6, min=0, max=1, summary=false, modifier=false) 372 @Description( 373 shortDefinition="", 374 formalDefinition="The date when the enclosed suite of services were performed or completed" 375 ) 376 private DateTimeDt myCreated; 377 378 @Child(name="period", type=PeriodDt.class, order=7, min=0, max=1, summary=false, modifier=false) 379 @Description( 380 shortDefinition="", 381 formalDefinition="The period of time for which payments have been gathered into this bulk payment for settlement." 382 ) 383 private PeriodDt myPeriod; 384 385 @Child(name="organization", order=8, min=0, max=1, summary=false, modifier=false, type={ 386 ca.uhn.fhir.model.dstu2.resource.Organization.class }) 387 @Description( 388 shortDefinition="", 389 formalDefinition="The Insurer who produced this adjudicated response." 390 ) 391 private ResourceReferenceDt myOrganization; 392 393 @Child(name="requestProvider", order=9, min=0, max=1, summary=false, modifier=false, type={ 394 ca.uhn.fhir.model.dstu2.resource.Practitioner.class }) 395 @Description( 396 shortDefinition="", 397 formalDefinition="The practitioner who is responsible for the services rendered to the patient." 398 ) 399 private ResourceReferenceDt myRequestProvider; 400 401 @Child(name="requestOrganization", order=10, min=0, max=1, summary=false, modifier=false, type={ 402 ca.uhn.fhir.model.dstu2.resource.Organization.class }) 403 @Description( 404 shortDefinition="", 405 formalDefinition="The organization which is responsible for the services rendered to the patient." 406 ) 407 private ResourceReferenceDt myRequestOrganization; 408 409 @Child(name="detail", order=11, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) 410 @Description( 411 shortDefinition="", 412 formalDefinition="List of individual settlement amounts and the corresponding transaction." 413 ) 414 private java.util.List<Detail> myDetail; 415 416 @Child(name="form", type=CodingDt.class, order=12, min=0, max=1, summary=false, modifier=false) 417 @Description( 418 shortDefinition="", 419 formalDefinition="The form to be used for printing the content." 420 ) 421 private CodingDt myForm; 422 423 @Child(name="total", type=MoneyDt.class, order=13, min=1, max=1, summary=false, modifier=false) 424 @Description( 425 shortDefinition="", 426 formalDefinition="Total payment amount." 427 ) 428 private MoneyDt myTotal; 429 430 @Child(name="note", order=14, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) 431 @Description( 432 shortDefinition="", 433 formalDefinition="Suite of notes" 434 ) 435 private java.util.List<Note> myNote; 436 437 438 @Override 439 public boolean isEmpty() { 440 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myRequest, myOutcome, myDisposition, myRuleset, myOriginalRuleset, myCreated, myPeriod, myOrganization, myRequestProvider, myRequestOrganization, myDetail, myForm, myTotal, myNote); 441 } 442 443 @Override 444 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) { 445 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myRequest, myOutcome, myDisposition, myRuleset, myOriginalRuleset, myCreated, myPeriod, myOrganization, myRequestProvider, myRequestOrganization, myDetail, myForm, myTotal, myNote); 446 } 447 448 /** 449 * Gets the value(s) for <b>identifier</b> (). 450 * creating it if it does 451 * not exist. Will not return <code>null</code>. 452 * 453 * <p> 454 * <b>Definition:</b> 455 * The Response business identifier 456 * </p> 457 */ 458 public java.util.List<IdentifierDt> getIdentifier() { 459 if (myIdentifier == null) { 460 myIdentifier = new java.util.ArrayList<IdentifierDt>(); 461 } 462 return myIdentifier; 463 } 464 465 /** 466 * Sets the value(s) for <b>identifier</b> () 467 * 468 * <p> 469 * <b>Definition:</b> 470 * The Response business identifier 471 * </p> 472 */ 473 public PaymentReconciliation setIdentifier(java.util.List<IdentifierDt> theValue) { 474 myIdentifier = theValue; 475 return this; 476 } 477 478 479 480 /** 481 * Adds and returns a new value for <b>identifier</b> () 482 * 483 * <p> 484 * <b>Definition:</b> 485 * The Response business identifier 486 * </p> 487 */ 488 public IdentifierDt addIdentifier() { 489 IdentifierDt newType = new IdentifierDt(); 490 getIdentifier().add(newType); 491 return newType; 492 } 493 494 /** 495 * Adds a given new value for <b>identifier</b> () 496 * 497 * <p> 498 * <b>Definition:</b> 499 * The Response business identifier 500 * </p> 501 * @param theValue The identifier to add (must not be <code>null</code>) 502 */ 503 public PaymentReconciliation addIdentifier(IdentifierDt theValue) { 504 if (theValue == null) { 505 throw new NullPointerException("theValue must not be null"); 506 } 507 getIdentifier().add(theValue); 508 return this; 509 } 510 511 /** 512 * Gets the first repetition for <b>identifier</b> (), 513 * creating it if it does not already exist. 514 * 515 * <p> 516 * <b>Definition:</b> 517 * The Response business identifier 518 * </p> 519 */ 520 public IdentifierDt getIdentifierFirstRep() { 521 if (getIdentifier().isEmpty()) { 522 return addIdentifier(); 523 } 524 return getIdentifier().get(0); 525 } 526 527 /** 528 * Gets the value(s) for <b>request</b> (). 529 * creating it if it does 530 * not exist. Will not return <code>null</code>. 531 * 532 * <p> 533 * <b>Definition:</b> 534 * Original request resource reference 535 * </p> 536 */ 537 public ResourceReferenceDt getRequest() { 538 if (myRequest == null) { 539 myRequest = new ResourceReferenceDt(); 540 } 541 return myRequest; 542 } 543 544 /** 545 * Sets the value(s) for <b>request</b> () 546 * 547 * <p> 548 * <b>Definition:</b> 549 * Original request resource reference 550 * </p> 551 */ 552 public PaymentReconciliation setRequest(ResourceReferenceDt theValue) { 553 myRequest = theValue; 554 return this; 555 } 556 557 558 559 560 /** 561 * Gets the value(s) for <b>outcome</b> (). 562 * creating it if it does 563 * not exist. Will not return <code>null</code>. 564 * 565 * <p> 566 * <b>Definition:</b> 567 * Transaction status: error, complete 568 * </p> 569 */ 570 public BoundCodeDt<RemittanceOutcomeEnum> getOutcomeElement() { 571 if (myOutcome == null) { 572 myOutcome = new BoundCodeDt<RemittanceOutcomeEnum>(RemittanceOutcomeEnum.VALUESET_BINDER); 573 } 574 return myOutcome; 575 } 576 577 578 /** 579 * Gets the value(s) for <b>outcome</b> (). 580 * creating it if it does 581 * not exist. This method may return <code>null</code>. 582 * 583 * <p> 584 * <b>Definition:</b> 585 * Transaction status: error, complete 586 * </p> 587 */ 588 public String getOutcome() { 589 return getOutcomeElement().getValue(); 590 } 591 592 /** 593 * Sets the value(s) for <b>outcome</b> () 594 * 595 * <p> 596 * <b>Definition:</b> 597 * Transaction status: error, complete 598 * </p> 599 */ 600 public PaymentReconciliation setOutcome(BoundCodeDt<RemittanceOutcomeEnum> theValue) { 601 myOutcome = theValue; 602 return this; 603 } 604 605 606 607 /** 608 * Sets the value(s) for <b>outcome</b> () 609 * 610 * <p> 611 * <b>Definition:</b> 612 * Transaction status: error, complete 613 * </p> 614 */ 615 public PaymentReconciliation setOutcome(RemittanceOutcomeEnum theValue) { 616 setOutcome(new BoundCodeDt<RemittanceOutcomeEnum>(RemittanceOutcomeEnum.VALUESET_BINDER, theValue)); 617 618/* 619 getOutcomeElement().setValueAsEnum(theValue); 620*/ 621 return this; 622 } 623 624 625 /** 626 * Gets the value(s) for <b>disposition</b> (). 627 * creating it if it does 628 * not exist. Will not return <code>null</code>. 629 * 630 * <p> 631 * <b>Definition:</b> 632 * A description of the status of the adjudication. 633 * </p> 634 */ 635 public StringDt getDispositionElement() { 636 if (myDisposition == null) { 637 myDisposition = new StringDt(); 638 } 639 return myDisposition; 640 } 641 642 643 /** 644 * Gets the value(s) for <b>disposition</b> (). 645 * creating it if it does 646 * not exist. This method may return <code>null</code>. 647 * 648 * <p> 649 * <b>Definition:</b> 650 * A description of the status of the adjudication. 651 * </p> 652 */ 653 public String getDisposition() { 654 return getDispositionElement().getValue(); 655 } 656 657 /** 658 * Sets the value(s) for <b>disposition</b> () 659 * 660 * <p> 661 * <b>Definition:</b> 662 * A description of the status of the adjudication. 663 * </p> 664 */ 665 public PaymentReconciliation setDisposition(StringDt theValue) { 666 myDisposition = theValue; 667 return this; 668 } 669 670 671 672 /** 673 * Sets the value for <b>disposition</b> () 674 * 675 * <p> 676 * <b>Definition:</b> 677 * A description of the status of the adjudication. 678 * </p> 679 */ 680 public PaymentReconciliation setDisposition( String theString) { 681 myDisposition = new StringDt(theString); 682 return this; 683 } 684 685 686 /** 687 * Gets the value(s) for <b>ruleset</b> (). 688 * creating it if it does 689 * not exist. Will not return <code>null</code>. 690 * 691 * <p> 692 * <b>Definition:</b> 693 * The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. 694 * </p> 695 */ 696 public CodingDt getRuleset() { 697 if (myRuleset == null) { 698 myRuleset = new CodingDt(); 699 } 700 return myRuleset; 701 } 702 703 /** 704 * Sets the value(s) for <b>ruleset</b> () 705 * 706 * <p> 707 * <b>Definition:</b> 708 * The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. 709 * </p> 710 */ 711 public PaymentReconciliation setRuleset(CodingDt theValue) { 712 myRuleset = theValue; 713 return this; 714 } 715 716 717 718 719 /** 720 * Gets the value(s) for <b>originalRuleset</b> (). 721 * creating it if it does 722 * not exist. Will not return <code>null</code>. 723 * 724 * <p> 725 * <b>Definition:</b> 726 * The style (standard) and version of the original material which was converted into this resource. 727 * </p> 728 */ 729 public CodingDt getOriginalRuleset() { 730 if (myOriginalRuleset == null) { 731 myOriginalRuleset = new CodingDt(); 732 } 733 return myOriginalRuleset; 734 } 735 736 /** 737 * Sets the value(s) for <b>originalRuleset</b> () 738 * 739 * <p> 740 * <b>Definition:</b> 741 * The style (standard) and version of the original material which was converted into this resource. 742 * </p> 743 */ 744 public PaymentReconciliation setOriginalRuleset(CodingDt theValue) { 745 myOriginalRuleset = theValue; 746 return this; 747 } 748 749 750 751 752 /** 753 * Gets the value(s) for <b>created</b> (). 754 * creating it if it does 755 * not exist. Will not return <code>null</code>. 756 * 757 * <p> 758 * <b>Definition:</b> 759 * The date when the enclosed suite of services were performed or completed 760 * </p> 761 */ 762 public DateTimeDt getCreatedElement() { 763 if (myCreated == null) { 764 myCreated = new DateTimeDt(); 765 } 766 return myCreated; 767 } 768 769 770 /** 771 * Gets the value(s) for <b>created</b> (). 772 * creating it if it does 773 * not exist. This method may return <code>null</code>. 774 * 775 * <p> 776 * <b>Definition:</b> 777 * The date when the enclosed suite of services were performed or completed 778 * </p> 779 */ 780 public Date getCreated() { 781 return getCreatedElement().getValue(); 782 } 783 784 /** 785 * Sets the value(s) for <b>created</b> () 786 * 787 * <p> 788 * <b>Definition:</b> 789 * The date when the enclosed suite of services were performed or completed 790 * </p> 791 */ 792 public PaymentReconciliation setCreated(DateTimeDt theValue) { 793 myCreated = theValue; 794 return this; 795 } 796 797 798 799 /** 800 * Sets the value for <b>created</b> () 801 * 802 * <p> 803 * <b>Definition:</b> 804 * The date when the enclosed suite of services were performed or completed 805 * </p> 806 */ 807 public PaymentReconciliation setCreated( Date theDate, TemporalPrecisionEnum thePrecision) { 808 myCreated = new DateTimeDt(theDate, thePrecision); 809 return this; 810 } 811 812 /** 813 * Sets the value for <b>created</b> () 814 * 815 * <p> 816 * <b>Definition:</b> 817 * The date when the enclosed suite of services were performed or completed 818 * </p> 819 */ 820 public PaymentReconciliation setCreatedWithSecondsPrecision( Date theDate) { 821 myCreated = new DateTimeDt(theDate); 822 return this; 823 } 824 825 826 /** 827 * Gets the value(s) for <b>period</b> (). 828 * creating it if it does 829 * not exist. Will not return <code>null</code>. 830 * 831 * <p> 832 * <b>Definition:</b> 833 * The period of time for which payments have been gathered into this bulk payment for settlement. 834 * </p> 835 */ 836 public PeriodDt getPeriod() { 837 if (myPeriod == null) { 838 myPeriod = new PeriodDt(); 839 } 840 return myPeriod; 841 } 842 843 /** 844 * Sets the value(s) for <b>period</b> () 845 * 846 * <p> 847 * <b>Definition:</b> 848 * The period of time for which payments have been gathered into this bulk payment for settlement. 849 * </p> 850 */ 851 public PaymentReconciliation setPeriod(PeriodDt theValue) { 852 myPeriod = theValue; 853 return this; 854 } 855 856 857 858 859 /** 860 * Gets the value(s) for <b>organization</b> (). 861 * creating it if it does 862 * not exist. Will not return <code>null</code>. 863 * 864 * <p> 865 * <b>Definition:</b> 866 * The Insurer who produced this adjudicated response. 867 * </p> 868 */ 869 public ResourceReferenceDt getOrganization() { 870 if (myOrganization == null) { 871 myOrganization = new ResourceReferenceDt(); 872 } 873 return myOrganization; 874 } 875 876 /** 877 * Sets the value(s) for <b>organization</b> () 878 * 879 * <p> 880 * <b>Definition:</b> 881 * The Insurer who produced this adjudicated response. 882 * </p> 883 */ 884 public PaymentReconciliation setOrganization(ResourceReferenceDt theValue) { 885 myOrganization = theValue; 886 return this; 887 } 888 889 890 891 892 /** 893 * Gets the value(s) for <b>requestProvider</b> (). 894 * creating it if it does 895 * not exist. Will not return <code>null</code>. 896 * 897 * <p> 898 * <b>Definition:</b> 899 * The practitioner who is responsible for the services rendered to the patient. 900 * </p> 901 */ 902 public ResourceReferenceDt getRequestProvider() { 903 if (myRequestProvider == null) { 904 myRequestProvider = new ResourceReferenceDt(); 905 } 906 return myRequestProvider; 907 } 908 909 /** 910 * Sets the value(s) for <b>requestProvider</b> () 911 * 912 * <p> 913 * <b>Definition:</b> 914 * The practitioner who is responsible for the services rendered to the patient. 915 * </p> 916 */ 917 public PaymentReconciliation setRequestProvider(ResourceReferenceDt theValue) { 918 myRequestProvider = theValue; 919 return this; 920 } 921 922 923 924 925 /** 926 * Gets the value(s) for <b>requestOrganization</b> (). 927 * creating it if it does 928 * not exist. Will not return <code>null</code>. 929 * 930 * <p> 931 * <b>Definition:</b> 932 * The organization which is responsible for the services rendered to the patient. 933 * </p> 934 */ 935 public ResourceReferenceDt getRequestOrganization() { 936 if (myRequestOrganization == null) { 937 myRequestOrganization = new ResourceReferenceDt(); 938 } 939 return myRequestOrganization; 940 } 941 942 /** 943 * Sets the value(s) for <b>requestOrganization</b> () 944 * 945 * <p> 946 * <b>Definition:</b> 947 * The organization which is responsible for the services rendered to the patient. 948 * </p> 949 */ 950 public PaymentReconciliation setRequestOrganization(ResourceReferenceDt theValue) { 951 myRequestOrganization = theValue; 952 return this; 953 } 954 955 956 957 958 /** 959 * Gets the value(s) for <b>detail</b> (). 960 * creating it if it does 961 * not exist. Will not return <code>null</code>. 962 * 963 * <p> 964 * <b>Definition:</b> 965 * List of individual settlement amounts and the corresponding transaction. 966 * </p> 967 */ 968 public java.util.List<Detail> getDetail() { 969 if (myDetail == null) { 970 myDetail = new java.util.ArrayList<Detail>(); 971 } 972 return myDetail; 973 } 974 975 /** 976 * Sets the value(s) for <b>detail</b> () 977 * 978 * <p> 979 * <b>Definition:</b> 980 * List of individual settlement amounts and the corresponding transaction. 981 * </p> 982 */ 983 public PaymentReconciliation setDetail(java.util.List<Detail> theValue) { 984 myDetail = theValue; 985 return this; 986 } 987 988 989 990 /** 991 * Adds and returns a new value for <b>detail</b> () 992 * 993 * <p> 994 * <b>Definition:</b> 995 * List of individual settlement amounts and the corresponding transaction. 996 * </p> 997 */ 998 public Detail addDetail() { 999 Detail newType = new Detail(); 1000 getDetail().add(newType); 1001 return newType; 1002 } 1003 1004 /** 1005 * Adds a given new value for <b>detail</b> () 1006 * 1007 * <p> 1008 * <b>Definition:</b> 1009 * List of individual settlement amounts and the corresponding transaction. 1010 * </p> 1011 * @param theValue The detail to add (must not be <code>null</code>) 1012 */ 1013 public PaymentReconciliation addDetail(Detail theValue) { 1014 if (theValue == null) { 1015 throw new NullPointerException("theValue must not be null"); 1016 } 1017 getDetail().add(theValue); 1018 return this; 1019 } 1020 1021 /** 1022 * Gets the first repetition for <b>detail</b> (), 1023 * creating it if it does not already exist. 1024 * 1025 * <p> 1026 * <b>Definition:</b> 1027 * List of individual settlement amounts and the corresponding transaction. 1028 * </p> 1029 */ 1030 public Detail getDetailFirstRep() { 1031 if (getDetail().isEmpty()) { 1032 return addDetail(); 1033 } 1034 return getDetail().get(0); 1035 } 1036 1037 /** 1038 * Gets the value(s) for <b>form</b> (). 1039 * creating it if it does 1040 * not exist. Will not return <code>null</code>. 1041 * 1042 * <p> 1043 * <b>Definition:</b> 1044 * The form to be used for printing the content. 1045 * </p> 1046 */ 1047 public CodingDt getForm() { 1048 if (myForm == null) { 1049 myForm = new CodingDt(); 1050 } 1051 return myForm; 1052 } 1053 1054 /** 1055 * Sets the value(s) for <b>form</b> () 1056 * 1057 * <p> 1058 * <b>Definition:</b> 1059 * The form to be used for printing the content. 1060 * </p> 1061 */ 1062 public PaymentReconciliation setForm(CodingDt theValue) { 1063 myForm = theValue; 1064 return this; 1065 } 1066 1067 1068 1069 1070 /** 1071 * Gets the value(s) for <b>total</b> (). 1072 * creating it if it does 1073 * not exist. Will not return <code>null</code>. 1074 * 1075 * <p> 1076 * <b>Definition:</b> 1077 * Total payment amount. 1078 * </p> 1079 */ 1080 public MoneyDt getTotal() { 1081 if (myTotal == null) { 1082 myTotal = new MoneyDt(); 1083 } 1084 return myTotal; 1085 } 1086 1087 /** 1088 * Sets the value(s) for <b>total</b> () 1089 * 1090 * <p> 1091 * <b>Definition:</b> 1092 * Total payment amount. 1093 * </p> 1094 */ 1095 public PaymentReconciliation setTotal(MoneyDt theValue) { 1096 myTotal = theValue; 1097 return this; 1098 } 1099 1100 1101 1102 1103 /** 1104 * Gets the value(s) for <b>note</b> (). 1105 * creating it if it does 1106 * not exist. Will not return <code>null</code>. 1107 * 1108 * <p> 1109 * <b>Definition:</b> 1110 * Suite of notes 1111 * </p> 1112 */ 1113 public java.util.List<Note> getNote() { 1114 if (myNote == null) { 1115 myNote = new java.util.ArrayList<Note>(); 1116 } 1117 return myNote; 1118 } 1119 1120 /** 1121 * Sets the value(s) for <b>note</b> () 1122 * 1123 * <p> 1124 * <b>Definition:</b> 1125 * Suite of notes 1126 * </p> 1127 */ 1128 public PaymentReconciliation setNote(java.util.List<Note> theValue) { 1129 myNote = theValue; 1130 return this; 1131 } 1132 1133 1134 1135 /** 1136 * Adds and returns a new value for <b>note</b> () 1137 * 1138 * <p> 1139 * <b>Definition:</b> 1140 * Suite of notes 1141 * </p> 1142 */ 1143 public Note addNote() { 1144 Note newType = new Note(); 1145 getNote().add(newType); 1146 return newType; 1147 } 1148 1149 /** 1150 * Adds a given new value for <b>note</b> () 1151 * 1152 * <p> 1153 * <b>Definition:</b> 1154 * Suite of notes 1155 * </p> 1156 * @param theValue The note to add (must not be <code>null</code>) 1157 */ 1158 public PaymentReconciliation addNote(Note theValue) { 1159 if (theValue == null) { 1160 throw new NullPointerException("theValue must not be null"); 1161 } 1162 getNote().add(theValue); 1163 return this; 1164 } 1165 1166 /** 1167 * Gets the first repetition for <b>note</b> (), 1168 * creating it if it does not already exist. 1169 * 1170 * <p> 1171 * <b>Definition:</b> 1172 * Suite of notes 1173 * </p> 1174 */ 1175 public Note getNoteFirstRep() { 1176 if (getNote().isEmpty()) { 1177 return addNote(); 1178 } 1179 return getNote().get(0); 1180 } 1181 1182 /** 1183 * Block class for child element: <b>PaymentReconciliation.detail</b> () 1184 * 1185 * <p> 1186 * <b>Definition:</b> 1187 * List of individual settlement amounts and the corresponding transaction. 1188 * </p> 1189 */ 1190 @Block() 1191 public static class Detail 1192 extends BaseIdentifiableElement implements IResourceBlock { 1193 1194 @Child(name="type", type=CodingDt.class, order=0, min=1, max=1, summary=false, modifier=false) 1195 @Description( 1196 shortDefinition="", 1197 formalDefinition="Code to indicate the nature of the payment, adjustment, funds advance, etc." 1198 ) 1199 private CodingDt myType; 1200 1201 @Child(name="request", order=1, min=0, max=1, summary=false, modifier=false, type={ 1202 IResource.class }) 1203 @Description( 1204 shortDefinition="", 1205 formalDefinition="The claim or financial resource." 1206 ) 1207 private ResourceReferenceDt myRequest; 1208 1209 @Child(name="responce", order=2, min=0, max=1, summary=false, modifier=false, type={ 1210 IResource.class }) 1211 @Description( 1212 shortDefinition="", 1213 formalDefinition="The claim response resource." 1214 ) 1215 private ResourceReferenceDt myResponce; 1216 1217 @Child(name="submitter", order=3, min=0, max=1, summary=false, modifier=false, type={ 1218 ca.uhn.fhir.model.dstu2.resource.Organization.class }) 1219 @Description( 1220 shortDefinition="", 1221 formalDefinition="The Organization which submitted the invoice or financial transaction." 1222 ) 1223 private ResourceReferenceDt mySubmitter; 1224 1225 @Child(name="payee", order=4, min=0, max=1, summary=false, modifier=false, type={ 1226 ca.uhn.fhir.model.dstu2.resource.Organization.class }) 1227 @Description( 1228 shortDefinition="", 1229 formalDefinition="The organization which is receiving the payment." 1230 ) 1231 private ResourceReferenceDt myPayee; 1232 1233 @Child(name="date", type=DateDt.class, order=5, min=0, max=1, summary=false, modifier=false) 1234 @Description( 1235 shortDefinition="", 1236 formalDefinition="The date of the invoice or financial resource." 1237 ) 1238 private DateDt myDate; 1239 1240 @Child(name="amount", type=MoneyDt.class, order=6, min=0, max=1, summary=false, modifier=false) 1241 @Description( 1242 shortDefinition="", 1243 formalDefinition="Amount paid for this detail." 1244 ) 1245 private MoneyDt myAmount; 1246 1247 1248 @Override 1249 public boolean isEmpty() { 1250 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, myRequest, myResponce, mySubmitter, myPayee, myDate, myAmount); 1251 } 1252 1253 @Override 1254 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) { 1255 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, myRequest, myResponce, mySubmitter, myPayee, myDate, myAmount); 1256 } 1257 1258 /** 1259 * Gets the value(s) for <b>type</b> (). 1260 * creating it if it does 1261 * not exist. Will not return <code>null</code>. 1262 * 1263 * <p> 1264 * <b>Definition:</b> 1265 * Code to indicate the nature of the payment, adjustment, funds advance, etc. 1266 * </p> 1267 */ 1268 public CodingDt getType() { 1269 if (myType == null) { 1270 myType = new CodingDt(); 1271 } 1272 return myType; 1273 } 1274 1275 /** 1276 * Sets the value(s) for <b>type</b> () 1277 * 1278 * <p> 1279 * <b>Definition:</b> 1280 * Code to indicate the nature of the payment, adjustment, funds advance, etc. 1281 * </p> 1282 */ 1283 public Detail setType(CodingDt theValue) { 1284 myType = theValue; 1285 return this; 1286 } 1287 1288 1289 1290 1291 /** 1292 * Gets the value(s) for <b>request</b> (). 1293 * creating it if it does 1294 * not exist. Will not return <code>null</code>. 1295 * 1296 * <p> 1297 * <b>Definition:</b> 1298 * The claim or financial resource. 1299 * </p> 1300 */ 1301 public ResourceReferenceDt getRequest() { 1302 if (myRequest == null) { 1303 myRequest = new ResourceReferenceDt(); 1304 } 1305 return myRequest; 1306 } 1307 1308 /** 1309 * Sets the value(s) for <b>request</b> () 1310 * 1311 * <p> 1312 * <b>Definition:</b> 1313 * The claim or financial resource. 1314 * </p> 1315 */ 1316 public Detail setRequest(ResourceReferenceDt theValue) { 1317 myRequest = theValue; 1318 return this; 1319 } 1320 1321 1322 1323 1324 /** 1325 * Gets the value(s) for <b>responce</b> (). 1326 * creating it if it does 1327 * not exist. Will not return <code>null</code>. 1328 * 1329 * <p> 1330 * <b>Definition:</b> 1331 * The claim response resource. 1332 * </p> 1333 */ 1334 public ResourceReferenceDt getResponce() { 1335 if (myResponce == null) { 1336 myResponce = new ResourceReferenceDt(); 1337 } 1338 return myResponce; 1339 } 1340 1341 /** 1342 * Sets the value(s) for <b>responce</b> () 1343 * 1344 * <p> 1345 * <b>Definition:</b> 1346 * The claim response resource. 1347 * </p> 1348 */ 1349 public Detail setResponce(ResourceReferenceDt theValue) { 1350 myResponce = theValue; 1351 return this; 1352 } 1353 1354 1355 1356 1357 /** 1358 * Gets the value(s) for <b>submitter</b> (). 1359 * creating it if it does 1360 * not exist. Will not return <code>null</code>. 1361 * 1362 * <p> 1363 * <b>Definition:</b> 1364 * The Organization which submitted the invoice or financial transaction. 1365 * </p> 1366 */ 1367 public ResourceReferenceDt getSubmitter() { 1368 if (mySubmitter == null) { 1369 mySubmitter = new ResourceReferenceDt(); 1370 } 1371 return mySubmitter; 1372 } 1373 1374 /** 1375 * Sets the value(s) for <b>submitter</b> () 1376 * 1377 * <p> 1378 * <b>Definition:</b> 1379 * The Organization which submitted the invoice or financial transaction. 1380 * </p> 1381 */ 1382 public Detail setSubmitter(ResourceReferenceDt theValue) { 1383 mySubmitter = theValue; 1384 return this; 1385 } 1386 1387 1388 1389 1390 /** 1391 * Gets the value(s) for <b>payee</b> (). 1392 * creating it if it does 1393 * not exist. Will not return <code>null</code>. 1394 * 1395 * <p> 1396 * <b>Definition:</b> 1397 * The organization which is receiving the payment. 1398 * </p> 1399 */ 1400 public ResourceReferenceDt getPayee() { 1401 if (myPayee == null) { 1402 myPayee = new ResourceReferenceDt(); 1403 } 1404 return myPayee; 1405 } 1406 1407 /** 1408 * Sets the value(s) for <b>payee</b> () 1409 * 1410 * <p> 1411 * <b>Definition:</b> 1412 * The organization which is receiving the payment. 1413 * </p> 1414 */ 1415 public Detail setPayee(ResourceReferenceDt theValue) { 1416 myPayee = theValue; 1417 return this; 1418 } 1419 1420 1421 1422 1423 /** 1424 * Gets the value(s) for <b>date</b> (). 1425 * creating it if it does 1426 * not exist. Will not return <code>null</code>. 1427 * 1428 * <p> 1429 * <b>Definition:</b> 1430 * The date of the invoice or financial resource. 1431 * </p> 1432 */ 1433 public DateDt getDateElement() { 1434 if (myDate == null) { 1435 myDate = new DateDt(); 1436 } 1437 return myDate; 1438 } 1439 1440 1441 /** 1442 * Gets the value(s) for <b>date</b> (). 1443 * creating it if it does 1444 * not exist. This method may return <code>null</code>. 1445 * 1446 * <p> 1447 * <b>Definition:</b> 1448 * The date of the invoice or financial resource. 1449 * </p> 1450 */ 1451 public Date getDate() { 1452 return getDateElement().getValue(); 1453 } 1454 1455 /** 1456 * Sets the value(s) for <b>date</b> () 1457 * 1458 * <p> 1459 * <b>Definition:</b> 1460 * The date of the invoice or financial resource. 1461 * </p> 1462 */ 1463 public Detail setDate(DateDt theValue) { 1464 myDate = theValue; 1465 return this; 1466 } 1467 1468 1469 1470 /** 1471 * Sets the value for <b>date</b> () 1472 * 1473 * <p> 1474 * <b>Definition:</b> 1475 * The date of the invoice or financial resource. 1476 * </p> 1477 */ 1478 public Detail setDate( Date theDate, TemporalPrecisionEnum thePrecision) { 1479 myDate = new DateDt(theDate, thePrecision); 1480 return this; 1481 } 1482 1483 /** 1484 * Sets the value for <b>date</b> () 1485 * 1486 * <p> 1487 * <b>Definition:</b> 1488 * The date of the invoice or financial resource. 1489 * </p> 1490 */ 1491 public Detail setDateWithDayPrecision( Date theDate) { 1492 myDate = new DateDt(theDate); 1493 return this; 1494 } 1495 1496 1497 /** 1498 * Gets the value(s) for <b>amount</b> (). 1499 * creating it if it does 1500 * not exist. Will not return <code>null</code>. 1501 * 1502 * <p> 1503 * <b>Definition:</b> 1504 * Amount paid for this detail. 1505 * </p> 1506 */ 1507 public MoneyDt getAmount() { 1508 if (myAmount == null) { 1509 myAmount = new MoneyDt(); 1510 } 1511 return myAmount; 1512 } 1513 1514 /** 1515 * Sets the value(s) for <b>amount</b> () 1516 * 1517 * <p> 1518 * <b>Definition:</b> 1519 * Amount paid for this detail. 1520 * </p> 1521 */ 1522 public Detail setAmount(MoneyDt theValue) { 1523 myAmount = theValue; 1524 return this; 1525 } 1526 1527 1528 1529 1530 1531 1532 } 1533 1534 1535 /** 1536 * Block class for child element: <b>PaymentReconciliation.note</b> () 1537 * 1538 * <p> 1539 * <b>Definition:</b> 1540 * Suite of notes 1541 * </p> 1542 */ 1543 @Block() 1544 public static class Note 1545 extends BaseIdentifiableElement implements IResourceBlock { 1546 1547 @Child(name="type", type=CodingDt.class, order=0, min=0, max=1, summary=false, modifier=false) 1548 @Description( 1549 shortDefinition="", 1550 formalDefinition="The note purpose: Print/Display." 1551 ) 1552 @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/note-type") 1553 private CodingDt myType; 1554 1555 @Child(name="text", type=StringDt.class, order=1, min=0, max=1, summary=false, modifier=false) 1556 @Description( 1557 shortDefinition="", 1558 formalDefinition="The note text." 1559 ) 1560 private StringDt myText; 1561 1562 1563 @Override 1564 public boolean isEmpty() { 1565 return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, myText); 1566 } 1567 1568 @Override 1569 public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) { 1570 return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, myText); 1571 } 1572 1573 /** 1574 * Gets the value(s) for <b>type</b> (). 1575 * creating it if it does 1576 * not exist. Will not return <code>null</code>. 1577 * 1578 * <p> 1579 * <b>Definition:</b> 1580 * The note purpose: Print/Display. 1581 * </p> 1582 */ 1583 public CodingDt getType() { 1584 if (myType == null) { 1585 myType = new CodingDt(); 1586 } 1587 return myType; 1588 } 1589 1590 /** 1591 * Sets the value(s) for <b>type</b> () 1592 * 1593 * <p> 1594 * <b>Definition:</b> 1595 * The note purpose: Print/Display. 1596 * </p> 1597 */ 1598 public Note setType(CodingDt theValue) { 1599 myType = theValue; 1600 return this; 1601 } 1602 1603 1604 1605 1606 /** 1607 * Gets the value(s) for <b>text</b> (). 1608 * creating it if it does 1609 * not exist. Will not return <code>null</code>. 1610 * 1611 * <p> 1612 * <b>Definition:</b> 1613 * The note text. 1614 * </p> 1615 */ 1616 public StringDt getTextElement() { 1617 if (myText == null) { 1618 myText = new StringDt(); 1619 } 1620 return myText; 1621 } 1622 1623 1624 /** 1625 * Gets the value(s) for <b>text</b> (). 1626 * creating it if it does 1627 * not exist. This method may return <code>null</code>. 1628 * 1629 * <p> 1630 * <b>Definition:</b> 1631 * The note text. 1632 * </p> 1633 */ 1634 public String getText() { 1635 return getTextElement().getValue(); 1636 } 1637 1638 /** 1639 * Sets the value(s) for <b>text</b> () 1640 * 1641 * <p> 1642 * <b>Definition:</b> 1643 * The note text. 1644 * </p> 1645 */ 1646 public Note setText(StringDt theValue) { 1647 myText = theValue; 1648 return this; 1649 } 1650 1651 1652 1653 /** 1654 * Sets the value for <b>text</b> () 1655 * 1656 * <p> 1657 * <b>Definition:</b> 1658 * The note text. 1659 * </p> 1660 */ 1661 public Note setText( String theString) { 1662 myText = new StringDt(theString); 1663 return this; 1664 } 1665 1666 1667 1668 1669 } 1670 1671 1672 1673 1674 @Override 1675 public String getResourceName() { 1676 return "PaymentReconciliation"; 1677 } 1678 1679 public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() { 1680 return ca.uhn.fhir.context.FhirVersionEnum.DSTU2; 1681 } 1682 1683 1684}