ca.uhn.fhir.model.dstu2.resource.ClaimResponse Maven / Gradle / Ivy
package ca.uhn.fhir.model.dstu2.resource;
import java.math.BigDecimal;
import java.net.URI;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.rest.gclient.*;
import ca.uhn.fhir.model.dstu2.valueset.AccountStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ActionListEnum;
import ca.uhn.fhir.model.dstu2.composite.AddressDt;
import ca.uhn.fhir.model.dstu2.valueset.AdjudicationCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdjudicationErrorCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdjustmentReasonCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdministrativeGenderEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu2.resource.AllergyIntolerance;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCertaintyEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCriticalityEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceSeverityEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceTypeEnum;
import ca.uhn.fhir.model.dstu2.composite.AnnotationDt;
import ca.uhn.fhir.model.dstu2.valueset.AnswerFormatEnum;
import ca.uhn.fhir.model.dstu2.resource.Appointment;
import ca.uhn.fhir.model.dstu2.valueset.AppointmentStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionDirectionTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionOperatorTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionResponseTypesEnum;
import ca.uhn.fhir.model.dstu2.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventActionEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectLifecycleEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectRoleEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventOutcomeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventParticipantNetworkTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventSourceTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.BindingStrengthEnum;
import ca.uhn.fhir.model.dstu2.resource.BodySite;
import ca.uhn.fhir.model.dstu2.valueset.BundleTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.CarePlan;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanActivityStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanRelationshipEnum;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Claim;
import ca.uhn.fhir.model.dstu2.resource.ClaimResponse;
import ca.uhn.fhir.model.dstu2.valueset.ClaimTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.ClinicalImpression;
import ca.uhn.fhir.model.dstu2.valueset.ClinicalImpressionStatusEnum;
import ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu2.composite.CodingDt;
import ca.uhn.fhir.model.dstu2.resource.CommunicationRequest;
import ca.uhn.fhir.model.dstu2.valueset.CommunicationRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.CommunicationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Composition;
import ca.uhn.fhir.model.dstu2.valueset.CompositionAttestationModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.CompositionStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConceptMapEquivalenceEnum;
import ca.uhn.fhir.model.dstu2.resource.Condition;
import ca.uhn.fhir.model.dstu2.valueset.ConditionCategoryCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionClinicalStatusCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionVerificationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionalDeleteStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Conformance;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceResourceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceStatementKindEnum;
import ca.uhn.fhir.model.dstu2.composite.ContactPointDt;
import ca.uhn.fhir.model.dstu2.valueset.ContentTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.Contract;
import ca.uhn.fhir.model.dstu2.resource.Coverage;
import ca.uhn.fhir.model.dstu2.valueset.DataElementStringencyEnum;
import ca.uhn.fhir.model.dstu2.valueset.DaysOfWeekEnum;
import ca.uhn.fhir.model.dstu2.valueset.DetectedIssueSeverityEnum;
import ca.uhn.fhir.model.dstu2.resource.Device;
import ca.uhn.fhir.model.dstu2.resource.DeviceComponent;
import ca.uhn.fhir.model.dstu2.resource.DeviceMetric;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationStateEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricColorEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricOperationalStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DeviceUseRequest;
import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DiagnosticReport;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DigitalMediaTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu2.resource.DocumentReference;
import ca.uhn.fhir.model.dstu2.valueset.DocumentReferenceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DocumentRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu2.composite.ElementDefinitionDt;
import ca.uhn.fhir.model.dstu2.resource.EligibilityRequest;
import ca.uhn.fhir.model.dstu2.resource.Encounter;
import ca.uhn.fhir.model.dstu2.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu2.valueset.EncounterLocationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu2.resource.EnrollmentRequest;
import ca.uhn.fhir.model.dstu2.resource.EpisodeOfCare;
import ca.uhn.fhir.model.dstu2.valueset.EpisodeOfCareStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu2.valueset.FamilyHistoryStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.FamilyMemberHistory;
import ca.uhn.fhir.model.dstu2.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu2.valueset.FlagStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Goal;
import ca.uhn.fhir.model.dstu2.valueset.GoalPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.GoalStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Group;
import ca.uhn.fhir.model.dstu2.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuideDependencyTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuidePageKindEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuideResourcePurposeEnum;
import ca.uhn.fhir.model.dstu2.valueset.HTTPVerbEnum;
import ca.uhn.fhir.model.dstu2.resource.HealthcareService;
import ca.uhn.fhir.model.dstu2.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu2.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu2.valueset.IdentifierTypeCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.IdentityAssuranceLevelEnum;
import ca.uhn.fhir.model.dstu2.resource.ImagingObjectSelection;
import ca.uhn.fhir.model.dstu2.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu2.resource.Immunization;
import ca.uhn.fhir.model.dstu2.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu2.valueset.IssueSeverityEnum;
import ca.uhn.fhir.model.dstu2.valueset.IssueTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.KOStitleEnum;
import ca.uhn.fhir.model.dstu2.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListOrderCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Location;
import ca.uhn.fhir.model.dstu2.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.MeasmntPrincipleEnum;
import ca.uhn.fhir.model.dstu2.resource.Media;
import ca.uhn.fhir.model.dstu2.resource.Medication;
import ca.uhn.fhir.model.dstu2.valueset.MedicationAdministrationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.MedicationDispenseStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.MedicationOrder;
import ca.uhn.fhir.model.dstu2.valueset.MedicationOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.MedicationStatement;
import ca.uhn.fhir.model.dstu2.valueset.MedicationStatementStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu2.resource.NamingSystem;
import ca.uhn.fhir.model.dstu2.valueset.NamingSystemIdentifierTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.NamingSystemTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.NoteTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.NutritionOrder;
import ca.uhn.fhir.model.dstu2.valueset.NutritionOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Observation;
import ca.uhn.fhir.model.dstu2.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.OperationDefinition;
import ca.uhn.fhir.model.dstu2.valueset.OperationKindEnum;
import ca.uhn.fhir.model.dstu2.resource.OperationOutcome;
import ca.uhn.fhir.model.dstu2.valueset.OperationParameterUseEnum;
import ca.uhn.fhir.model.dstu2.resource.Order;
import ca.uhn.fhir.model.dstu2.valueset.OrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Organization;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantRequiredEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Patient;
import ca.uhn.fhir.model.dstu2.valueset.PayeeTypeCodesEnum;
import ca.uhn.fhir.model.dstu2.composite.PeriodDt;
import ca.uhn.fhir.model.dstu2.resource.Person;
import ca.uhn.fhir.model.dstu2.resource.Practitioner;
import ca.uhn.fhir.model.dstu2.resource.Procedure;
import ca.uhn.fhir.model.dstu2.resource.ProcedureRequest;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.ProcessRequest;
import ca.uhn.fhir.model.dstu2.valueset.ProvenanceEntityRoleEnum;
import ca.uhn.fhir.model.dstu2.composite.QuantityDt;
import ca.uhn.fhir.model.dstu2.resource.Questionnaire;
import ca.uhn.fhir.model.dstu2.resource.QuestionnaireResponse;
import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireResponseStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireStatusEnum;
import ca.uhn.fhir.model.dstu2.composite.RangeDt;
import ca.uhn.fhir.model.dstu2.composite.RatioDt;
import ca.uhn.fhir.model.dstu2.valueset.ReferralMethodEnum;
import ca.uhn.fhir.model.dstu2.resource.ReferralRequest;
import ca.uhn.fhir.model.dstu2.valueset.ReferralStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu2.valueset.RemittanceOutcomeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResourceVersionPolicyEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResponseTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu2.resource.RiskAssessment;
import ca.uhn.fhir.model.dstu2.valueset.RulesetCodesEnum;
import ca.uhn.fhir.model.dstu2.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu2.resource.Schedule;
import ca.uhn.fhir.model.dstu2.valueset.SearchEntryModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SearchModifierCodeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ServiceProvisionConditionsEnum;
import ca.uhn.fhir.model.dstu2.composite.SignatureDt;
import ca.uhn.fhir.model.dstu2.resource.Slot;
import ca.uhn.fhir.model.dstu2.valueset.SlotStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Specimen;
import ca.uhn.fhir.model.dstu2.valueset.SpecimenStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.StructureDefinition;
import ca.uhn.fhir.model.dstu2.valueset.StructureDefinitionKindEnum;
import ca.uhn.fhir.model.dstu2.valueset.SubscriptionChannelTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SubscriptionStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Substance;
import ca.uhn.fhir.model.dstu2.valueset.SubstanceCategoryCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.SupplyDeliveryStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.SupplyRequest;
import ca.uhn.fhir.model.dstu2.valueset.SupplyRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.SystemRestfulInteractionEnum;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.dstu2.composite.TimingDt;
import ca.uhn.fhir.model.dstu2.valueset.TransactionModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.TypeRestfulInteractionEnum;
import ca.uhn.fhir.model.dstu2.valueset.UnknownContentCodeEnum;
import ca.uhn.fhir.model.dstu2.valueset.UseEnum;
import ca.uhn.fhir.model.dstu2.resource.ValueSet;
import ca.uhn.fhir.model.dstu2.valueset.VisionBaseEnum;
import ca.uhn.fhir.model.dstu2.valueset.VisionEyesEnum;
import ca.uhn.fhir.model.dstu2.resource.VisionPrescription;
import ca.uhn.fhir.model.dstu2.valueset.XPathUsageTypeEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu2.composite.AgeDt;
import ca.uhn.fhir.model.dstu2.composite.BoundCodeableConceptDt;
import ca.uhn.fhir.model.dstu2.composite.DurationDt;
import ca.uhn.fhir.model.dstu2.composite.MoneyDt;
import ca.uhn.fhir.model.dstu2.composite.NarrativeDt;
import ca.uhn.fhir.model.dstu2.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu2.composite.SimpleQuantityDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.PositiveIntDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.TimeDt;
import ca.uhn.fhir.model.primitive.UnsignedIntDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
* HAPI/FHIR ClaimResponse Resource
* ()
*
*
* Definition:
* This resource provides the adjudication details from the processing of a Claim resource.
*
*
*
* Requirements:
*
*
*
*
* Profile Definition:
* http://hl7.org/fhir/profiles/ClaimResponse
*
*
*/
@ResourceDef(name="ClaimResponse", profile="http://hl7.org/fhir/profiles/ClaimResponse", id="claimresponse")
public class ClaimResponse extends ca.uhn.fhir.model.dstu2.resource.BaseResource
implements IResource
{
/**
* Search parameter constant for identifier
*
* Description: The identity of the insurer
* Type: token
* Path: ClaimResponse.identifier
*
*/
@SearchParamDefinition(name="identifier", path="ClaimResponse.identifier", description="The identity of the insurer", type="token"
)
public static final String SP_IDENTIFIER = "identifier";
/**
* Fluent Client search parameter constant for identifier
*
* Description: The identity of the insurer
* Type: token
* Path: ClaimResponse.identifier
*
*/
public static final TokenClientParam IDENTIFIER = new TokenClientParam(SP_IDENTIFIER);
@Child(name="identifier", type=IdentifierDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The Response business identifier"
)
private java.util.List myIdentifier;
@Child(name="request", order=1, min=0, max=1, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.Claim.class
})
@Description(
shortDefinition="",
formalDefinition="Original request resource referrence"
)
private ResourceReferenceDt myRequest;
@Child(name="ruleset", type=CodingDt.class, order=2, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources."
)
private CodingDt myRuleset;
@Child(name="originalRuleset", type=CodingDt.class, order=3, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The style (standard) and version of the original material which was converted into this resource."
)
private CodingDt myOriginalRuleset;
@Child(name="created", type=DateTimeDt.class, order=4, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The date when the enclosed suite of services were performed or completed"
)
private DateTimeDt myCreated;
@Child(name="organization", order=5, min=0, max=1, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.Organization.class
})
@Description(
shortDefinition="",
formalDefinition="The Insurer who produced this adjudicated response."
)
private ResourceReferenceDt myOrganization;
@Child(name="requestProvider", order=6, min=0, max=1, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.Practitioner.class
})
@Description(
shortDefinition="",
formalDefinition="The practitioner who is responsible for the services rendered to the patient."
)
private ResourceReferenceDt myRequestProvider;
@Child(name="requestOrganization", order=7, min=0, max=1, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.Organization.class
})
@Description(
shortDefinition="",
formalDefinition="The organization which is responsible for the services rendered to the patient."
)
private ResourceReferenceDt myRequestOrganization;
@Child(name="outcome", type=CodeDt.class, order=8, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Transaction status: error, complete"
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/remittance-outcome")
private BoundCodeDt myOutcome;
@Child(name="disposition", type=StringDt.class, order=9, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A description of the status of the adjudication."
)
private StringDt myDisposition;
@Child(name="payeeType", type=CodingDt.class, order=10, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Party to be reimbursed: Subscriber, provider, other."
)
private CodingDt myPayeeType;
@Child(name="item", order=11, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The first tier service adjudications for submitted services."
)
private java.util.List- myItem;
@Child(name="addItem", order=12, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The first tier service adjudications for payor added services."
)
private java.util.List
myAddItem;
@Child(name="error", order=13, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Mutually exclusive with Services Provided (Item)."
)
private java.util.List myError;
@Child(name="totalCost", type=MoneyDt.class, order=14, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The total cost of the services reported."
)
private MoneyDt myTotalCost;
@Child(name="unallocDeductable", type=MoneyDt.class, order=15, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The amount of deductible applied which was not allocated to any particular service line."
)
private MoneyDt myUnallocDeductable;
@Child(name="totalBenefit", type=MoneyDt.class, order=16, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Total amount of benefit payable (Equal to sum of the Benefit amounts from all detail lines and additions less the Unallocated Deductible)"
)
private MoneyDt myTotalBenefit;
@Child(name="paymentAdjustment", type=MoneyDt.class, order=17, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Adjustment to the payment of this transaction which is not related to adjudication of this transaction."
)
private MoneyDt myPaymentAdjustment;
@Child(name="paymentAdjustmentReason", type=CodingDt.class, order=18, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Reason for the payment adjustment."
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/valueset-adjustment-reason")
private CodingDt myPaymentAdjustmentReason;
@Child(name="paymentDate", type=DateDt.class, order=19, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Estimated payment data"
)
private DateDt myPaymentDate;
@Child(name="paymentAmount", type=MoneyDt.class, order=20, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Payable less any payment adjustment."
)
private MoneyDt myPaymentAmount;
@Child(name="paymentRef", type=IdentifierDt.class, order=21, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Payment identifier"
)
private IdentifierDt myPaymentRef;
@Child(name="reserved", type=CodingDt.class, order=22, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Status of funds reservation (For provider, for Patient, None)."
)
private CodingDt myReserved;
@Child(name="form", type=CodingDt.class, order=23, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The form to be used for printing the content."
)
private CodingDt myForm;
@Child(name="note", order=24, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Note text"
)
private java.util.List myNote;
@Child(name="coverage", order=25, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Financial instrument by which payment information for health care"
)
private java.util.List myCoverage;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myRequest, myRuleset, myOriginalRuleset, myCreated, myOrganization, myRequestProvider, myRequestOrganization, myOutcome, myDisposition, myPayeeType, myItem, myAddItem, myError, myTotalCost, myUnallocDeductable, myTotalBenefit, myPaymentAdjustment, myPaymentAdjustmentReason, myPaymentDate, myPaymentAmount, myPaymentRef, myReserved, myForm, myNote, myCoverage);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myRequest, myRuleset, myOriginalRuleset, myCreated, myOrganization, myRequestProvider, myRequestOrganization, myOutcome, myDisposition, myPayeeType, myItem, myAddItem, myError, myTotalCost, myUnallocDeductable, myTotalBenefit, myPaymentAdjustment, myPaymentAdjustmentReason, myPaymentDate, myPaymentAmount, myPaymentRef, myReserved, myForm, myNote, myCoverage);
}
/**
* Gets the value(s) for identifier ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The Response business identifier
*
*/
public java.util.List getIdentifier() {
if (myIdentifier == null) {
myIdentifier = new java.util.ArrayList();
}
return myIdentifier;
}
/**
* Sets the value(s) for identifier ()
*
*
* Definition:
* The Response business identifier
*
*/
public ClaimResponse setIdentifier(java.util.List theValue) {
myIdentifier = theValue;
return this;
}
/**
* Adds and returns a new value for identifier ()
*
*
* Definition:
* The Response business identifier
*
*/
public IdentifierDt addIdentifier() {
IdentifierDt newType = new IdentifierDt();
getIdentifier().add(newType);
return newType;
}
/**
* Adds a given new value for identifier ()
*
*
* Definition:
* The Response business identifier
*
* @param theValue The identifier to add (must not be null
)
*/
public ClaimResponse addIdentifier(IdentifierDt theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getIdentifier().add(theValue);
return this;
}
/**
* Gets the first repetition for identifier (),
* creating it if it does not already exist.
*
*
* Definition:
* The Response business identifier
*
*/
public IdentifierDt getIdentifierFirstRep() {
if (getIdentifier().isEmpty()) {
return addIdentifier();
}
return getIdentifier().get(0);
}
/**
* Gets the value(s) for request ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Original request resource referrence
*
*/
public ResourceReferenceDt getRequest() {
if (myRequest == null) {
myRequest = new ResourceReferenceDt();
}
return myRequest;
}
/**
* Sets the value(s) for request ()
*
*
* Definition:
* Original request resource referrence
*
*/
public ClaimResponse setRequest(ResourceReferenceDt theValue) {
myRequest = theValue;
return this;
}
/**
* Gets the value(s) for ruleset ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.
*
*/
public CodingDt getRuleset() {
if (myRuleset == null) {
myRuleset = new CodingDt();
}
return myRuleset;
}
/**
* Sets the value(s) for ruleset ()
*
*
* Definition:
* The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.
*
*/
public ClaimResponse setRuleset(CodingDt theValue) {
myRuleset = theValue;
return this;
}
/**
* Gets the value(s) for originalRuleset ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The style (standard) and version of the original material which was converted into this resource.
*
*/
public CodingDt getOriginalRuleset() {
if (myOriginalRuleset == null) {
myOriginalRuleset = new CodingDt();
}
return myOriginalRuleset;
}
/**
* Sets the value(s) for originalRuleset ()
*
*
* Definition:
* The style (standard) and version of the original material which was converted into this resource.
*
*/
public ClaimResponse setOriginalRuleset(CodingDt theValue) {
myOriginalRuleset = theValue;
return this;
}
/**
* Gets the value(s) for created ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The date when the enclosed suite of services were performed or completed
*
*/
public DateTimeDt getCreatedElement() {
if (myCreated == null) {
myCreated = new DateTimeDt();
}
return myCreated;
}
/**
* Gets the value(s) for created ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The date when the enclosed suite of services were performed or completed
*
*/
public Date getCreated() {
return getCreatedElement().getValue();
}
/**
* Sets the value(s) for created ()
*
*
* Definition:
* The date when the enclosed suite of services were performed or completed
*
*/
public ClaimResponse setCreated(DateTimeDt theValue) {
myCreated = theValue;
return this;
}
/**
* Sets the value for created ()
*
*
* Definition:
* The date when the enclosed suite of services were performed or completed
*
*/
public ClaimResponse setCreatedWithSecondsPrecision( Date theDate) {
myCreated = new DateTimeDt(theDate);
return this;
}
/**
* Sets the value for created ()
*
*
* Definition:
* The date when the enclosed suite of services were performed or completed
*
*/
public ClaimResponse setCreated( Date theDate, TemporalPrecisionEnum thePrecision) {
myCreated = new DateTimeDt(theDate, thePrecision);
return this;
}
/**
* Gets the value(s) for organization ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The Insurer who produced this adjudicated response.
*
*/
public ResourceReferenceDt getOrganization() {
if (myOrganization == null) {
myOrganization = new ResourceReferenceDt();
}
return myOrganization;
}
/**
* Sets the value(s) for organization ()
*
*
* Definition:
* The Insurer who produced this adjudicated response.
*
*/
public ClaimResponse setOrganization(ResourceReferenceDt theValue) {
myOrganization = theValue;
return this;
}
/**
* Gets the value(s) for requestProvider ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The practitioner who is responsible for the services rendered to the patient.
*
*/
public ResourceReferenceDt getRequestProvider() {
if (myRequestProvider == null) {
myRequestProvider = new ResourceReferenceDt();
}
return myRequestProvider;
}
/**
* Sets the value(s) for requestProvider ()
*
*
* Definition:
* The practitioner who is responsible for the services rendered to the patient.
*
*/
public ClaimResponse setRequestProvider(ResourceReferenceDt theValue) {
myRequestProvider = theValue;
return this;
}
/**
* Gets the value(s) for requestOrganization ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The organization which is responsible for the services rendered to the patient.
*
*/
public ResourceReferenceDt getRequestOrganization() {
if (myRequestOrganization == null) {
myRequestOrganization = new ResourceReferenceDt();
}
return myRequestOrganization;
}
/**
* Sets the value(s) for requestOrganization ()
*
*
* Definition:
* The organization which is responsible for the services rendered to the patient.
*
*/
public ClaimResponse setRequestOrganization(ResourceReferenceDt theValue) {
myRequestOrganization = theValue;
return this;
}
/**
* Gets the value(s) for outcome ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Transaction status: error, complete
*
*/
public BoundCodeDt getOutcomeElement() {
if (myOutcome == null) {
myOutcome = new BoundCodeDt(RemittanceOutcomeEnum.VALUESET_BINDER);
}
return myOutcome;
}
/**
* Gets the value(s) for outcome ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Transaction status: error, complete
*
*/
public String getOutcome() {
return getOutcomeElement().getValue();
}
/**
* Sets the value(s) for outcome ()
*
*
* Definition:
* Transaction status: error, complete
*
*/
public ClaimResponse setOutcome(BoundCodeDt theValue) {
myOutcome = theValue;
return this;
}
/**
* Sets the value(s) for outcome ()
*
*
* Definition:
* Transaction status: error, complete
*
*/
public ClaimResponse setOutcome(RemittanceOutcomeEnum theValue) {
setOutcome(new BoundCodeDt(RemittanceOutcomeEnum.VALUESET_BINDER, theValue));
/*
getOutcomeElement().setValueAsEnum(theValue);
*/
return this;
}
/**
* Gets the value(s) for disposition ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A description of the status of the adjudication.
*
*/
public StringDt getDispositionElement() {
if (myDisposition == null) {
myDisposition = new StringDt();
}
return myDisposition;
}
/**
* Gets the value(s) for disposition ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A description of the status of the adjudication.
*
*/
public String getDisposition() {
return getDispositionElement().getValue();
}
/**
* Sets the value(s) for disposition ()
*
*
* Definition:
* A description of the status of the adjudication.
*
*/
public ClaimResponse setDisposition(StringDt theValue) {
myDisposition = theValue;
return this;
}
/**
* Sets the value for disposition ()
*
*
* Definition:
* A description of the status of the adjudication.
*
*/
public ClaimResponse setDisposition( String theString) {
myDisposition = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for payeeType ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Party to be reimbursed: Subscriber, provider, other.
*
*/
public CodingDt getPayeeType() {
if (myPayeeType == null) {
myPayeeType = new CodingDt();
}
return myPayeeType;
}
/**
* Sets the value(s) for payeeType ()
*
*
* Definition:
* Party to be reimbursed: Subscriber, provider, other.
*
*/
public ClaimResponse setPayeeType(CodingDt theValue) {
myPayeeType = theValue;
return this;
}
/**
* Gets the value(s) for item ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The first tier service adjudications for submitted services.
*
*/
public java.util.List- getItem() {
if (myItem == null) {
myItem = new java.util.ArrayList
- ();
}
return myItem;
}
/**
* Sets the value(s) for item ()
*
*
* Definition:
* The first tier service adjudications for submitted services.
*
*/
public ClaimResponse setItem(java.util.List- theValue) {
myItem = theValue;
return this;
}
/**
* Adds and returns a new value for item ()
*
*
* Definition:
* The first tier service adjudications for submitted services.
*
*/
public Item addItem() {
Item newType = new Item();
getItem().add(newType);
return newType;
}
/**
* Adds a given new value for item ()
*
*
* Definition:
* The first tier service adjudications for submitted services.
*
* @param theValue The item to add (must not be null
)
*/
public ClaimResponse addItem(Item theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getItem().add(theValue);
return this;
}
/**
* Gets the first repetition for item (),
* creating it if it does not already exist.
*
*
* Definition:
* The first tier service adjudications for submitted services.
*
*/
public Item getItemFirstRep() {
if (getItem().isEmpty()) {
return addItem();
}
return getItem().get(0);
}
/**
* Gets the value(s) for addItem ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The first tier service adjudications for payor added services.
*
*/
public java.util.List getAddItem() {
if (myAddItem == null) {
myAddItem = new java.util.ArrayList();
}
return myAddItem;
}
/**
* Sets the value(s) for addItem ()
*
*
* Definition:
* The first tier service adjudications for payor added services.
*
*/
public ClaimResponse setAddItem(java.util.List theValue) {
myAddItem = theValue;
return this;
}
/**
* Adds and returns a new value for addItem ()
*
*
* Definition:
* The first tier service adjudications for payor added services.
*
*/
public AddItem addAddItem() {
AddItem newType = new AddItem();
getAddItem().add(newType);
return newType;
}
/**
* Adds a given new value for addItem ()
*
*
* Definition:
* The first tier service adjudications for payor added services.
*
* @param theValue The addItem to add (must not be null
)
*/
public ClaimResponse addAddItem(AddItem theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getAddItem().add(theValue);
return this;
}
/**
* Gets the first repetition for addItem (),
* creating it if it does not already exist.
*
*
* Definition:
* The first tier service adjudications for payor added services.
*
*/
public AddItem getAddItemFirstRep() {
if (getAddItem().isEmpty()) {
return addAddItem();
}
return getAddItem().get(0);
}
/**
* Gets the value(s) for error ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Mutually exclusive with Services Provided (Item).
*
*/
public java.util.List getError() {
if (myError == null) {
myError = new java.util.ArrayList();
}
return myError;
}
/**
* Sets the value(s) for error ()
*
*
* Definition:
* Mutually exclusive with Services Provided (Item).
*
*/
public ClaimResponse setError(java.util.List theValue) {
myError = theValue;
return this;
}
/**
* Adds and returns a new value for error ()
*
*
* Definition:
* Mutually exclusive with Services Provided (Item).
*
*/
public Error addError() {
Error newType = new Error();
getError().add(newType);
return newType;
}
/**
* Adds a given new value for error ()
*
*
* Definition:
* Mutually exclusive with Services Provided (Item).
*
* @param theValue The error to add (must not be null
)
*/
public ClaimResponse addError(Error theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getError().add(theValue);
return this;
}
/**
* Gets the first repetition for error (),
* creating it if it does not already exist.
*
*
* Definition:
* Mutually exclusive with Services Provided (Item).
*
*/
public Error getErrorFirstRep() {
if (getError().isEmpty()) {
return addError();
}
return getError().get(0);
}
/**
* Gets the value(s) for totalCost ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The total cost of the services reported.
*
*/
public MoneyDt getTotalCost() {
if (myTotalCost == null) {
myTotalCost = new MoneyDt();
}
return myTotalCost;
}
/**
* Sets the value(s) for totalCost ()
*
*
* Definition:
* The total cost of the services reported.
*
*/
public ClaimResponse setTotalCost(MoneyDt theValue) {
myTotalCost = theValue;
return this;
}
/**
* Gets the value(s) for unallocDeductable ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The amount of deductible applied which was not allocated to any particular service line.
*
*/
public MoneyDt getUnallocDeductable() {
if (myUnallocDeductable == null) {
myUnallocDeductable = new MoneyDt();
}
return myUnallocDeductable;
}
/**
* Sets the value(s) for unallocDeductable ()
*
*
* Definition:
* The amount of deductible applied which was not allocated to any particular service line.
*
*/
public ClaimResponse setUnallocDeductable(MoneyDt theValue) {
myUnallocDeductable = theValue;
return this;
}
/**
* Gets the value(s) for totalBenefit ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Total amount of benefit payable (Equal to sum of the Benefit amounts from all detail lines and additions less the Unallocated Deductible)
*
*/
public MoneyDt getTotalBenefit() {
if (myTotalBenefit == null) {
myTotalBenefit = new MoneyDt();
}
return myTotalBenefit;
}
/**
* Sets the value(s) for totalBenefit ()
*
*
* Definition:
* Total amount of benefit payable (Equal to sum of the Benefit amounts from all detail lines and additions less the Unallocated Deductible)
*
*/
public ClaimResponse setTotalBenefit(MoneyDt theValue) {
myTotalBenefit = theValue;
return this;
}
/**
* Gets the value(s) for paymentAdjustment ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Adjustment to the payment of this transaction which is not related to adjudication of this transaction.
*
*/
public MoneyDt getPaymentAdjustment() {
if (myPaymentAdjustment == null) {
myPaymentAdjustment = new MoneyDt();
}
return myPaymentAdjustment;
}
/**
* Sets the value(s) for paymentAdjustment ()
*
*
* Definition:
* Adjustment to the payment of this transaction which is not related to adjudication of this transaction.
*
*/
public ClaimResponse setPaymentAdjustment(MoneyDt theValue) {
myPaymentAdjustment = theValue;
return this;
}
/**
* Gets the value(s) for paymentAdjustmentReason ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Reason for the payment adjustment.
*
*/
public CodingDt getPaymentAdjustmentReason() {
if (myPaymentAdjustmentReason == null) {
myPaymentAdjustmentReason = new CodingDt();
}
return myPaymentAdjustmentReason;
}
/**
* Sets the value(s) for paymentAdjustmentReason ()
*
*
* Definition:
* Reason for the payment adjustment.
*
*/
public ClaimResponse setPaymentAdjustmentReason(CodingDt theValue) {
myPaymentAdjustmentReason = theValue;
return this;
}
/**
* Gets the value(s) for paymentDate ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Estimated payment data
*
*/
public DateDt getPaymentDateElement() {
if (myPaymentDate == null) {
myPaymentDate = new DateDt();
}
return myPaymentDate;
}
/**
* Gets the value(s) for paymentDate ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* Estimated payment data
*
*/
public Date getPaymentDate() {
return getPaymentDateElement().getValue();
}
/**
* Sets the value(s) for paymentDate ()
*
*
* Definition:
* Estimated payment data
*
*/
public ClaimResponse setPaymentDate(DateDt theValue) {
myPaymentDate = theValue;
return this;
}
/**
* Sets the value for paymentDate ()
*
*
* Definition:
* Estimated payment data
*
*/
public ClaimResponse setPaymentDateWithDayPrecision( Date theDate) {
myPaymentDate = new DateDt(theDate);
return this;
}
/**
* Sets the value for paymentDate ()
*
*
* Definition:
* Estimated payment data
*
*/
public ClaimResponse setPaymentDate( Date theDate, TemporalPrecisionEnum thePrecision) {
myPaymentDate = new DateDt(theDate, thePrecision);
return this;
}
/**
* Gets the value(s) for paymentAmount ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Payable less any payment adjustment.
*
*/
public MoneyDt getPaymentAmount() {
if (myPaymentAmount == null) {
myPaymentAmount = new MoneyDt();
}
return myPaymentAmount;
}
/**
* Sets the value(s) for paymentAmount ()
*
*
* Definition:
* Payable less any payment adjustment.
*
*/
public ClaimResponse setPaymentAmount(MoneyDt theValue) {
myPaymentAmount = theValue;
return this;
}
/**
* Gets the value(s) for paymentRef ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Payment identifier
*
*/
public IdentifierDt getPaymentRef() {
if (myPaymentRef == null) {
myPaymentRef = new IdentifierDt();
}
return myPaymentRef;
}
/**
* Sets the value(s) for paymentRef ()
*
*
* Definition:
* Payment identifier
*
*/
public ClaimResponse setPaymentRef(IdentifierDt theValue) {
myPaymentRef = theValue;
return this;
}
/**
* Gets the value(s) for reserved ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Status of funds reservation (For provider, for Patient, None).
*
*/
public CodingDt getReserved() {
if (myReserved == null) {
myReserved = new CodingDt();
}
return myReserved;
}
/**
* Sets the value(s) for reserved ()
*
*
* Definition:
* Status of funds reservation (For provider, for Patient, None).
*
*/
public ClaimResponse setReserved(CodingDt theValue) {
myReserved = theValue;
return this;
}
/**
* Gets the value(s) for form ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The form to be used for printing the content.
*
*/
public CodingDt getForm() {
if (myForm == null) {
myForm = new CodingDt();
}
return myForm;
}
/**
* Sets the value(s) for form ()
*
*
* Definition:
* The form to be used for printing the content.
*
*/
public ClaimResponse setForm(CodingDt theValue) {
myForm = theValue;
return this;
}
/**
* Gets the value(s) for note ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Note text
*
*/
public java.util.List getNote() {
if (myNote == null) {
myNote = new java.util.ArrayList();
}
return myNote;
}
/**
* Sets the value(s) for note ()
*
*
* Definition:
* Note text
*
*/
public ClaimResponse setNote(java.util.List theValue) {
myNote = theValue;
return this;
}
/**
* Adds and returns a new value for note ()
*
*
* Definition:
* Note text
*
*/
public Note addNote() {
Note newType = new Note();
getNote().add(newType);
return newType;
}
/**
* Adds a given new value for note ()
*
*
* Definition:
* Note text
*
* @param theValue The note to add (must not be null
)
*/
public ClaimResponse addNote(Note theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getNote().add(theValue);
return this;
}
/**
* Gets the first repetition for note (),
* creating it if it does not already exist.
*
*
* Definition:
* Note text
*
*/
public Note getNoteFirstRep() {
if (getNote().isEmpty()) {
return addNote();
}
return getNote().get(0);
}
/**
* Gets the value(s) for coverage ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Financial instrument by which payment information for health care
*
*/
public java.util.List getCoverage() {
if (myCoverage == null) {
myCoverage = new java.util.ArrayList();
}
return myCoverage;
}
/**
* Sets the value(s) for coverage ()
*
*
* Definition:
* Financial instrument by which payment information for health care
*
*/
public ClaimResponse setCoverage(java.util.List theValue) {
myCoverage = theValue;
return this;
}
/**
* Adds and returns a new value for coverage ()
*
*
* Definition:
* Financial instrument by which payment information for health care
*
*/
public Coverage addCoverage() {
Coverage newType = new Coverage();
getCoverage().add(newType);
return newType;
}
/**
* Adds a given new value for coverage ()
*
*
* Definition:
* Financial instrument by which payment information for health care
*
* @param theValue The coverage to add (must not be null
)
*/
public ClaimResponse addCoverage(Coverage theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getCoverage().add(theValue);
return this;
}
/**
* Gets the first repetition for coverage (),
* creating it if it does not already exist.
*
*
* Definition:
* Financial instrument by which payment information for health care
*
*/
public Coverage getCoverageFirstRep() {
if (getCoverage().isEmpty()) {
return addCoverage();
}
return getCoverage().get(0);
}
/**
* Block class for child element: ClaimResponse.item ()
*
*
* Definition:
* The first tier service adjudications for submitted services.
*
*/
@Block()
public static class Item
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="sequenceLinkId", type=PositiveIntDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A service line number."
)
private PositiveIntDt mySequenceLinkId;
@Child(name="noteNumber", type=PositiveIntDt.class, order=1, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A list of note references to the notes provided below."
)
private java.util.List myNoteNumber;
@Child(name="adjudication", order=2, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The adjudications results."
)
private java.util.List myAdjudication;
@Child(name="detail", order=3, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The second tier service adjudications for submitted services."
)
private java.util.List myDetail;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySequenceLinkId, myNoteNumber, myAdjudication, myDetail);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySequenceLinkId, myNoteNumber, myAdjudication, myDetail);
}
/**
* Gets the value(s) for sequenceLinkId ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A service line number.
*
*/
public PositiveIntDt getSequenceLinkIdElement() {
if (mySequenceLinkId == null) {
mySequenceLinkId = new PositiveIntDt();
}
return mySequenceLinkId;
}
/**
* Gets the value(s) for sequenceLinkId ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A service line number.
*
*/
public Integer getSequenceLinkId() {
return getSequenceLinkIdElement().getValue();
}
/**
* Sets the value(s) for sequenceLinkId ()
*
*
* Definition:
* A service line number.
*
*/
public Item setSequenceLinkId(PositiveIntDt theValue) {
mySequenceLinkId = theValue;
return this;
}
/**
* Sets the value for sequenceLinkId ()
*
*
* Definition:
* A service line number.
*
*/
public Item setSequenceLinkId( int theInteger) {
mySequenceLinkId = new PositiveIntDt(theInteger);
return this;
}
/**
* Gets the value(s) for noteNumber ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A list of note references to the notes provided below.
*
*/
public java.util.List getNoteNumber() {
if (myNoteNumber == null) {
myNoteNumber = new java.util.ArrayList();
}
return myNoteNumber;
}
/**
* Sets the value(s) for noteNumber ()
*
*
* Definition:
* A list of note references to the notes provided below.
*
*/
public Item setNoteNumber(java.util.List theValue) {
myNoteNumber = theValue;
return this;
}
/**
* Adds and returns a new value for noteNumber ()
*
*
* Definition:
* A list of note references to the notes provided below.
*
*/
public PositiveIntDt addNoteNumber() {
PositiveIntDt newType = new PositiveIntDt();
getNoteNumber().add(newType);
return newType;
}
/**
* Adds a given new value for noteNumber ()
*
*
* Definition:
* A list of note references to the notes provided below.
*
* @param theValue The noteNumber to add (must not be null
)
*/
public Item addNoteNumber(PositiveIntDt theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getNoteNumber().add(theValue);
return this;
}
/**
* Gets the first repetition for noteNumber (),
* creating it if it does not already exist.
*
*
* Definition:
* A list of note references to the notes provided below.
*
*/
public PositiveIntDt getNoteNumberFirstRep() {
if (getNoteNumber().isEmpty()) {
return addNoteNumber();
}
return getNoteNumber().get(0);
}
/**
* Adds a new value for noteNumber ()
*
*
* Definition:
* A list of note references to the notes provided below.
*
*
* @return Returns a reference to this object, to allow for simple chaining.
*/
public Item addNoteNumber( int theInteger) {
if (myNoteNumber == null) {
myNoteNumber = new java.util.ArrayList();
}
myNoteNumber.add(new PositiveIntDt(theInteger));
return this;
}
/**
* Gets the value(s) for adjudication ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The adjudications results.
*
*/
public java.util.List getAdjudication() {
if (myAdjudication == null) {
myAdjudication = new java.util.ArrayList();
}
return myAdjudication;
}
/**
* Sets the value(s) for adjudication ()
*
*
* Definition:
* The adjudications results.
*
*/
public Item setAdjudication(java.util.List theValue) {
myAdjudication = theValue;
return this;
}
/**
* Adds and returns a new value for adjudication ()
*
*
* Definition:
* The adjudications results.
*
*/
public ItemAdjudication addAdjudication() {
ItemAdjudication newType = new ItemAdjudication();
getAdjudication().add(newType);
return newType;
}
/**
* Adds a given new value for adjudication ()
*
*
* Definition:
* The adjudications results.
*
* @param theValue The adjudication to add (must not be null
)
*/
public Item addAdjudication(ItemAdjudication theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getAdjudication().add(theValue);
return this;
}
/**
* Gets the first repetition for adjudication (),
* creating it if it does not already exist.
*
*
* Definition:
* The adjudications results.
*
*/
public ItemAdjudication getAdjudicationFirstRep() {
if (getAdjudication().isEmpty()) {
return addAdjudication();
}
return getAdjudication().get(0);
}
/**
* Gets the value(s) for detail ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The second tier service adjudications for submitted services.
*
*/
public java.util.List getDetail() {
if (myDetail == null) {
myDetail = new java.util.ArrayList();
}
return myDetail;
}
/**
* Sets the value(s) for detail ()
*
*
* Definition:
* The second tier service adjudications for submitted services.
*
*/
public Item setDetail(java.util.List theValue) {
myDetail = theValue;
return this;
}
/**
* Adds and returns a new value for detail ()
*
*
* Definition:
* The second tier service adjudications for submitted services.
*
*/
public ItemDetail addDetail() {
ItemDetail newType = new ItemDetail();
getDetail().add(newType);
return newType;
}
/**
* Adds a given new value for detail ()
*
*
* Definition:
* The second tier service adjudications for submitted services.
*
* @param theValue The detail to add (must not be null
)
*/
public Item addDetail(ItemDetail theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getDetail().add(theValue);
return this;
}
/**
* Gets the first repetition for detail (),
* creating it if it does not already exist.
*
*
* Definition:
* The second tier service adjudications for submitted services.
*
*/
public ItemDetail getDetailFirstRep() {
if (getDetail().isEmpty()) {
return addDetail();
}
return getDetail().get(0);
}
}
/**
* Block class for child element: ClaimResponse.item.adjudication ()
*
*
* Definition:
* The adjudications results.
*
*/
@Block()
public static class ItemAdjudication
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="code", type=CodingDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc."
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/valueset-adjudication")
private CodingDt myCode;
@Child(name="amount", type=MoneyDt.class, order=1, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Monetary amount associated with the code"
)
private MoneyDt myAmount;
@Child(name="value", type=DecimalDt.class, order=2, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A non-monetary value for example a percentage. Mutually exclusive to the amount element above."
)
private DecimalDt myValue;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myAmount, myValue);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myAmount, myValue);
}
/**
* Gets the value(s) for code ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.
*
*/
public CodingDt getCode() {
if (myCode == null) {
myCode = new CodingDt();
}
return myCode;
}
/**
* Sets the value(s) for code ()
*
*
* Definition:
* Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.
*
*/
public ItemAdjudication setCode(CodingDt theValue) {
myCode = theValue;
return this;
}
/**
* Gets the value(s) for amount ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Monetary amount associated with the code
*
*/
public MoneyDt getAmount() {
if (myAmount == null) {
myAmount = new MoneyDt();
}
return myAmount;
}
/**
* Sets the value(s) for amount ()
*
*
* Definition:
* Monetary amount associated with the code
*
*/
public ItemAdjudication setAmount(MoneyDt theValue) {
myAmount = theValue;
return this;
}
/**
* Gets the value(s) for value ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public DecimalDt getValueElement() {
if (myValue == null) {
myValue = new DecimalDt();
}
return myValue;
}
/**
* Gets the value(s) for value ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public BigDecimal getValue() {
return getValueElement().getValue();
}
/**
* Sets the value(s) for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public ItemAdjudication setValue(DecimalDt theValue) {
myValue = theValue;
return this;
}
/**
* Sets the value for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public ItemAdjudication setValue( double theValue) {
myValue = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public ItemAdjudication setValue( long theValue) {
myValue = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public ItemAdjudication setValue( java.math.BigDecimal theValue) {
myValue = new DecimalDt(theValue);
return this;
}
}
/**
* Block class for child element: ClaimResponse.item.detail ()
*
*
* Definition:
* The second tier service adjudications for submitted services.
*
*/
@Block()
public static class ItemDetail
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="sequenceLinkId", type=PositiveIntDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A service line number."
)
private PositiveIntDt mySequenceLinkId;
@Child(name="adjudication", order=1, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The adjudications results."
)
private java.util.List myAdjudication;
@Child(name="subDetail", order=2, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The third tier service adjudications for submitted services."
)
private java.util.List mySubDetail;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySequenceLinkId, myAdjudication, mySubDetail);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySequenceLinkId, myAdjudication, mySubDetail);
}
/**
* Gets the value(s) for sequenceLinkId ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A service line number.
*
*/
public PositiveIntDt getSequenceLinkIdElement() {
if (mySequenceLinkId == null) {
mySequenceLinkId = new PositiveIntDt();
}
return mySequenceLinkId;
}
/**
* Gets the value(s) for sequenceLinkId ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A service line number.
*
*/
public Integer getSequenceLinkId() {
return getSequenceLinkIdElement().getValue();
}
/**
* Sets the value(s) for sequenceLinkId ()
*
*
* Definition:
* A service line number.
*
*/
public ItemDetail setSequenceLinkId(PositiveIntDt theValue) {
mySequenceLinkId = theValue;
return this;
}
/**
* Sets the value for sequenceLinkId ()
*
*
* Definition:
* A service line number.
*
*/
public ItemDetail setSequenceLinkId( int theInteger) {
mySequenceLinkId = new PositiveIntDt(theInteger);
return this;
}
/**
* Gets the value(s) for adjudication ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The adjudications results.
*
*/
public java.util.List getAdjudication() {
if (myAdjudication == null) {
myAdjudication = new java.util.ArrayList();
}
return myAdjudication;
}
/**
* Sets the value(s) for adjudication ()
*
*
* Definition:
* The adjudications results.
*
*/
public ItemDetail setAdjudication(java.util.List theValue) {
myAdjudication = theValue;
return this;
}
/**
* Adds and returns a new value for adjudication ()
*
*
* Definition:
* The adjudications results.
*
*/
public ItemDetailAdjudication addAdjudication() {
ItemDetailAdjudication newType = new ItemDetailAdjudication();
getAdjudication().add(newType);
return newType;
}
/**
* Adds a given new value for adjudication ()
*
*
* Definition:
* The adjudications results.
*
* @param theValue The adjudication to add (must not be null
)
*/
public ItemDetail addAdjudication(ItemDetailAdjudication theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getAdjudication().add(theValue);
return this;
}
/**
* Gets the first repetition for adjudication (),
* creating it if it does not already exist.
*
*
* Definition:
* The adjudications results.
*
*/
public ItemDetailAdjudication getAdjudicationFirstRep() {
if (getAdjudication().isEmpty()) {
return addAdjudication();
}
return getAdjudication().get(0);
}
/**
* Gets the value(s) for subDetail ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The third tier service adjudications for submitted services.
*
*/
public java.util.List getSubDetail() {
if (mySubDetail == null) {
mySubDetail = new java.util.ArrayList();
}
return mySubDetail;
}
/**
* Sets the value(s) for subDetail ()
*
*
* Definition:
* The third tier service adjudications for submitted services.
*
*/
public ItemDetail setSubDetail(java.util.List theValue) {
mySubDetail = theValue;
return this;
}
/**
* Adds and returns a new value for subDetail ()
*
*
* Definition:
* The third tier service adjudications for submitted services.
*
*/
public ItemDetailSubDetail addSubDetail() {
ItemDetailSubDetail newType = new ItemDetailSubDetail();
getSubDetail().add(newType);
return newType;
}
/**
* Adds a given new value for subDetail ()
*
*
* Definition:
* The third tier service adjudications for submitted services.
*
* @param theValue The subDetail to add (must not be null
)
*/
public ItemDetail addSubDetail(ItemDetailSubDetail theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getSubDetail().add(theValue);
return this;
}
/**
* Gets the first repetition for subDetail (),
* creating it if it does not already exist.
*
*
* Definition:
* The third tier service adjudications for submitted services.
*
*/
public ItemDetailSubDetail getSubDetailFirstRep() {
if (getSubDetail().isEmpty()) {
return addSubDetail();
}
return getSubDetail().get(0);
}
}
/**
* Block class for child element: ClaimResponse.item.detail.adjudication ()
*
*
* Definition:
* The adjudications results.
*
*/
@Block()
public static class ItemDetailAdjudication
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="code", type=CodingDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc."
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/valueset-adjudication")
private CodingDt myCode;
@Child(name="amount", type=MoneyDt.class, order=1, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Monetary amount associated with the code."
)
private MoneyDt myAmount;
@Child(name="value", type=DecimalDt.class, order=2, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A non-monetary value for example a percentage. Mutually exclusive to the amount element above."
)
private DecimalDt myValue;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myAmount, myValue);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myAmount, myValue);
}
/**
* Gets the value(s) for code ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.
*
*/
public CodingDt getCode() {
if (myCode == null) {
myCode = new CodingDt();
}
return myCode;
}
/**
* Sets the value(s) for code ()
*
*
* Definition:
* Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.
*
*/
public ItemDetailAdjudication setCode(CodingDt theValue) {
myCode = theValue;
return this;
}
/**
* Gets the value(s) for amount ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Monetary amount associated with the code.
*
*/
public MoneyDt getAmount() {
if (myAmount == null) {
myAmount = new MoneyDt();
}
return myAmount;
}
/**
* Sets the value(s) for amount ()
*
*
* Definition:
* Monetary amount associated with the code.
*
*/
public ItemDetailAdjudication setAmount(MoneyDt theValue) {
myAmount = theValue;
return this;
}
/**
* Gets the value(s) for value ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public DecimalDt getValueElement() {
if (myValue == null) {
myValue = new DecimalDt();
}
return myValue;
}
/**
* Gets the value(s) for value ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public BigDecimal getValue() {
return getValueElement().getValue();
}
/**
* Sets the value(s) for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public ItemDetailAdjudication setValue(DecimalDt theValue) {
myValue = theValue;
return this;
}
/**
* Sets the value for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public ItemDetailAdjudication setValue( double theValue) {
myValue = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public ItemDetailAdjudication setValue( long theValue) {
myValue = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public ItemDetailAdjudication setValue( java.math.BigDecimal theValue) {
myValue = new DecimalDt(theValue);
return this;
}
}
/**
* Block class for child element: ClaimResponse.item.detail.subDetail ()
*
*
* Definition:
* The third tier service adjudications for submitted services.
*
*/
@Block()
public static class ItemDetailSubDetail
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="sequenceLinkId", type=PositiveIntDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A service line number."
)
private PositiveIntDt mySequenceLinkId;
@Child(name="adjudication", order=1, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The adjudications results."
)
private java.util.List myAdjudication;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySequenceLinkId, myAdjudication);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySequenceLinkId, myAdjudication);
}
/**
* Gets the value(s) for sequenceLinkId ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A service line number.
*
*/
public PositiveIntDt getSequenceLinkIdElement() {
if (mySequenceLinkId == null) {
mySequenceLinkId = new PositiveIntDt();
}
return mySequenceLinkId;
}
/**
* Gets the value(s) for sequenceLinkId ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A service line number.
*
*/
public Integer getSequenceLinkId() {
return getSequenceLinkIdElement().getValue();
}
/**
* Sets the value(s) for sequenceLinkId ()
*
*
* Definition:
* A service line number.
*
*/
public ItemDetailSubDetail setSequenceLinkId(PositiveIntDt theValue) {
mySequenceLinkId = theValue;
return this;
}
/**
* Sets the value for sequenceLinkId ()
*
*
* Definition:
* A service line number.
*
*/
public ItemDetailSubDetail setSequenceLinkId( int theInteger) {
mySequenceLinkId = new PositiveIntDt(theInteger);
return this;
}
/**
* Gets the value(s) for adjudication ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The adjudications results.
*
*/
public java.util.List getAdjudication() {
if (myAdjudication == null) {
myAdjudication = new java.util.ArrayList();
}
return myAdjudication;
}
/**
* Sets the value(s) for adjudication ()
*
*
* Definition:
* The adjudications results.
*
*/
public ItemDetailSubDetail setAdjudication(java.util.List theValue) {
myAdjudication = theValue;
return this;
}
/**
* Adds and returns a new value for adjudication ()
*
*
* Definition:
* The adjudications results.
*
*/
public ItemDetailSubDetailAdjudication addAdjudication() {
ItemDetailSubDetailAdjudication newType = new ItemDetailSubDetailAdjudication();
getAdjudication().add(newType);
return newType;
}
/**
* Adds a given new value for adjudication ()
*
*
* Definition:
* The adjudications results.
*
* @param theValue The adjudication to add (must not be null
)
*/
public ItemDetailSubDetail addAdjudication(ItemDetailSubDetailAdjudication theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getAdjudication().add(theValue);
return this;
}
/**
* Gets the first repetition for adjudication (),
* creating it if it does not already exist.
*
*
* Definition:
* The adjudications results.
*
*/
public ItemDetailSubDetailAdjudication getAdjudicationFirstRep() {
if (getAdjudication().isEmpty()) {
return addAdjudication();
}
return getAdjudication().get(0);
}
}
/**
* Block class for child element: ClaimResponse.item.detail.subDetail.adjudication ()
*
*
* Definition:
* The adjudications results.
*
*/
@Block()
public static class ItemDetailSubDetailAdjudication
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="code", type=CodingDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc."
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/valueset-adjudication")
private CodingDt myCode;
@Child(name="amount", type=MoneyDt.class, order=1, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Monetary amount associated with the code."
)
private MoneyDt myAmount;
@Child(name="value", type=DecimalDt.class, order=2, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A non-monetary value for example a percentage. Mutually exclusive to the amount element above."
)
private DecimalDt myValue;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myAmount, myValue);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myAmount, myValue);
}
/**
* Gets the value(s) for code ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.
*
*/
public CodingDt getCode() {
if (myCode == null) {
myCode = new CodingDt();
}
return myCode;
}
/**
* Sets the value(s) for code ()
*
*
* Definition:
* Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.
*
*/
public ItemDetailSubDetailAdjudication setCode(CodingDt theValue) {
myCode = theValue;
return this;
}
/**
* Gets the value(s) for amount ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Monetary amount associated with the code.
*
*/
public MoneyDt getAmount() {
if (myAmount == null) {
myAmount = new MoneyDt();
}
return myAmount;
}
/**
* Sets the value(s) for amount ()
*
*
* Definition:
* Monetary amount associated with the code.
*
*/
public ItemDetailSubDetailAdjudication setAmount(MoneyDt theValue) {
myAmount = theValue;
return this;
}
/**
* Gets the value(s) for value ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public DecimalDt getValueElement() {
if (myValue == null) {
myValue = new DecimalDt();
}
return myValue;
}
/**
* Gets the value(s) for value ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public BigDecimal getValue() {
return getValueElement().getValue();
}
/**
* Sets the value(s) for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public ItemDetailSubDetailAdjudication setValue(DecimalDt theValue) {
myValue = theValue;
return this;
}
/**
* Sets the value for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public ItemDetailSubDetailAdjudication setValue( double theValue) {
myValue = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public ItemDetailSubDetailAdjudication setValue( long theValue) {
myValue = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public ItemDetailSubDetailAdjudication setValue( java.math.BigDecimal theValue) {
myValue = new DecimalDt(theValue);
return this;
}
}
/**
* Block class for child element: ClaimResponse.addItem ()
*
*
* Definition:
* The first tier service adjudications for payor added services.
*
*/
@Block()
public static class AddItem
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="sequenceLinkId", type=PositiveIntDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="List of input service items which this service line is intended to replace."
)
private java.util.List mySequenceLinkId;
@Child(name="service", type=CodingDt.class, order=1, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A code to indicate the Professional Service or Product supplied."
)
private CodingDt myService;
@Child(name="fee", type=MoneyDt.class, order=2, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The fee charged for the professional service or product.."
)
private MoneyDt myFee;
@Child(name="noteNumberLinkId", type=PositiveIntDt.class, order=3, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A list of note references to the notes provided below."
)
private java.util.List myNoteNumberLinkId;
@Child(name="adjudication", order=4, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The adjudications results."
)
private java.util.List myAdjudication;
@Child(name="detail", order=5, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The second tier service adjudications for payor added services."
)
private java.util.List myDetail;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySequenceLinkId, myService, myFee, myNoteNumberLinkId, myAdjudication, myDetail);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySequenceLinkId, myService, myFee, myNoteNumberLinkId, myAdjudication, myDetail);
}
/**
* Gets the value(s) for sequenceLinkId ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* List of input service items which this service line is intended to replace.
*
*/
public java.util.List getSequenceLinkId() {
if (mySequenceLinkId == null) {
mySequenceLinkId = new java.util.ArrayList();
}
return mySequenceLinkId;
}
/**
* Sets the value(s) for sequenceLinkId ()
*
*
* Definition:
* List of input service items which this service line is intended to replace.
*
*/
public AddItem setSequenceLinkId(java.util.List theValue) {
mySequenceLinkId = theValue;
return this;
}
/**
* Adds and returns a new value for sequenceLinkId ()
*
*
* Definition:
* List of input service items which this service line is intended to replace.
*
*/
public PositiveIntDt addSequenceLinkId() {
PositiveIntDt newType = new PositiveIntDt();
getSequenceLinkId().add(newType);
return newType;
}
/**
* Adds a given new value for sequenceLinkId ()
*
*
* Definition:
* List of input service items which this service line is intended to replace.
*
* @param theValue The sequenceLinkId to add (must not be null
)
*/
public AddItem addSequenceLinkId(PositiveIntDt theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getSequenceLinkId().add(theValue);
return this;
}
/**
* Gets the first repetition for sequenceLinkId (),
* creating it if it does not already exist.
*
*
* Definition:
* List of input service items which this service line is intended to replace.
*
*/
public PositiveIntDt getSequenceLinkIdFirstRep() {
if (getSequenceLinkId().isEmpty()) {
return addSequenceLinkId();
}
return getSequenceLinkId().get(0);
}
/**
* Adds a new value for sequenceLinkId ()
*
*
* Definition:
* List of input service items which this service line is intended to replace.
*
*
* @return Returns a reference to this object, to allow for simple chaining.
*/
public AddItem addSequenceLinkId( int theInteger) {
if (mySequenceLinkId == null) {
mySequenceLinkId = new java.util.ArrayList();
}
mySequenceLinkId.add(new PositiveIntDt(theInteger));
return this;
}
/**
* Gets the value(s) for service ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A code to indicate the Professional Service or Product supplied.
*
*/
public CodingDt getService() {
if (myService == null) {
myService = new CodingDt();
}
return myService;
}
/**
* Sets the value(s) for service ()
*
*
* Definition:
* A code to indicate the Professional Service or Product supplied.
*
*/
public AddItem setService(CodingDt theValue) {
myService = theValue;
return this;
}
/**
* Gets the value(s) for fee ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The fee charged for the professional service or product..
*
*/
public MoneyDt getFee() {
if (myFee == null) {
myFee = new MoneyDt();
}
return myFee;
}
/**
* Sets the value(s) for fee ()
*
*
* Definition:
* The fee charged for the professional service or product..
*
*/
public AddItem setFee(MoneyDt theValue) {
myFee = theValue;
return this;
}
/**
* Gets the value(s) for noteNumberLinkId ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A list of note references to the notes provided below.
*
*/
public java.util.List getNoteNumberLinkId() {
if (myNoteNumberLinkId == null) {
myNoteNumberLinkId = new java.util.ArrayList();
}
return myNoteNumberLinkId;
}
/**
* Sets the value(s) for noteNumberLinkId ()
*
*
* Definition:
* A list of note references to the notes provided below.
*
*/
public AddItem setNoteNumberLinkId(java.util.List theValue) {
myNoteNumberLinkId = theValue;
return this;
}
/**
* Adds and returns a new value for noteNumberLinkId ()
*
*
* Definition:
* A list of note references to the notes provided below.
*
*/
public PositiveIntDt addNoteNumberLinkId() {
PositiveIntDt newType = new PositiveIntDt();
getNoteNumberLinkId().add(newType);
return newType;
}
/**
* Adds a given new value for noteNumberLinkId ()
*
*
* Definition:
* A list of note references to the notes provided below.
*
* @param theValue The noteNumberLinkId to add (must not be null
)
*/
public AddItem addNoteNumberLinkId(PositiveIntDt theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getNoteNumberLinkId().add(theValue);
return this;
}
/**
* Gets the first repetition for noteNumberLinkId (),
* creating it if it does not already exist.
*
*
* Definition:
* A list of note references to the notes provided below.
*
*/
public PositiveIntDt getNoteNumberLinkIdFirstRep() {
if (getNoteNumberLinkId().isEmpty()) {
return addNoteNumberLinkId();
}
return getNoteNumberLinkId().get(0);
}
/**
* Adds a new value for noteNumberLinkId ()
*
*
* Definition:
* A list of note references to the notes provided below.
*
*
* @return Returns a reference to this object, to allow for simple chaining.
*/
public AddItem addNoteNumberLinkId( int theInteger) {
if (myNoteNumberLinkId == null) {
myNoteNumberLinkId = new java.util.ArrayList();
}
myNoteNumberLinkId.add(new PositiveIntDt(theInteger));
return this;
}
/**
* Gets the value(s) for adjudication ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The adjudications results.
*
*/
public java.util.List getAdjudication() {
if (myAdjudication == null) {
myAdjudication = new java.util.ArrayList();
}
return myAdjudication;
}
/**
* Sets the value(s) for adjudication ()
*
*
* Definition:
* The adjudications results.
*
*/
public AddItem setAdjudication(java.util.List theValue) {
myAdjudication = theValue;
return this;
}
/**
* Adds and returns a new value for adjudication ()
*
*
* Definition:
* The adjudications results.
*
*/
public AddItemAdjudication addAdjudication() {
AddItemAdjudication newType = new AddItemAdjudication();
getAdjudication().add(newType);
return newType;
}
/**
* Adds a given new value for adjudication ()
*
*
* Definition:
* The adjudications results.
*
* @param theValue The adjudication to add (must not be null
)
*/
public AddItem addAdjudication(AddItemAdjudication theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getAdjudication().add(theValue);
return this;
}
/**
* Gets the first repetition for adjudication (),
* creating it if it does not already exist.
*
*
* Definition:
* The adjudications results.
*
*/
public AddItemAdjudication getAdjudicationFirstRep() {
if (getAdjudication().isEmpty()) {
return addAdjudication();
}
return getAdjudication().get(0);
}
/**
* Gets the value(s) for detail ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The second tier service adjudications for payor added services.
*
*/
public java.util.List getDetail() {
if (myDetail == null) {
myDetail = new java.util.ArrayList();
}
return myDetail;
}
/**
* Sets the value(s) for detail ()
*
*
* Definition:
* The second tier service adjudications for payor added services.
*
*/
public AddItem setDetail(java.util.List theValue) {
myDetail = theValue;
return this;
}
/**
* Adds and returns a new value for detail ()
*
*
* Definition:
* The second tier service adjudications for payor added services.
*
*/
public AddItemDetail addDetail() {
AddItemDetail newType = new AddItemDetail();
getDetail().add(newType);
return newType;
}
/**
* Adds a given new value for detail ()
*
*
* Definition:
* The second tier service adjudications for payor added services.
*
* @param theValue The detail to add (must not be null
)
*/
public AddItem addDetail(AddItemDetail theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getDetail().add(theValue);
return this;
}
/**
* Gets the first repetition for detail (),
* creating it if it does not already exist.
*
*
* Definition:
* The second tier service adjudications for payor added services.
*
*/
public AddItemDetail getDetailFirstRep() {
if (getDetail().isEmpty()) {
return addDetail();
}
return getDetail().get(0);
}
}
/**
* Block class for child element: ClaimResponse.addItem.adjudication ()
*
*
* Definition:
* The adjudications results.
*
*/
@Block()
public static class AddItemAdjudication
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="code", type=CodingDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc."
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/valueset-adjudication")
private CodingDt myCode;
@Child(name="amount", type=MoneyDt.class, order=1, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Monetary amount associated with the code"
)
private MoneyDt myAmount;
@Child(name="value", type=DecimalDt.class, order=2, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A non-monetary value for example a percentage. Mutually exclusive to the amount element above."
)
private DecimalDt myValue;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myAmount, myValue);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myAmount, myValue);
}
/**
* Gets the value(s) for code ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.
*
*/
public CodingDt getCode() {
if (myCode == null) {
myCode = new CodingDt();
}
return myCode;
}
/**
* Sets the value(s) for code ()
*
*
* Definition:
* Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.
*
*/
public AddItemAdjudication setCode(CodingDt theValue) {
myCode = theValue;
return this;
}
/**
* Gets the value(s) for amount ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Monetary amount associated with the code
*
*/
public MoneyDt getAmount() {
if (myAmount == null) {
myAmount = new MoneyDt();
}
return myAmount;
}
/**
* Sets the value(s) for amount ()
*
*
* Definition:
* Monetary amount associated with the code
*
*/
public AddItemAdjudication setAmount(MoneyDt theValue) {
myAmount = theValue;
return this;
}
/**
* Gets the value(s) for value ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public DecimalDt getValueElement() {
if (myValue == null) {
myValue = new DecimalDt();
}
return myValue;
}
/**
* Gets the value(s) for value ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public BigDecimal getValue() {
return getValueElement().getValue();
}
/**
* Sets the value(s) for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public AddItemAdjudication setValue(DecimalDt theValue) {
myValue = theValue;
return this;
}
/**
* Sets the value for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public AddItemAdjudication setValue( double theValue) {
myValue = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public AddItemAdjudication setValue( long theValue) {
myValue = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public AddItemAdjudication setValue( java.math.BigDecimal theValue) {
myValue = new DecimalDt(theValue);
return this;
}
}
/**
* Block class for child element: ClaimResponse.addItem.detail ()
*
*
* Definition:
* The second tier service adjudications for payor added services.
*
*/
@Block()
public static class AddItemDetail
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="service", type=CodingDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A code to indicate the Professional Service or Product supplied."
)
private CodingDt myService;
@Child(name="fee", type=MoneyDt.class, order=1, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The fee charged for the professional service or product.."
)
private MoneyDt myFee;
@Child(name="adjudication", order=2, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The adjudications results."
)
private java.util.List myAdjudication;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myService, myFee, myAdjudication);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myService, myFee, myAdjudication);
}
/**
* Gets the value(s) for service ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A code to indicate the Professional Service or Product supplied.
*
*/
public CodingDt getService() {
if (myService == null) {
myService = new CodingDt();
}
return myService;
}
/**
* Sets the value(s) for service ()
*
*
* Definition:
* A code to indicate the Professional Service or Product supplied.
*
*/
public AddItemDetail setService(CodingDt theValue) {
myService = theValue;
return this;
}
/**
* Gets the value(s) for fee ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The fee charged for the professional service or product..
*
*/
public MoneyDt getFee() {
if (myFee == null) {
myFee = new MoneyDt();
}
return myFee;
}
/**
* Sets the value(s) for fee ()
*
*
* Definition:
* The fee charged for the professional service or product..
*
*/
public AddItemDetail setFee(MoneyDt theValue) {
myFee = theValue;
return this;
}
/**
* Gets the value(s) for adjudication ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The adjudications results.
*
*/
public java.util.List getAdjudication() {
if (myAdjudication == null) {
myAdjudication = new java.util.ArrayList();
}
return myAdjudication;
}
/**
* Sets the value(s) for adjudication ()
*
*
* Definition:
* The adjudications results.
*
*/
public AddItemDetail setAdjudication(java.util.List theValue) {
myAdjudication = theValue;
return this;
}
/**
* Adds and returns a new value for adjudication ()
*
*
* Definition:
* The adjudications results.
*
*/
public AddItemDetailAdjudication addAdjudication() {
AddItemDetailAdjudication newType = new AddItemDetailAdjudication();
getAdjudication().add(newType);
return newType;
}
/**
* Adds a given new value for adjudication ()
*
*
* Definition:
* The adjudications results.
*
* @param theValue The adjudication to add (must not be null
)
*/
public AddItemDetail addAdjudication(AddItemDetailAdjudication theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getAdjudication().add(theValue);
return this;
}
/**
* Gets the first repetition for adjudication (),
* creating it if it does not already exist.
*
*
* Definition:
* The adjudications results.
*
*/
public AddItemDetailAdjudication getAdjudicationFirstRep() {
if (getAdjudication().isEmpty()) {
return addAdjudication();
}
return getAdjudication().get(0);
}
}
/**
* Block class for child element: ClaimResponse.addItem.detail.adjudication ()
*
*
* Definition:
* The adjudications results.
*
*/
@Block()
public static class AddItemDetailAdjudication
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="code", type=CodingDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc."
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/valueset-adjudication")
private CodingDt myCode;
@Child(name="amount", type=MoneyDt.class, order=1, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="Monetary amount associated with the code"
)
private MoneyDt myAmount;
@Child(name="value", type=DecimalDt.class, order=2, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A non-monetary value for example a percentage. Mutually exclusive to the amount element above."
)
private DecimalDt myValue;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myAmount, myValue);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myAmount, myValue);
}
/**
* Gets the value(s) for code ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.
*
*/
public CodingDt getCode() {
if (myCode == null) {
myCode = new CodingDt();
}
return myCode;
}
/**
* Sets the value(s) for code ()
*
*
* Definition:
* Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.
*
*/
public AddItemDetailAdjudication setCode(CodingDt theValue) {
myCode = theValue;
return this;
}
/**
* Gets the value(s) for amount ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Monetary amount associated with the code
*
*/
public MoneyDt getAmount() {
if (myAmount == null) {
myAmount = new MoneyDt();
}
return myAmount;
}
/**
* Sets the value(s) for amount ()
*
*
* Definition:
* Monetary amount associated with the code
*
*/
public AddItemDetailAdjudication setAmount(MoneyDt theValue) {
myAmount = theValue;
return this;
}
/**
* Gets the value(s) for value ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public DecimalDt getValueElement() {
if (myValue == null) {
myValue = new DecimalDt();
}
return myValue;
}
/**
* Gets the value(s) for value ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public BigDecimal getValue() {
return getValueElement().getValue();
}
/**
* Sets the value(s) for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public AddItemDetailAdjudication setValue(DecimalDt theValue) {
myValue = theValue;
return this;
}
/**
* Sets the value for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public AddItemDetailAdjudication setValue( double theValue) {
myValue = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public AddItemDetailAdjudication setValue( long theValue) {
myValue = new DecimalDt(theValue);
return this;
}
/**
* Sets the value for value ()
*
*
* Definition:
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*
*/
public AddItemDetailAdjudication setValue( java.math.BigDecimal theValue) {
myValue = new DecimalDt(theValue);
return this;
}
}
/**
* Block class for child element: ClaimResponse.error ()
*
*
* Definition:
* Mutually exclusive with Services Provided (Item).
*
*/
@Block()
public static class Error
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="sequenceLinkId", type=PositiveIntDt.class, order=0, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The sequence number of the line item submitted which contains the error. This value is omitted when the error is elsewhere."
)
private PositiveIntDt mySequenceLinkId;
@Child(name="detailSequenceLinkId", type=PositiveIntDt.class, order=1, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The sequence number of the addition within the line item submitted which contains the error. This value is omitted when the error is not related to an Addition."
)
private PositiveIntDt myDetailSequenceLinkId;
@Child(name="subdetailSequenceLinkId", type=PositiveIntDt.class, order=2, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The sequence number of the addition within the line item submitted which contains the error. This value is omitted when the error is not related to an Addition."
)
private PositiveIntDt mySubdetailSequenceLinkId;
@Child(name="code", type=CodingDt.class, order=3, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="An error code,froma specified code system, which details why the claim could not be adjudicated."
)
private CodingDt myCode;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySequenceLinkId, myDetailSequenceLinkId, mySubdetailSequenceLinkId, myCode);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySequenceLinkId, myDetailSequenceLinkId, mySubdetailSequenceLinkId, myCode);
}
/**
* Gets the value(s) for sequenceLinkId ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The sequence number of the line item submitted which contains the error. This value is omitted when the error is elsewhere.
*
*/
public PositiveIntDt getSequenceLinkIdElement() {
if (mySequenceLinkId == null) {
mySequenceLinkId = new PositiveIntDt();
}
return mySequenceLinkId;
}
/**
* Gets the value(s) for sequenceLinkId ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The sequence number of the line item submitted which contains the error. This value is omitted when the error is elsewhere.
*
*/
public Integer getSequenceLinkId() {
return getSequenceLinkIdElement().getValue();
}
/**
* Sets the value(s) for sequenceLinkId ()
*
*
* Definition:
* The sequence number of the line item submitted which contains the error. This value is omitted when the error is elsewhere.
*
*/
public Error setSequenceLinkId(PositiveIntDt theValue) {
mySequenceLinkId = theValue;
return this;
}
/**
* Sets the value for sequenceLinkId ()
*
*
* Definition:
* The sequence number of the line item submitted which contains the error. This value is omitted when the error is elsewhere.
*
*/
public Error setSequenceLinkId( int theInteger) {
mySequenceLinkId = new PositiveIntDt(theInteger);
return this;
}
/**
* Gets the value(s) for detailSequenceLinkId ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The sequence number of the addition within the line item submitted which contains the error. This value is omitted when the error is not related to an Addition.
*
*/
public PositiveIntDt getDetailSequenceLinkIdElement() {
if (myDetailSequenceLinkId == null) {
myDetailSequenceLinkId = new PositiveIntDt();
}
return myDetailSequenceLinkId;
}
/**
* Gets the value(s) for detailSequenceLinkId ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The sequence number of the addition within the line item submitted which contains the error. This value is omitted when the error is not related to an Addition.
*
*/
public Integer getDetailSequenceLinkId() {
return getDetailSequenceLinkIdElement().getValue();
}
/**
* Sets the value(s) for detailSequenceLinkId ()
*
*
* Definition:
* The sequence number of the addition within the line item submitted which contains the error. This value is omitted when the error is not related to an Addition.
*
*/
public Error setDetailSequenceLinkId(PositiveIntDt theValue) {
myDetailSequenceLinkId = theValue;
return this;
}
/**
* Sets the value for detailSequenceLinkId ()
*
*
* Definition:
* The sequence number of the addition within the line item submitted which contains the error. This value is omitted when the error is not related to an Addition.
*
*/
public Error setDetailSequenceLinkId( int theInteger) {
myDetailSequenceLinkId = new PositiveIntDt(theInteger);
return this;
}
/**
* Gets the value(s) for subdetailSequenceLinkId ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The sequence number of the addition within the line item submitted which contains the error. This value is omitted when the error is not related to an Addition.
*
*/
public PositiveIntDt getSubdetailSequenceLinkIdElement() {
if (mySubdetailSequenceLinkId == null) {
mySubdetailSequenceLinkId = new PositiveIntDt();
}
return mySubdetailSequenceLinkId;
}
/**
* Gets the value(s) for subdetailSequenceLinkId ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The sequence number of the addition within the line item submitted which contains the error. This value is omitted when the error is not related to an Addition.
*
*/
public Integer getSubdetailSequenceLinkId() {
return getSubdetailSequenceLinkIdElement().getValue();
}
/**
* Sets the value(s) for subdetailSequenceLinkId ()
*
*
* Definition:
* The sequence number of the addition within the line item submitted which contains the error. This value is omitted when the error is not related to an Addition.
*
*/
public Error setSubdetailSequenceLinkId(PositiveIntDt theValue) {
mySubdetailSequenceLinkId = theValue;
return this;
}
/**
* Sets the value for subdetailSequenceLinkId ()
*
*
* Definition:
* The sequence number of the addition within the line item submitted which contains the error. This value is omitted when the error is not related to an Addition.
*
*/
public Error setSubdetailSequenceLinkId( int theInteger) {
mySubdetailSequenceLinkId = new PositiveIntDt(theInteger);
return this;
}
/**
* Gets the value(s) for code ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* An error code,froma specified code system, which details why the claim could not be adjudicated.
*
*/
public CodingDt getCode() {
if (myCode == null) {
myCode = new CodingDt();
}
return myCode;
}
/**
* Sets the value(s) for code ()
*
*
* Definition:
* An error code,froma specified code system, which details why the claim could not be adjudicated.
*
*/
public Error setCode(CodingDt theValue) {
myCode = theValue;
return this;
}
}
/**
* Block class for child element: ClaimResponse.note ()
*
*
* Definition:
* Note text
*
*/
@Block()
public static class Note
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="number", type=PositiveIntDt.class, order=0, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="An integer associated with each note which may be referred to from each service line item."
)
private PositiveIntDt myNumber;
@Child(name="type", type=CodingDt.class, order=1, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The note purpose: Print/Display."
)
@ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/note-type")
private CodingDt myType;
@Child(name="text", type=StringDt.class, order=2, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The note text."
)
private StringDt myText;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myNumber, myType, myText);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myNumber, myType, myText);
}
/**
* Gets the value(s) for number ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* An integer associated with each note which may be referred to from each service line item.
*
*/
public PositiveIntDt getNumberElement() {
if (myNumber == null) {
myNumber = new PositiveIntDt();
}
return myNumber;
}
/**
* Gets the value(s) for number ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* An integer associated with each note which may be referred to from each service line item.
*
*/
public Integer getNumber() {
return getNumberElement().getValue();
}
/**
* Sets the value(s) for number ()
*
*
* Definition:
* An integer associated with each note which may be referred to from each service line item.
*
*/
public Note setNumber(PositiveIntDt theValue) {
myNumber = theValue;
return this;
}
/**
* Sets the value for number ()
*
*
* Definition:
* An integer associated with each note which may be referred to from each service line item.
*
*/
public Note setNumber( int theInteger) {
myNumber = new PositiveIntDt(theInteger);
return this;
}
/**
* Gets the value(s) for type ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The note purpose: Print/Display.
*
*/
public CodingDt getType() {
if (myType == null) {
myType = new CodingDt();
}
return myType;
}
/**
* Sets the value(s) for type ()
*
*
* Definition:
* The note purpose: Print/Display.
*
*/
public Note setType(CodingDt theValue) {
myType = theValue;
return this;
}
/**
* Gets the value(s) for text ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The note text.
*
*/
public StringDt getTextElement() {
if (myText == null) {
myText = new StringDt();
}
return myText;
}
/**
* Gets the value(s) for text ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The note text.
*
*/
public String getText() {
return getTextElement().getValue();
}
/**
* Sets the value(s) for text ()
*
*
* Definition:
* The note text.
*
*/
public Note setText(StringDt theValue) {
myText = theValue;
return this;
}
/**
* Sets the value for text ()
*
*
* Definition:
* The note text.
*
*/
public Note setText( String theString) {
myText = new StringDt(theString);
return this;
}
}
/**
* Block class for child element: ClaimResponse.coverage ()
*
*
* Definition:
* Financial instrument by which payment information for health care
*
*/
@Block()
public static class Coverage
extends BaseIdentifiableElement
implements IResourceBlock {
@Child(name="sequence", type=PositiveIntDt.class, order=0, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A service line item."
)
private PositiveIntDt mySequence;
@Child(name="focal", type=BooleanDt.class, order=1, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated."
)
private BooleanDt myFocal;
@Child(name="coverage", order=2, min=1, max=1, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.Coverage.class
})
@Description(
shortDefinition="",
formalDefinition="Reference to the program or plan identification, underwriter or payor."
)
private ResourceReferenceDt myCoverage;
@Child(name="businessArrangement", type=StringDt.class, order=3, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The contract number of a business agreement which describes the terms and conditions."
)
private StringDt myBusinessArrangement;
@Child(name="relationship", type=CodingDt.class, order=4, min=1, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The relationship of the patient to the subscriber"
)
private CodingDt myRelationship;
@Child(name="preAuthRef", type=StringDt.class, order=5, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="A list of references from the Insurer to which these services pertain."
)
private java.util.List myPreAuthRef;
@Child(name="claimResponse", order=6, min=0, max=1, summary=false, modifier=false, type={
ca.uhn.fhir.model.dstu2.resource.ClaimResponse.class
})
@Description(
shortDefinition="",
formalDefinition="The Coverages adjudication details."
)
private ResourceReferenceDt myClaimResponse;
@Child(name="originalRuleset", type=CodingDt.class, order=7, min=0, max=1, summary=false, modifier=false)
@Description(
shortDefinition="",
formalDefinition="The style (standard) and version of the original material which was converted into this resource."
)
private CodingDt myOriginalRuleset;
@Override
public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySequence, myFocal, myCoverage, myBusinessArrangement, myRelationship, myPreAuthRef, myClaimResponse, myOriginalRuleset);
}
@Override
public List getAllPopulatedChildElementsOfType(Class theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySequence, myFocal, myCoverage, myBusinessArrangement, myRelationship, myPreAuthRef, myClaimResponse, myOriginalRuleset);
}
/**
* Gets the value(s) for sequence ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A service line item.
*
*/
public PositiveIntDt getSequenceElement() {
if (mySequence == null) {
mySequence = new PositiveIntDt();
}
return mySequence;
}
/**
* Gets the value(s) for sequence ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* A service line item.
*
*/
public Integer getSequence() {
return getSequenceElement().getValue();
}
/**
* Sets the value(s) for sequence ()
*
*
* Definition:
* A service line item.
*
*/
public Coverage setSequence(PositiveIntDt theValue) {
mySequence = theValue;
return this;
}
/**
* Sets the value for sequence ()
*
*
* Definition:
* A service line item.
*
*/
public Coverage setSequence( int theInteger) {
mySequence = new PositiveIntDt(theInteger);
return this;
}
/**
* Gets the value(s) for focal ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated.
*
*/
public BooleanDt getFocalElement() {
if (myFocal == null) {
myFocal = new BooleanDt();
}
return myFocal;
}
/**
* Gets the value(s) for focal ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated.
*
*/
public Boolean getFocal() {
return getFocalElement().getValue();
}
/**
* Sets the value(s) for focal ()
*
*
* Definition:
* The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated.
*
*/
public Coverage setFocal(BooleanDt theValue) {
myFocal = theValue;
return this;
}
/**
* Sets the value for focal ()
*
*
* Definition:
* The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated.
*
*/
public Coverage setFocal( boolean theBoolean) {
myFocal = new BooleanDt(theBoolean);
return this;
}
/**
* Gets the value(s) for coverage ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* Reference to the program or plan identification, underwriter or payor.
*
*/
public ResourceReferenceDt getCoverage() {
if (myCoverage == null) {
myCoverage = new ResourceReferenceDt();
}
return myCoverage;
}
/**
* Sets the value(s) for coverage ()
*
*
* Definition:
* Reference to the program or plan identification, underwriter or payor.
*
*/
public Coverage setCoverage(ResourceReferenceDt theValue) {
myCoverage = theValue;
return this;
}
/**
* Gets the value(s) for businessArrangement ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The contract number of a business agreement which describes the terms and conditions.
*
*/
public StringDt getBusinessArrangementElement() {
if (myBusinessArrangement == null) {
myBusinessArrangement = new StringDt();
}
return myBusinessArrangement;
}
/**
* Gets the value(s) for businessArrangement ().
* creating it if it does
* not exist. This method may return null
.
*
*
* Definition:
* The contract number of a business agreement which describes the terms and conditions.
*
*/
public String getBusinessArrangement() {
return getBusinessArrangementElement().getValue();
}
/**
* Sets the value(s) for businessArrangement ()
*
*
* Definition:
* The contract number of a business agreement which describes the terms and conditions.
*
*/
public Coverage setBusinessArrangement(StringDt theValue) {
myBusinessArrangement = theValue;
return this;
}
/**
* Sets the value for businessArrangement ()
*
*
* Definition:
* The contract number of a business agreement which describes the terms and conditions.
*
*/
public Coverage setBusinessArrangement( String theString) {
myBusinessArrangement = new StringDt(theString);
return this;
}
/**
* Gets the value(s) for relationship ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The relationship of the patient to the subscriber
*
*/
public CodingDt getRelationship() {
if (myRelationship == null) {
myRelationship = new CodingDt();
}
return myRelationship;
}
/**
* Sets the value(s) for relationship ()
*
*
* Definition:
* The relationship of the patient to the subscriber
*
*/
public Coverage setRelationship(CodingDt theValue) {
myRelationship = theValue;
return this;
}
/**
* Gets the value(s) for preAuthRef ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* A list of references from the Insurer to which these services pertain.
*
*/
public java.util.List getPreAuthRef() {
if (myPreAuthRef == null) {
myPreAuthRef = new java.util.ArrayList();
}
return myPreAuthRef;
}
/**
* Sets the value(s) for preAuthRef ()
*
*
* Definition:
* A list of references from the Insurer to which these services pertain.
*
*/
public Coverage setPreAuthRef(java.util.List theValue) {
myPreAuthRef = theValue;
return this;
}
/**
* Adds and returns a new value for preAuthRef ()
*
*
* Definition:
* A list of references from the Insurer to which these services pertain.
*
*/
public StringDt addPreAuthRef() {
StringDt newType = new StringDt();
getPreAuthRef().add(newType);
return newType;
}
/**
* Adds a given new value for preAuthRef ()
*
*
* Definition:
* A list of references from the Insurer to which these services pertain.
*
* @param theValue The preAuthRef to add (must not be null
)
*/
public Coverage addPreAuthRef(StringDt theValue) {
if (theValue == null) {
throw new NullPointerException("theValue must not be null");
}
getPreAuthRef().add(theValue);
return this;
}
/**
* Gets the first repetition for preAuthRef (),
* creating it if it does not already exist.
*
*
* Definition:
* A list of references from the Insurer to which these services pertain.
*
*/
public StringDt getPreAuthRefFirstRep() {
if (getPreAuthRef().isEmpty()) {
return addPreAuthRef();
}
return getPreAuthRef().get(0);
}
/**
* Adds a new value for preAuthRef ()
*
*
* Definition:
* A list of references from the Insurer to which these services pertain.
*
*
* @return Returns a reference to this object, to allow for simple chaining.
*/
public Coverage addPreAuthRef( String theString) {
if (myPreAuthRef == null) {
myPreAuthRef = new java.util.ArrayList();
}
myPreAuthRef.add(new StringDt(theString));
return this;
}
/**
* Gets the value(s) for claimResponse ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The Coverages adjudication details.
*
*/
public ResourceReferenceDt getClaimResponse() {
if (myClaimResponse == null) {
myClaimResponse = new ResourceReferenceDt();
}
return myClaimResponse;
}
/**
* Sets the value(s) for claimResponse ()
*
*
* Definition:
* The Coverages adjudication details.
*
*/
public Coverage setClaimResponse(ResourceReferenceDt theValue) {
myClaimResponse = theValue;
return this;
}
/**
* Gets the value(s) for originalRuleset ().
* creating it if it does
* not exist. Will not return null
.
*
*
* Definition:
* The style (standard) and version of the original material which was converted into this resource.
*
*/
public CodingDt getOriginalRuleset() {
if (myOriginalRuleset == null) {
myOriginalRuleset = new CodingDt();
}
return myOriginalRuleset;
}
/**
* Sets the value(s) for originalRuleset ()
*
*
* Definition:
* The style (standard) and version of the original material which was converted into this resource.
*
*/
public Coverage setOriginalRuleset(CodingDt theValue) {
myOriginalRuleset = theValue;
return this;
}
}
@Override
public String getResourceName() {
return "ClaimResponse";
}
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() {
return ca.uhn.fhir.context.FhirVersionEnum.DSTU2;
}
}