blob: 40fbf72bde69ad942f8695d8afcd776c7b78044c [file] [log] [blame]
/**
*/
package org.hl7.fhir.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
import org.hl7.fhir.Address;
import org.hl7.fhir.Coding;
import org.hl7.fhir.Date;
import org.hl7.fhir.DateTime;
import org.hl7.fhir.ExplanationOfBenefit;
import org.hl7.fhir.ExplanationOfBenefitAddItem;
import org.hl7.fhir.ExplanationOfBenefitBenefitBalance;
import org.hl7.fhir.ExplanationOfBenefitCoverage;
import org.hl7.fhir.ExplanationOfBenefitDiagnosis;
import org.hl7.fhir.ExplanationOfBenefitItem;
import org.hl7.fhir.ExplanationOfBenefitMissingTeeth;
import org.hl7.fhir.ExplanationOfBenefitNote;
import org.hl7.fhir.ExplanationOfBenefitPayee;
import org.hl7.fhir.FhirPackage;
import org.hl7.fhir.Identifier;
import org.hl7.fhir.Money;
import org.hl7.fhir.Period;
import org.hl7.fhir.PositiveInt;
import org.hl7.fhir.Reference;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Explanation Of Benefit</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* </p>
* <ul>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getIdentifier <em>Identifier</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getClaim <em>Claim</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getClaimResponse <em>Claim Response</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getRuleset <em>Ruleset</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getOriginalRuleset <em>Original Ruleset</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getCreated <em>Created</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getBillablePeriod <em>Billable Period</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getDisposition <em>Disposition</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getProvider <em>Provider</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getOrganization <em>Organization</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getFacility <em>Facility</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getRelatedClaim <em>Related Claim</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getPrescription <em>Prescription</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getOriginalPrescription <em>Original Prescription</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getPayee <em>Payee</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getReferral <em>Referral</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getDiagnosis <em>Diagnosis</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getSpecialCondition <em>Special Condition</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getPatient <em>Patient</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getPrecedence <em>Precedence</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getCoverage <em>Coverage</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getException <em>Exception</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getSchool <em>School</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getAccidentDate <em>Accident Date</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getAccidentType <em>Accident Type</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getAccidentLocationString <em>Accident Location String</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getAccidentLocationAddress <em>Accident Location Address</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getAccidentLocationReference <em>Accident Location Reference</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getInterventionException <em>Intervention Exception</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getOnsetDate <em>Onset Date</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getOnsetPeriod <em>Onset Period</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getEmploymentImpacted <em>Employment Impacted</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getHospitalization <em>Hospitalization</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getItem <em>Item</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getAddItem <em>Add Item</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getClaimTotal <em>Claim Total</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getMissingTeeth <em>Missing Teeth</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getUnallocDeductable <em>Unalloc Deductable</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getTotalBenefit <em>Total Benefit</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getPaymentAdjustment <em>Payment Adjustment</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getPaymentAdjustmentReason <em>Payment Adjustment Reason</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getPaymentDate <em>Payment Date</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getPaymentAmount <em>Payment Amount</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getPaymentRef <em>Payment Ref</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getReserved <em>Reserved</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getForm <em>Form</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getNote <em>Note</em>}</li>
* <li>{@link org.hl7.fhir.impl.ExplanationOfBenefitImpl#getBenefitBalance <em>Benefit Balance</em>}</li>
* </ul>
*
* @generated
*/
public class ExplanationOfBenefitImpl extends DomainResourceImpl implements ExplanationOfBenefit {
/**
* The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getIdentifier()
* @generated
* @ordered
*/
protected EList<Identifier> identifier;
/**
* The cached value of the '{@link #getClaim() <em>Claim</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getClaim()
* @generated
* @ordered
*/
protected Reference claim;
/**
* The cached value of the '{@link #getClaimResponse() <em>Claim Response</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getClaimResponse()
* @generated
* @ordered
*/
protected Reference claimResponse;
/**
* The cached value of the '{@link #getRuleset() <em>Ruleset</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getRuleset()
* @generated
* @ordered
*/
protected Coding ruleset;
/**
* The cached value of the '{@link #getOriginalRuleset() <em>Original Ruleset</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOriginalRuleset()
* @generated
* @ordered
*/
protected Coding originalRuleset;
/**
* The cached value of the '{@link #getCreated() <em>Created</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getCreated()
* @generated
* @ordered
*/
protected DateTime created;
/**
* The cached value of the '{@link #getBillablePeriod() <em>Billable Period</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getBillablePeriod()
* @generated
* @ordered
*/
protected Period billablePeriod;
/**
* The cached value of the '{@link #getDisposition() <em>Disposition</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getDisposition()
* @generated
* @ordered
*/
protected org.hl7.fhir.String disposition;
/**
* The cached value of the '{@link #getProvider() <em>Provider</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getProvider()
* @generated
* @ordered
*/
protected Reference provider;
/**
* The cached value of the '{@link #getOrganization() <em>Organization</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOrganization()
* @generated
* @ordered
*/
protected Reference organization;
/**
* The cached value of the '{@link #getFacility() <em>Facility</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getFacility()
* @generated
* @ordered
*/
protected Reference facility;
/**
* The cached value of the '{@link #getRelatedClaim() <em>Related Claim</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getRelatedClaim()
* @generated
* @ordered
*/
protected EList<Reference> relatedClaim;
/**
* The cached value of the '{@link #getPrescription() <em>Prescription</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPrescription()
* @generated
* @ordered
*/
protected Reference prescription;
/**
* The cached value of the '{@link #getOriginalPrescription() <em>Original Prescription</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOriginalPrescription()
* @generated
* @ordered
*/
protected Reference originalPrescription;
/**
* The cached value of the '{@link #getPayee() <em>Payee</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPayee()
* @generated
* @ordered
*/
protected ExplanationOfBenefitPayee payee;
/**
* The cached value of the '{@link #getReferral() <em>Referral</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getReferral()
* @generated
* @ordered
*/
protected Reference referral;
/**
* The cached value of the '{@link #getDiagnosis() <em>Diagnosis</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getDiagnosis()
* @generated
* @ordered
*/
protected EList<ExplanationOfBenefitDiagnosis> diagnosis;
/**
* The cached value of the '{@link #getSpecialCondition() <em>Special Condition</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getSpecialCondition()
* @generated
* @ordered
*/
protected EList<Coding> specialCondition;
/**
* The cached value of the '{@link #getPatient() <em>Patient</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPatient()
* @generated
* @ordered
*/
protected Reference patient;
/**
* The cached value of the '{@link #getPrecedence() <em>Precedence</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPrecedence()
* @generated
* @ordered
*/
protected PositiveInt precedence;
/**
* The cached value of the '{@link #getCoverage() <em>Coverage</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getCoverage()
* @generated
* @ordered
*/
protected ExplanationOfBenefitCoverage coverage;
/**
* The cached value of the '{@link #getException() <em>Exception</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getException()
* @generated
* @ordered
*/
protected EList<Coding> exception;
/**
* The cached value of the '{@link #getSchool() <em>School</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getSchool()
* @generated
* @ordered
*/
protected org.hl7.fhir.String school;
/**
* The cached value of the '{@link #getAccidentDate() <em>Accident Date</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAccidentDate()
* @generated
* @ordered
*/
protected Date accidentDate;
/**
* The cached value of the '{@link #getAccidentType() <em>Accident Type</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAccidentType()
* @generated
* @ordered
*/
protected Coding accidentType;
/**
* The cached value of the '{@link #getAccidentLocationString() <em>Accident Location String</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAccidentLocationString()
* @generated
* @ordered
*/
protected org.hl7.fhir.String accidentLocationString;
/**
* The cached value of the '{@link #getAccidentLocationAddress() <em>Accident Location Address</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAccidentLocationAddress()
* @generated
* @ordered
*/
protected Address accidentLocationAddress;
/**
* The cached value of the '{@link #getAccidentLocationReference() <em>Accident Location Reference</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAccidentLocationReference()
* @generated
* @ordered
*/
protected Reference accidentLocationReference;
/**
* The cached value of the '{@link #getInterventionException() <em>Intervention Exception</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getInterventionException()
* @generated
* @ordered
*/
protected EList<Coding> interventionException;
/**
* The cached value of the '{@link #getOnsetDate() <em>Onset Date</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnsetDate()
* @generated
* @ordered
*/
protected Date onsetDate;
/**
* The cached value of the '{@link #getOnsetPeriod() <em>Onset Period</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnsetPeriod()
* @generated
* @ordered
*/
protected Period onsetPeriod;
/**
* The cached value of the '{@link #getEmploymentImpacted() <em>Employment Impacted</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getEmploymentImpacted()
* @generated
* @ordered
*/
protected Period employmentImpacted;
/**
* The cached value of the '{@link #getHospitalization() <em>Hospitalization</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getHospitalization()
* @generated
* @ordered
*/
protected Period hospitalization;
/**
* The cached value of the '{@link #getItem() <em>Item</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getItem()
* @generated
* @ordered
*/
protected EList<ExplanationOfBenefitItem> item;
/**
* The cached value of the '{@link #getAddItem() <em>Add Item</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAddItem()
* @generated
* @ordered
*/
protected EList<ExplanationOfBenefitAddItem> addItem;
/**
* The cached value of the '{@link #getClaimTotal() <em>Claim Total</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getClaimTotal()
* @generated
* @ordered
*/
protected Money claimTotal;
/**
* The cached value of the '{@link #getMissingTeeth() <em>Missing Teeth</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getMissingTeeth()
* @generated
* @ordered
*/
protected EList<ExplanationOfBenefitMissingTeeth> missingTeeth;
/**
* The cached value of the '{@link #getUnallocDeductable() <em>Unalloc Deductable</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getUnallocDeductable()
* @generated
* @ordered
*/
protected Money unallocDeductable;
/**
* The cached value of the '{@link #getTotalBenefit() <em>Total Benefit</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTotalBenefit()
* @generated
* @ordered
*/
protected Money totalBenefit;
/**
* The cached value of the '{@link #getPaymentAdjustment() <em>Payment Adjustment</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPaymentAdjustment()
* @generated
* @ordered
*/
protected Money paymentAdjustment;
/**
* The cached value of the '{@link #getPaymentAdjustmentReason() <em>Payment Adjustment Reason</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPaymentAdjustmentReason()
* @generated
* @ordered
*/
protected Coding paymentAdjustmentReason;
/**
* The cached value of the '{@link #getPaymentDate() <em>Payment Date</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPaymentDate()
* @generated
* @ordered
*/
protected Date paymentDate;
/**
* The cached value of the '{@link #getPaymentAmount() <em>Payment Amount</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPaymentAmount()
* @generated
* @ordered
*/
protected Money paymentAmount;
/**
* The cached value of the '{@link #getPaymentRef() <em>Payment Ref</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPaymentRef()
* @generated
* @ordered
*/
protected Identifier paymentRef;
/**
* The cached value of the '{@link #getReserved() <em>Reserved</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getReserved()
* @generated
* @ordered
*/
protected Coding reserved;
/**
* The cached value of the '{@link #getForm() <em>Form</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getForm()
* @generated
* @ordered
*/
protected Coding form;
/**
* The cached value of the '{@link #getNote() <em>Note</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getNote()
* @generated
* @ordered
*/
protected EList<ExplanationOfBenefitNote> note;
/**
* The cached value of the '{@link #getBenefitBalance() <em>Benefit Balance</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getBenefitBalance()
* @generated
* @ordered
*/
protected EList<ExplanationOfBenefitBenefitBalance> benefitBalance;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected ExplanationOfBenefitImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return FhirPackage.eINSTANCE.getExplanationOfBenefit();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<Identifier> getIdentifier() {
if (identifier == null) {
identifier = new EObjectContainmentEList<Identifier>(Identifier.class, this, FhirPackage.EXPLANATION_OF_BENEFIT__IDENTIFIER);
}
return identifier;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Reference getClaim() {
return claim;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetClaim(Reference newClaim, NotificationChain msgs) {
Reference oldClaim = claim;
claim = newClaim;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM, oldClaim, newClaim);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setClaim(Reference newClaim) {
if (newClaim != claim) {
NotificationChain msgs = null;
if (claim != null)
msgs = ((InternalEObject)claim).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM, null, msgs);
if (newClaim != null)
msgs = ((InternalEObject)newClaim).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM, null, msgs);
msgs = basicSetClaim(newClaim, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM, newClaim, newClaim));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Reference getClaimResponse() {
return claimResponse;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetClaimResponse(Reference newClaimResponse, NotificationChain msgs) {
Reference oldClaimResponse = claimResponse;
claimResponse = newClaimResponse;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_RESPONSE, oldClaimResponse, newClaimResponse);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setClaimResponse(Reference newClaimResponse) {
if (newClaimResponse != claimResponse) {
NotificationChain msgs = null;
if (claimResponse != null)
msgs = ((InternalEObject)claimResponse).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_RESPONSE, null, msgs);
if (newClaimResponse != null)
msgs = ((InternalEObject)newClaimResponse).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_RESPONSE, null, msgs);
msgs = basicSetClaimResponse(newClaimResponse, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_RESPONSE, newClaimResponse, newClaimResponse));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Coding getRuleset() {
return ruleset;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetRuleset(Coding newRuleset, NotificationChain msgs) {
Coding oldRuleset = ruleset;
ruleset = newRuleset;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__RULESET, oldRuleset, newRuleset);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setRuleset(Coding newRuleset) {
if (newRuleset != ruleset) {
NotificationChain msgs = null;
if (ruleset != null)
msgs = ((InternalEObject)ruleset).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__RULESET, null, msgs);
if (newRuleset != null)
msgs = ((InternalEObject)newRuleset).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__RULESET, null, msgs);
msgs = basicSetRuleset(newRuleset, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__RULESET, newRuleset, newRuleset));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Coding getOriginalRuleset() {
return originalRuleset;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetOriginalRuleset(Coding newOriginalRuleset, NotificationChain msgs) {
Coding oldOriginalRuleset = originalRuleset;
originalRuleset = newOriginalRuleset;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_RULESET, oldOriginalRuleset, newOriginalRuleset);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOriginalRuleset(Coding newOriginalRuleset) {
if (newOriginalRuleset != originalRuleset) {
NotificationChain msgs = null;
if (originalRuleset != null)
msgs = ((InternalEObject)originalRuleset).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_RULESET, null, msgs);
if (newOriginalRuleset != null)
msgs = ((InternalEObject)newOriginalRuleset).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_RULESET, null, msgs);
msgs = basicSetOriginalRuleset(newOriginalRuleset, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_RULESET, newOriginalRuleset, newOriginalRuleset));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public DateTime getCreated() {
return created;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetCreated(DateTime newCreated, NotificationChain msgs) {
DateTime oldCreated = created;
created = newCreated;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__CREATED, oldCreated, newCreated);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCreated(DateTime newCreated) {
if (newCreated != created) {
NotificationChain msgs = null;
if (created != null)
msgs = ((InternalEObject)created).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__CREATED, null, msgs);
if (newCreated != null)
msgs = ((InternalEObject)newCreated).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__CREATED, null, msgs);
msgs = basicSetCreated(newCreated, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__CREATED, newCreated, newCreated));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Period getBillablePeriod() {
return billablePeriod;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetBillablePeriod(Period newBillablePeriod, NotificationChain msgs) {
Period oldBillablePeriod = billablePeriod;
billablePeriod = newBillablePeriod;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__BILLABLE_PERIOD, oldBillablePeriod, newBillablePeriod);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setBillablePeriod(Period newBillablePeriod) {
if (newBillablePeriod != billablePeriod) {
NotificationChain msgs = null;
if (billablePeriod != null)
msgs = ((InternalEObject)billablePeriod).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__BILLABLE_PERIOD, null, msgs);
if (newBillablePeriod != null)
msgs = ((InternalEObject)newBillablePeriod).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__BILLABLE_PERIOD, null, msgs);
msgs = basicSetBillablePeriod(newBillablePeriod, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__BILLABLE_PERIOD, newBillablePeriod, newBillablePeriod));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public org.hl7.fhir.String getDisposition() {
return disposition;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetDisposition(org.hl7.fhir.String newDisposition, NotificationChain msgs) {
org.hl7.fhir.String oldDisposition = disposition;
disposition = newDisposition;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__DISPOSITION, oldDisposition, newDisposition);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setDisposition(org.hl7.fhir.String newDisposition) {
if (newDisposition != disposition) {
NotificationChain msgs = null;
if (disposition != null)
msgs = ((InternalEObject)disposition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__DISPOSITION, null, msgs);
if (newDisposition != null)
msgs = ((InternalEObject)newDisposition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__DISPOSITION, null, msgs);
msgs = basicSetDisposition(newDisposition, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__DISPOSITION, newDisposition, newDisposition));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Reference getProvider() {
return provider;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetProvider(Reference newProvider, NotificationChain msgs) {
Reference oldProvider = provider;
provider = newProvider;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PROVIDER, oldProvider, newProvider);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setProvider(Reference newProvider) {
if (newProvider != provider) {
NotificationChain msgs = null;
if (provider != null)
msgs = ((InternalEObject)provider).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PROVIDER, null, msgs);
if (newProvider != null)
msgs = ((InternalEObject)newProvider).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PROVIDER, null, msgs);
msgs = basicSetProvider(newProvider, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PROVIDER, newProvider, newProvider));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Reference getOrganization() {
return organization;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetOrganization(Reference newOrganization, NotificationChain msgs) {
Reference oldOrganization = organization;
organization = newOrganization;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ORGANIZATION, oldOrganization, newOrganization);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOrganization(Reference newOrganization) {
if (newOrganization != organization) {
NotificationChain msgs = null;
if (organization != null)
msgs = ((InternalEObject)organization).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ORGANIZATION, null, msgs);
if (newOrganization != null)
msgs = ((InternalEObject)newOrganization).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ORGANIZATION, null, msgs);
msgs = basicSetOrganization(newOrganization, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ORGANIZATION, newOrganization, newOrganization));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Reference getFacility() {
return facility;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetFacility(Reference newFacility, NotificationChain msgs) {
Reference oldFacility = facility;
facility = newFacility;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__FACILITY, oldFacility, newFacility);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setFacility(Reference newFacility) {
if (newFacility != facility) {
NotificationChain msgs = null;
if (facility != null)
msgs = ((InternalEObject)facility).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__FACILITY, null, msgs);
if (newFacility != null)
msgs = ((InternalEObject)newFacility).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__FACILITY, null, msgs);
msgs = basicSetFacility(newFacility, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__FACILITY, newFacility, newFacility));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<Reference> getRelatedClaim() {
if (relatedClaim == null) {
relatedClaim = new EObjectContainmentEList<Reference>(Reference.class, this, FhirPackage.EXPLANATION_OF_BENEFIT__RELATED_CLAIM);
}
return relatedClaim;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Reference getPrescription() {
return prescription;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetPrescription(Reference newPrescription, NotificationChain msgs) {
Reference oldPrescription = prescription;
prescription = newPrescription;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PRESCRIPTION, oldPrescription, newPrescription);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setPrescription(Reference newPrescription) {
if (newPrescription != prescription) {
NotificationChain msgs = null;
if (prescription != null)
msgs = ((InternalEObject)prescription).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PRESCRIPTION, null, msgs);
if (newPrescription != null)
msgs = ((InternalEObject)newPrescription).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PRESCRIPTION, null, msgs);
msgs = basicSetPrescription(newPrescription, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PRESCRIPTION, newPrescription, newPrescription));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Reference getOriginalPrescription() {
return originalPrescription;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetOriginalPrescription(Reference newOriginalPrescription, NotificationChain msgs) {
Reference oldOriginalPrescription = originalPrescription;
originalPrescription = newOriginalPrescription;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_PRESCRIPTION, oldOriginalPrescription, newOriginalPrescription);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOriginalPrescription(Reference newOriginalPrescription) {
if (newOriginalPrescription != originalPrescription) {
NotificationChain msgs = null;
if (originalPrescription != null)
msgs = ((InternalEObject)originalPrescription).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_PRESCRIPTION, null, msgs);
if (newOriginalPrescription != null)
msgs = ((InternalEObject)newOriginalPrescription).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_PRESCRIPTION, null, msgs);
msgs = basicSetOriginalPrescription(newOriginalPrescription, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_PRESCRIPTION, newOriginalPrescription, newOriginalPrescription));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ExplanationOfBenefitPayee getPayee() {
return payee;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetPayee(ExplanationOfBenefitPayee newPayee, NotificationChain msgs) {
ExplanationOfBenefitPayee oldPayee = payee;
payee = newPayee;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PAYEE, oldPayee, newPayee);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setPayee(ExplanationOfBenefitPayee newPayee) {
if (newPayee != payee) {
NotificationChain msgs = null;
if (payee != null)
msgs = ((InternalEObject)payee).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PAYEE, null, msgs);
if (newPayee != null)
msgs = ((InternalEObject)newPayee).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PAYEE, null, msgs);
msgs = basicSetPayee(newPayee, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PAYEE, newPayee, newPayee));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Reference getReferral() {
return referral;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetReferral(Reference newReferral, NotificationChain msgs) {
Reference oldReferral = referral;
referral = newReferral;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__REFERRAL, oldReferral, newReferral);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setReferral(Reference newReferral) {
if (newReferral != referral) {
NotificationChain msgs = null;
if (referral != null)
msgs = ((InternalEObject)referral).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__REFERRAL, null, msgs);
if (newReferral != null)
msgs = ((InternalEObject)newReferral).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__REFERRAL, null, msgs);
msgs = basicSetReferral(newReferral, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__REFERRAL, newReferral, newReferral));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<ExplanationOfBenefitDiagnosis> getDiagnosis() {
if (diagnosis == null) {
diagnosis = new EObjectContainmentEList<ExplanationOfBenefitDiagnosis>(ExplanationOfBenefitDiagnosis.class, this, FhirPackage.EXPLANATION_OF_BENEFIT__DIAGNOSIS);
}
return diagnosis;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<Coding> getSpecialCondition() {
if (specialCondition == null) {
specialCondition = new EObjectContainmentEList<Coding>(Coding.class, this, FhirPackage.EXPLANATION_OF_BENEFIT__SPECIAL_CONDITION);
}
return specialCondition;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Reference getPatient() {
return patient;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetPatient(Reference newPatient, NotificationChain msgs) {
Reference oldPatient = patient;
patient = newPatient;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PATIENT, oldPatient, newPatient);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setPatient(Reference newPatient) {
if (newPatient != patient) {
NotificationChain msgs = null;
if (patient != null)
msgs = ((InternalEObject)patient).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PATIENT, null, msgs);
if (newPatient != null)
msgs = ((InternalEObject)newPatient).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PATIENT, null, msgs);
msgs = basicSetPatient(newPatient, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PATIENT, newPatient, newPatient));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PositiveInt getPrecedence() {
return precedence;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetPrecedence(PositiveInt newPrecedence, NotificationChain msgs) {
PositiveInt oldPrecedence = precedence;
precedence = newPrecedence;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PRECEDENCE, oldPrecedence, newPrecedence);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setPrecedence(PositiveInt newPrecedence) {
if (newPrecedence != precedence) {
NotificationChain msgs = null;
if (precedence != null)
msgs = ((InternalEObject)precedence).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PRECEDENCE, null, msgs);
if (newPrecedence != null)
msgs = ((InternalEObject)newPrecedence).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PRECEDENCE, null, msgs);
msgs = basicSetPrecedence(newPrecedence, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PRECEDENCE, newPrecedence, newPrecedence));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ExplanationOfBenefitCoverage getCoverage() {
return coverage;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetCoverage(ExplanationOfBenefitCoverage newCoverage, NotificationChain msgs) {
ExplanationOfBenefitCoverage oldCoverage = coverage;
coverage = newCoverage;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__COVERAGE, oldCoverage, newCoverage);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCoverage(ExplanationOfBenefitCoverage newCoverage) {
if (newCoverage != coverage) {
NotificationChain msgs = null;
if (coverage != null)
msgs = ((InternalEObject)coverage).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__COVERAGE, null, msgs);
if (newCoverage != null)
msgs = ((InternalEObject)newCoverage).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__COVERAGE, null, msgs);
msgs = basicSetCoverage(newCoverage, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__COVERAGE, newCoverage, newCoverage));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<Coding> getException() {
if (exception == null) {
exception = new EObjectContainmentEList<Coding>(Coding.class, this, FhirPackage.EXPLANATION_OF_BENEFIT__EXCEPTION);
}
return exception;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public org.hl7.fhir.String getSchool() {
return school;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetSchool(org.hl7.fhir.String newSchool, NotificationChain msgs) {
org.hl7.fhir.String oldSchool = school;
school = newSchool;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__SCHOOL, oldSchool, newSchool);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setSchool(org.hl7.fhir.String newSchool) {
if (newSchool != school) {
NotificationChain msgs = null;
if (school != null)
msgs = ((InternalEObject)school).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__SCHOOL, null, msgs);
if (newSchool != null)
msgs = ((InternalEObject)newSchool).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__SCHOOL, null, msgs);
msgs = basicSetSchool(newSchool, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__SCHOOL, newSchool, newSchool));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Date getAccidentDate() {
return accidentDate;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetAccidentDate(Date newAccidentDate, NotificationChain msgs) {
Date oldAccidentDate = accidentDate;
accidentDate = newAccidentDate;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_DATE, oldAccidentDate, newAccidentDate);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setAccidentDate(Date newAccidentDate) {
if (newAccidentDate != accidentDate) {
NotificationChain msgs = null;
if (accidentDate != null)
msgs = ((InternalEObject)accidentDate).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_DATE, null, msgs);
if (newAccidentDate != null)
msgs = ((InternalEObject)newAccidentDate).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_DATE, null, msgs);
msgs = basicSetAccidentDate(newAccidentDate, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_DATE, newAccidentDate, newAccidentDate));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Coding getAccidentType() {
return accidentType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetAccidentType(Coding newAccidentType, NotificationChain msgs) {
Coding oldAccidentType = accidentType;
accidentType = newAccidentType;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_TYPE, oldAccidentType, newAccidentType);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setAccidentType(Coding newAccidentType) {
if (newAccidentType != accidentType) {
NotificationChain msgs = null;
if (accidentType != null)
msgs = ((InternalEObject)accidentType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_TYPE, null, msgs);
if (newAccidentType != null)
msgs = ((InternalEObject)newAccidentType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_TYPE, null, msgs);
msgs = basicSetAccidentType(newAccidentType, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_TYPE, newAccidentType, newAccidentType));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public org.hl7.fhir.String getAccidentLocationString() {
return accidentLocationString;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetAccidentLocationString(org.hl7.fhir.String newAccidentLocationString, NotificationChain msgs) {
org.hl7.fhir.String oldAccidentLocationString = accidentLocationString;
accidentLocationString = newAccidentLocationString;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_STRING, oldAccidentLocationString, newAccidentLocationString);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setAccidentLocationString(org.hl7.fhir.String newAccidentLocationString) {
if (newAccidentLocationString != accidentLocationString) {
NotificationChain msgs = null;
if (accidentLocationString != null)
msgs = ((InternalEObject)accidentLocationString).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_STRING, null, msgs);
if (newAccidentLocationString != null)
msgs = ((InternalEObject)newAccidentLocationString).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_STRING, null, msgs);
msgs = basicSetAccidentLocationString(newAccidentLocationString, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_STRING, newAccidentLocationString, newAccidentLocationString));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Address getAccidentLocationAddress() {
return accidentLocationAddress;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetAccidentLocationAddress(Address newAccidentLocationAddress, NotificationChain msgs) {
Address oldAccidentLocationAddress = accidentLocationAddress;
accidentLocationAddress = newAccidentLocationAddress;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_ADDRESS, oldAccidentLocationAddress, newAccidentLocationAddress);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setAccidentLocationAddress(Address newAccidentLocationAddress) {
if (newAccidentLocationAddress != accidentLocationAddress) {
NotificationChain msgs = null;
if (accidentLocationAddress != null)
msgs = ((InternalEObject)accidentLocationAddress).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_ADDRESS, null, msgs);
if (newAccidentLocationAddress != null)
msgs = ((InternalEObject)newAccidentLocationAddress).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_ADDRESS, null, msgs);
msgs = basicSetAccidentLocationAddress(newAccidentLocationAddress, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_ADDRESS, newAccidentLocationAddress, newAccidentLocationAddress));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Reference getAccidentLocationReference() {
return accidentLocationReference;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetAccidentLocationReference(Reference newAccidentLocationReference, NotificationChain msgs) {
Reference oldAccidentLocationReference = accidentLocationReference;
accidentLocationReference = newAccidentLocationReference;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_REFERENCE, oldAccidentLocationReference, newAccidentLocationReference);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setAccidentLocationReference(Reference newAccidentLocationReference) {
if (newAccidentLocationReference != accidentLocationReference) {
NotificationChain msgs = null;
if (accidentLocationReference != null)
msgs = ((InternalEObject)accidentLocationReference).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_REFERENCE, null, msgs);
if (newAccidentLocationReference != null)
msgs = ((InternalEObject)newAccidentLocationReference).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_REFERENCE, null, msgs);
msgs = basicSetAccidentLocationReference(newAccidentLocationReference, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_REFERENCE, newAccidentLocationReference, newAccidentLocationReference));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<Coding> getInterventionException() {
if (interventionException == null) {
interventionException = new EObjectContainmentEList<Coding>(Coding.class, this, FhirPackage.EXPLANATION_OF_BENEFIT__INTERVENTION_EXCEPTION);
}
return interventionException;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Date getOnsetDate() {
return onsetDate;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetOnsetDate(Date newOnsetDate, NotificationChain msgs) {
Date oldOnsetDate = onsetDate;
onsetDate = newOnsetDate;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_DATE, oldOnsetDate, newOnsetDate);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOnsetDate(Date newOnsetDate) {
if (newOnsetDate != onsetDate) {
NotificationChain msgs = null;
if (onsetDate != null)
msgs = ((InternalEObject)onsetDate).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_DATE, null, msgs);
if (newOnsetDate != null)
msgs = ((InternalEObject)newOnsetDate).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_DATE, null, msgs);
msgs = basicSetOnsetDate(newOnsetDate, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_DATE, newOnsetDate, newOnsetDate));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Period getOnsetPeriod() {
return onsetPeriod;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetOnsetPeriod(Period newOnsetPeriod, NotificationChain msgs) {
Period oldOnsetPeriod = onsetPeriod;
onsetPeriod = newOnsetPeriod;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_PERIOD, oldOnsetPeriod, newOnsetPeriod);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOnsetPeriod(Period newOnsetPeriod) {
if (newOnsetPeriod != onsetPeriod) {
NotificationChain msgs = null;
if (onsetPeriod != null)
msgs = ((InternalEObject)onsetPeriod).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_PERIOD, null, msgs);
if (newOnsetPeriod != null)
msgs = ((InternalEObject)newOnsetPeriod).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_PERIOD, null, msgs);
msgs = basicSetOnsetPeriod(newOnsetPeriod, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_PERIOD, newOnsetPeriod, newOnsetPeriod));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Period getEmploymentImpacted() {
return employmentImpacted;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetEmploymentImpacted(Period newEmploymentImpacted, NotificationChain msgs) {
Period oldEmploymentImpacted = employmentImpacted;
employmentImpacted = newEmploymentImpacted;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__EMPLOYMENT_IMPACTED, oldEmploymentImpacted, newEmploymentImpacted);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setEmploymentImpacted(Period newEmploymentImpacted) {
if (newEmploymentImpacted != employmentImpacted) {
NotificationChain msgs = null;
if (employmentImpacted != null)
msgs = ((InternalEObject)employmentImpacted).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__EMPLOYMENT_IMPACTED, null, msgs);
if (newEmploymentImpacted != null)
msgs = ((InternalEObject)newEmploymentImpacted).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__EMPLOYMENT_IMPACTED, null, msgs);
msgs = basicSetEmploymentImpacted(newEmploymentImpacted, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__EMPLOYMENT_IMPACTED, newEmploymentImpacted, newEmploymentImpacted));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Period getHospitalization() {
return hospitalization;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetHospitalization(Period newHospitalization, NotificationChain msgs) {
Period oldHospitalization = hospitalization;
hospitalization = newHospitalization;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__HOSPITALIZATION, oldHospitalization, newHospitalization);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setHospitalization(Period newHospitalization) {
if (newHospitalization != hospitalization) {
NotificationChain msgs = null;
if (hospitalization != null)
msgs = ((InternalEObject)hospitalization).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__HOSPITALIZATION, null, msgs);
if (newHospitalization != null)
msgs = ((InternalEObject)newHospitalization).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__HOSPITALIZATION, null, msgs);
msgs = basicSetHospitalization(newHospitalization, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__HOSPITALIZATION, newHospitalization, newHospitalization));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<ExplanationOfBenefitItem> getItem() {
if (item == null) {
item = new EObjectContainmentEList<ExplanationOfBenefitItem>(ExplanationOfBenefitItem.class, this, FhirPackage.EXPLANATION_OF_BENEFIT__ITEM);
}
return item;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<ExplanationOfBenefitAddItem> getAddItem() {
if (addItem == null) {
addItem = new EObjectContainmentEList<ExplanationOfBenefitAddItem>(ExplanationOfBenefitAddItem.class, this, FhirPackage.EXPLANATION_OF_BENEFIT__ADD_ITEM);
}
return addItem;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Money getClaimTotal() {
return claimTotal;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetClaimTotal(Money newClaimTotal, NotificationChain msgs) {
Money oldClaimTotal = claimTotal;
claimTotal = newClaimTotal;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_TOTAL, oldClaimTotal, newClaimTotal);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setClaimTotal(Money newClaimTotal) {
if (newClaimTotal != claimTotal) {
NotificationChain msgs = null;
if (claimTotal != null)
msgs = ((InternalEObject)claimTotal).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_TOTAL, null, msgs);
if (newClaimTotal != null)
msgs = ((InternalEObject)newClaimTotal).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_TOTAL, null, msgs);
msgs = basicSetClaimTotal(newClaimTotal, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_TOTAL, newClaimTotal, newClaimTotal));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<ExplanationOfBenefitMissingTeeth> getMissingTeeth() {
if (missingTeeth == null) {
missingTeeth = new EObjectContainmentEList<ExplanationOfBenefitMissingTeeth>(ExplanationOfBenefitMissingTeeth.class, this, FhirPackage.EXPLANATION_OF_BENEFIT__MISSING_TEETH);
}
return missingTeeth;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Money getUnallocDeductable() {
return unallocDeductable;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetUnallocDeductable(Money newUnallocDeductable, NotificationChain msgs) {
Money oldUnallocDeductable = unallocDeductable;
unallocDeductable = newUnallocDeductable;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__UNALLOC_DEDUCTABLE, oldUnallocDeductable, newUnallocDeductable);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setUnallocDeductable(Money newUnallocDeductable) {
if (newUnallocDeductable != unallocDeductable) {
NotificationChain msgs = null;
if (unallocDeductable != null)
msgs = ((InternalEObject)unallocDeductable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__UNALLOC_DEDUCTABLE, null, msgs);
if (newUnallocDeductable != null)
msgs = ((InternalEObject)newUnallocDeductable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__UNALLOC_DEDUCTABLE, null, msgs);
msgs = basicSetUnallocDeductable(newUnallocDeductable, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__UNALLOC_DEDUCTABLE, newUnallocDeductable, newUnallocDeductable));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Money getTotalBenefit() {
return totalBenefit;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetTotalBenefit(Money newTotalBenefit, NotificationChain msgs) {
Money oldTotalBenefit = totalBenefit;
totalBenefit = newTotalBenefit;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__TOTAL_BENEFIT, oldTotalBenefit, newTotalBenefit);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTotalBenefit(Money newTotalBenefit) {
if (newTotalBenefit != totalBenefit) {
NotificationChain msgs = null;
if (totalBenefit != null)
msgs = ((InternalEObject)totalBenefit).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__TOTAL_BENEFIT, null, msgs);
if (newTotalBenefit != null)
msgs = ((InternalEObject)newTotalBenefit).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__TOTAL_BENEFIT, null, msgs);
msgs = basicSetTotalBenefit(newTotalBenefit, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__TOTAL_BENEFIT, newTotalBenefit, newTotalBenefit));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Money getPaymentAdjustment() {
return paymentAdjustment;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetPaymentAdjustment(Money newPaymentAdjustment, NotificationChain msgs) {
Money oldPaymentAdjustment = paymentAdjustment;
paymentAdjustment = newPaymentAdjustment;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT, oldPaymentAdjustment, newPaymentAdjustment);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setPaymentAdjustment(Money newPaymentAdjustment) {
if (newPaymentAdjustment != paymentAdjustment) {
NotificationChain msgs = null;
if (paymentAdjustment != null)
msgs = ((InternalEObject)paymentAdjustment).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT, null, msgs);
if (newPaymentAdjustment != null)
msgs = ((InternalEObject)newPaymentAdjustment).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT, null, msgs);
msgs = basicSetPaymentAdjustment(newPaymentAdjustment, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT, newPaymentAdjustment, newPaymentAdjustment));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Coding getPaymentAdjustmentReason() {
return paymentAdjustmentReason;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetPaymentAdjustmentReason(Coding newPaymentAdjustmentReason, NotificationChain msgs) {
Coding oldPaymentAdjustmentReason = paymentAdjustmentReason;
paymentAdjustmentReason = newPaymentAdjustmentReason;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT_REASON, oldPaymentAdjustmentReason, newPaymentAdjustmentReason);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setPaymentAdjustmentReason(Coding newPaymentAdjustmentReason) {
if (newPaymentAdjustmentReason != paymentAdjustmentReason) {
NotificationChain msgs = null;
if (paymentAdjustmentReason != null)
msgs = ((InternalEObject)paymentAdjustmentReason).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT_REASON, null, msgs);
if (newPaymentAdjustmentReason != null)
msgs = ((InternalEObject)newPaymentAdjustmentReason).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT_REASON, null, msgs);
msgs = basicSetPaymentAdjustmentReason(newPaymentAdjustmentReason, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT_REASON, newPaymentAdjustmentReason, newPaymentAdjustmentReason));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Date getPaymentDate() {
return paymentDate;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetPaymentDate(Date newPaymentDate, NotificationChain msgs) {
Date oldPaymentDate = paymentDate;
paymentDate = newPaymentDate;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_DATE, oldPaymentDate, newPaymentDate);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setPaymentDate(Date newPaymentDate) {
if (newPaymentDate != paymentDate) {
NotificationChain msgs = null;
if (paymentDate != null)
msgs = ((InternalEObject)paymentDate).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_DATE, null, msgs);
if (newPaymentDate != null)
msgs = ((InternalEObject)newPaymentDate).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_DATE, null, msgs);
msgs = basicSetPaymentDate(newPaymentDate, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_DATE, newPaymentDate, newPaymentDate));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Money getPaymentAmount() {
return paymentAmount;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetPaymentAmount(Money newPaymentAmount, NotificationChain msgs) {
Money oldPaymentAmount = paymentAmount;
paymentAmount = newPaymentAmount;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_AMOUNT, oldPaymentAmount, newPaymentAmount);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setPaymentAmount(Money newPaymentAmount) {
if (newPaymentAmount != paymentAmount) {
NotificationChain msgs = null;
if (paymentAmount != null)
msgs = ((InternalEObject)paymentAmount).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_AMOUNT, null, msgs);
if (newPaymentAmount != null)
msgs = ((InternalEObject)newPaymentAmount).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_AMOUNT, null, msgs);
msgs = basicSetPaymentAmount(newPaymentAmount, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_AMOUNT, newPaymentAmount, newPaymentAmount));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Identifier getPaymentRef() {
return paymentRef;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetPaymentRef(Identifier newPaymentRef, NotificationChain msgs) {
Identifier oldPaymentRef = paymentRef;
paymentRef = newPaymentRef;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_REF, oldPaymentRef, newPaymentRef);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setPaymentRef(Identifier newPaymentRef) {
if (newPaymentRef != paymentRef) {
NotificationChain msgs = null;
if (paymentRef != null)
msgs = ((InternalEObject)paymentRef).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_REF, null, msgs);
if (newPaymentRef != null)
msgs = ((InternalEObject)newPaymentRef).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_REF, null, msgs);
msgs = basicSetPaymentRef(newPaymentRef, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_REF, newPaymentRef, newPaymentRef));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Coding getReserved() {
return reserved;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetReserved(Coding newReserved, NotificationChain msgs) {
Coding oldReserved = reserved;
reserved = newReserved;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__RESERVED, oldReserved, newReserved);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setReserved(Coding newReserved) {
if (newReserved != reserved) {
NotificationChain msgs = null;
if (reserved != null)
msgs = ((InternalEObject)reserved).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__RESERVED, null, msgs);
if (newReserved != null)
msgs = ((InternalEObject)newReserved).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__RESERVED, null, msgs);
msgs = basicSetReserved(newReserved, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__RESERVED, newReserved, newReserved));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Coding getForm() {
return form;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetForm(Coding newForm, NotificationChain msgs) {
Coding oldForm = form;
form = newForm;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__FORM, oldForm, newForm);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setForm(Coding newForm) {
if (newForm != form) {
NotificationChain msgs = null;
if (form != null)
msgs = ((InternalEObject)form).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__FORM, null, msgs);
if (newForm != null)
msgs = ((InternalEObject)newForm).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FhirPackage.EXPLANATION_OF_BENEFIT__FORM, null, msgs);
msgs = basicSetForm(newForm, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FhirPackage.EXPLANATION_OF_BENEFIT__FORM, newForm, newForm));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<ExplanationOfBenefitNote> getNote() {
if (note == null) {
note = new EObjectContainmentEList<ExplanationOfBenefitNote>(ExplanationOfBenefitNote.class, this, FhirPackage.EXPLANATION_OF_BENEFIT__NOTE);
}
return note;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<ExplanationOfBenefitBenefitBalance> getBenefitBalance() {
if (benefitBalance == null) {
benefitBalance = new EObjectContainmentEList<ExplanationOfBenefitBenefitBalance>(ExplanationOfBenefitBenefitBalance.class, this, FhirPackage.EXPLANATION_OF_BENEFIT__BENEFIT_BALANCE);
}
return benefitBalance;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case FhirPackage.EXPLANATION_OF_BENEFIT__IDENTIFIER:
return ((InternalEList<?>)getIdentifier()).basicRemove(otherEnd, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM:
return basicSetClaim(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_RESPONSE:
return basicSetClaimResponse(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__RULESET:
return basicSetRuleset(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_RULESET:
return basicSetOriginalRuleset(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__CREATED:
return basicSetCreated(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__BILLABLE_PERIOD:
return basicSetBillablePeriod(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__DISPOSITION:
return basicSetDisposition(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__PROVIDER:
return basicSetProvider(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__ORGANIZATION:
return basicSetOrganization(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__FACILITY:
return basicSetFacility(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__RELATED_CLAIM:
return ((InternalEList<?>)getRelatedClaim()).basicRemove(otherEnd, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__PRESCRIPTION:
return basicSetPrescription(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_PRESCRIPTION:
return basicSetOriginalPrescription(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYEE:
return basicSetPayee(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__REFERRAL:
return basicSetReferral(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__DIAGNOSIS:
return ((InternalEList<?>)getDiagnosis()).basicRemove(otherEnd, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__SPECIAL_CONDITION:
return ((InternalEList<?>)getSpecialCondition()).basicRemove(otherEnd, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__PATIENT:
return basicSetPatient(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__PRECEDENCE:
return basicSetPrecedence(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__COVERAGE:
return basicSetCoverage(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__EXCEPTION:
return ((InternalEList<?>)getException()).basicRemove(otherEnd, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__SCHOOL:
return basicSetSchool(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_DATE:
return basicSetAccidentDate(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_TYPE:
return basicSetAccidentType(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_STRING:
return basicSetAccidentLocationString(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_ADDRESS:
return basicSetAccidentLocationAddress(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_REFERENCE:
return basicSetAccidentLocationReference(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__INTERVENTION_EXCEPTION:
return ((InternalEList<?>)getInterventionException()).basicRemove(otherEnd, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_DATE:
return basicSetOnsetDate(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_PERIOD:
return basicSetOnsetPeriod(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__EMPLOYMENT_IMPACTED:
return basicSetEmploymentImpacted(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__HOSPITALIZATION:
return basicSetHospitalization(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__ITEM:
return ((InternalEList<?>)getItem()).basicRemove(otherEnd, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__ADD_ITEM:
return ((InternalEList<?>)getAddItem()).basicRemove(otherEnd, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_TOTAL:
return basicSetClaimTotal(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__MISSING_TEETH:
return ((InternalEList<?>)getMissingTeeth()).basicRemove(otherEnd, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__UNALLOC_DEDUCTABLE:
return basicSetUnallocDeductable(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__TOTAL_BENEFIT:
return basicSetTotalBenefit(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT:
return basicSetPaymentAdjustment(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT_REASON:
return basicSetPaymentAdjustmentReason(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_DATE:
return basicSetPaymentDate(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_AMOUNT:
return basicSetPaymentAmount(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_REF:
return basicSetPaymentRef(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__RESERVED:
return basicSetReserved(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__FORM:
return basicSetForm(null, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__NOTE:
return ((InternalEList<?>)getNote()).basicRemove(otherEnd, msgs);
case FhirPackage.EXPLANATION_OF_BENEFIT__BENEFIT_BALANCE:
return ((InternalEList<?>)getBenefitBalance()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case FhirPackage.EXPLANATION_OF_BENEFIT__IDENTIFIER:
return getIdentifier();
case FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM:
return getClaim();
case FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_RESPONSE:
return getClaimResponse();
case FhirPackage.EXPLANATION_OF_BENEFIT__RULESET:
return getRuleset();
case FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_RULESET:
return getOriginalRuleset();
case FhirPackage.EXPLANATION_OF_BENEFIT__CREATED:
return getCreated();
case FhirPackage.EXPLANATION_OF_BENEFIT__BILLABLE_PERIOD:
return getBillablePeriod();
case FhirPackage.EXPLANATION_OF_BENEFIT__DISPOSITION:
return getDisposition();
case FhirPackage.EXPLANATION_OF_BENEFIT__PROVIDER:
return getProvider();
case FhirPackage.EXPLANATION_OF_BENEFIT__ORGANIZATION:
return getOrganization();
case FhirPackage.EXPLANATION_OF_BENEFIT__FACILITY:
return getFacility();
case FhirPackage.EXPLANATION_OF_BENEFIT__RELATED_CLAIM:
return getRelatedClaim();
case FhirPackage.EXPLANATION_OF_BENEFIT__PRESCRIPTION:
return getPrescription();
case FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_PRESCRIPTION:
return getOriginalPrescription();
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYEE:
return getPayee();
case FhirPackage.EXPLANATION_OF_BENEFIT__REFERRAL:
return getReferral();
case FhirPackage.EXPLANATION_OF_BENEFIT__DIAGNOSIS:
return getDiagnosis();
case FhirPackage.EXPLANATION_OF_BENEFIT__SPECIAL_CONDITION:
return getSpecialCondition();
case FhirPackage.EXPLANATION_OF_BENEFIT__PATIENT:
return getPatient();
case FhirPackage.EXPLANATION_OF_BENEFIT__PRECEDENCE:
return getPrecedence();
case FhirPackage.EXPLANATION_OF_BENEFIT__COVERAGE:
return getCoverage();
case FhirPackage.EXPLANATION_OF_BENEFIT__EXCEPTION:
return getException();
case FhirPackage.EXPLANATION_OF_BENEFIT__SCHOOL:
return getSchool();
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_DATE:
return getAccidentDate();
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_TYPE:
return getAccidentType();
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_STRING:
return getAccidentLocationString();
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_ADDRESS:
return getAccidentLocationAddress();
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_REFERENCE:
return getAccidentLocationReference();
case FhirPackage.EXPLANATION_OF_BENEFIT__INTERVENTION_EXCEPTION:
return getInterventionException();
case FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_DATE:
return getOnsetDate();
case FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_PERIOD:
return getOnsetPeriod();
case FhirPackage.EXPLANATION_OF_BENEFIT__EMPLOYMENT_IMPACTED:
return getEmploymentImpacted();
case FhirPackage.EXPLANATION_OF_BENEFIT__HOSPITALIZATION:
return getHospitalization();
case FhirPackage.EXPLANATION_OF_BENEFIT__ITEM:
return getItem();
case FhirPackage.EXPLANATION_OF_BENEFIT__ADD_ITEM:
return getAddItem();
case FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_TOTAL:
return getClaimTotal();
case FhirPackage.EXPLANATION_OF_BENEFIT__MISSING_TEETH:
return getMissingTeeth();
case FhirPackage.EXPLANATION_OF_BENEFIT__UNALLOC_DEDUCTABLE:
return getUnallocDeductable();
case FhirPackage.EXPLANATION_OF_BENEFIT__TOTAL_BENEFIT:
return getTotalBenefit();
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT:
return getPaymentAdjustment();
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT_REASON:
return getPaymentAdjustmentReason();
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_DATE:
return getPaymentDate();
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_AMOUNT:
return getPaymentAmount();
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_REF:
return getPaymentRef();
case FhirPackage.EXPLANATION_OF_BENEFIT__RESERVED:
return getReserved();
case FhirPackage.EXPLANATION_OF_BENEFIT__FORM:
return getForm();
case FhirPackage.EXPLANATION_OF_BENEFIT__NOTE:
return getNote();
case FhirPackage.EXPLANATION_OF_BENEFIT__BENEFIT_BALANCE:
return getBenefitBalance();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case FhirPackage.EXPLANATION_OF_BENEFIT__IDENTIFIER:
getIdentifier().clear();
getIdentifier().addAll((Collection<? extends Identifier>)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM:
setClaim((Reference)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_RESPONSE:
setClaimResponse((Reference)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__RULESET:
setRuleset((Coding)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_RULESET:
setOriginalRuleset((Coding)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__CREATED:
setCreated((DateTime)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__BILLABLE_PERIOD:
setBillablePeriod((Period)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__DISPOSITION:
setDisposition((org.hl7.fhir.String)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PROVIDER:
setProvider((Reference)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ORGANIZATION:
setOrganization((Reference)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__FACILITY:
setFacility((Reference)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__RELATED_CLAIM:
getRelatedClaim().clear();
getRelatedClaim().addAll((Collection<? extends Reference>)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PRESCRIPTION:
setPrescription((Reference)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_PRESCRIPTION:
setOriginalPrescription((Reference)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYEE:
setPayee((ExplanationOfBenefitPayee)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__REFERRAL:
setReferral((Reference)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__DIAGNOSIS:
getDiagnosis().clear();
getDiagnosis().addAll((Collection<? extends ExplanationOfBenefitDiagnosis>)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__SPECIAL_CONDITION:
getSpecialCondition().clear();
getSpecialCondition().addAll((Collection<? extends Coding>)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PATIENT:
setPatient((Reference)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PRECEDENCE:
setPrecedence((PositiveInt)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__COVERAGE:
setCoverage((ExplanationOfBenefitCoverage)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__EXCEPTION:
getException().clear();
getException().addAll((Collection<? extends Coding>)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__SCHOOL:
setSchool((org.hl7.fhir.String)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_DATE:
setAccidentDate((Date)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_TYPE:
setAccidentType((Coding)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_STRING:
setAccidentLocationString((org.hl7.fhir.String)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_ADDRESS:
setAccidentLocationAddress((Address)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_REFERENCE:
setAccidentLocationReference((Reference)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__INTERVENTION_EXCEPTION:
getInterventionException().clear();
getInterventionException().addAll((Collection<? extends Coding>)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_DATE:
setOnsetDate((Date)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_PERIOD:
setOnsetPeriod((Period)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__EMPLOYMENT_IMPACTED:
setEmploymentImpacted((Period)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__HOSPITALIZATION:
setHospitalization((Period)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ITEM:
getItem().clear();
getItem().addAll((Collection<? extends ExplanationOfBenefitItem>)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ADD_ITEM:
getAddItem().clear();
getAddItem().addAll((Collection<? extends ExplanationOfBenefitAddItem>)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_TOTAL:
setClaimTotal((Money)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__MISSING_TEETH:
getMissingTeeth().clear();
getMissingTeeth().addAll((Collection<? extends ExplanationOfBenefitMissingTeeth>)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__UNALLOC_DEDUCTABLE:
setUnallocDeductable((Money)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__TOTAL_BENEFIT:
setTotalBenefit((Money)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT:
setPaymentAdjustment((Money)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT_REASON:
setPaymentAdjustmentReason((Coding)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_DATE:
setPaymentDate((Date)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_AMOUNT:
setPaymentAmount((Money)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_REF:
setPaymentRef((Identifier)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__RESERVED:
setReserved((Coding)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__FORM:
setForm((Coding)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__NOTE:
getNote().clear();
getNote().addAll((Collection<? extends ExplanationOfBenefitNote>)newValue);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__BENEFIT_BALANCE:
getBenefitBalance().clear();
getBenefitBalance().addAll((Collection<? extends ExplanationOfBenefitBenefitBalance>)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case FhirPackage.EXPLANATION_OF_BENEFIT__IDENTIFIER:
getIdentifier().clear();
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM:
setClaim((Reference)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_RESPONSE:
setClaimResponse((Reference)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__RULESET:
setRuleset((Coding)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_RULESET:
setOriginalRuleset((Coding)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__CREATED:
setCreated((DateTime)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__BILLABLE_PERIOD:
setBillablePeriod((Period)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__DISPOSITION:
setDisposition((org.hl7.fhir.String)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PROVIDER:
setProvider((Reference)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ORGANIZATION:
setOrganization((Reference)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__FACILITY:
setFacility((Reference)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__RELATED_CLAIM:
getRelatedClaim().clear();
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PRESCRIPTION:
setPrescription((Reference)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_PRESCRIPTION:
setOriginalPrescription((Reference)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYEE:
setPayee((ExplanationOfBenefitPayee)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__REFERRAL:
setReferral((Reference)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__DIAGNOSIS:
getDiagnosis().clear();
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__SPECIAL_CONDITION:
getSpecialCondition().clear();
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PATIENT:
setPatient((Reference)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PRECEDENCE:
setPrecedence((PositiveInt)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__COVERAGE:
setCoverage((ExplanationOfBenefitCoverage)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__EXCEPTION:
getException().clear();
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__SCHOOL:
setSchool((org.hl7.fhir.String)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_DATE:
setAccidentDate((Date)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_TYPE:
setAccidentType((Coding)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_STRING:
setAccidentLocationString((org.hl7.fhir.String)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_ADDRESS:
setAccidentLocationAddress((Address)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_REFERENCE:
setAccidentLocationReference((Reference)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__INTERVENTION_EXCEPTION:
getInterventionException().clear();
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_DATE:
setOnsetDate((Date)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_PERIOD:
setOnsetPeriod((Period)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__EMPLOYMENT_IMPACTED:
setEmploymentImpacted((Period)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__HOSPITALIZATION:
setHospitalization((Period)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ITEM:
getItem().clear();
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__ADD_ITEM:
getAddItem().clear();
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_TOTAL:
setClaimTotal((Money)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__MISSING_TEETH:
getMissingTeeth().clear();
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__UNALLOC_DEDUCTABLE:
setUnallocDeductable((Money)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__TOTAL_BENEFIT:
setTotalBenefit((Money)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT:
setPaymentAdjustment((Money)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT_REASON:
setPaymentAdjustmentReason((Coding)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_DATE:
setPaymentDate((Date)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_AMOUNT:
setPaymentAmount((Money)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_REF:
setPaymentRef((Identifier)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__RESERVED:
setReserved((Coding)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__FORM:
setForm((Coding)null);
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__NOTE:
getNote().clear();
return;
case FhirPackage.EXPLANATION_OF_BENEFIT__BENEFIT_BALANCE:
getBenefitBalance().clear();
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case FhirPackage.EXPLANATION_OF_BENEFIT__IDENTIFIER:
return identifier != null && !identifier.isEmpty();
case FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM:
return claim != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_RESPONSE:
return claimResponse != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__RULESET:
return ruleset != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_RULESET:
return originalRuleset != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__CREATED:
return created != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__BILLABLE_PERIOD:
return billablePeriod != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__DISPOSITION:
return disposition != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__PROVIDER:
return provider != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__ORGANIZATION:
return organization != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__FACILITY:
return facility != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__RELATED_CLAIM:
return relatedClaim != null && !relatedClaim.isEmpty();
case FhirPackage.EXPLANATION_OF_BENEFIT__PRESCRIPTION:
return prescription != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__ORIGINAL_PRESCRIPTION:
return originalPrescription != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYEE:
return payee != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__REFERRAL:
return referral != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__DIAGNOSIS:
return diagnosis != null && !diagnosis.isEmpty();
case FhirPackage.EXPLANATION_OF_BENEFIT__SPECIAL_CONDITION:
return specialCondition != null && !specialCondition.isEmpty();
case FhirPackage.EXPLANATION_OF_BENEFIT__PATIENT:
return patient != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__PRECEDENCE:
return precedence != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__COVERAGE:
return coverage != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__EXCEPTION:
return exception != null && !exception.isEmpty();
case FhirPackage.EXPLANATION_OF_BENEFIT__SCHOOL:
return school != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_DATE:
return accidentDate != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_TYPE:
return accidentType != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_STRING:
return accidentLocationString != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_ADDRESS:
return accidentLocationAddress != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__ACCIDENT_LOCATION_REFERENCE:
return accidentLocationReference != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__INTERVENTION_EXCEPTION:
return interventionException != null && !interventionException.isEmpty();
case FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_DATE:
return onsetDate != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__ONSET_PERIOD:
return onsetPeriod != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__EMPLOYMENT_IMPACTED:
return employmentImpacted != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__HOSPITALIZATION:
return hospitalization != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__ITEM:
return item != null && !item.isEmpty();
case FhirPackage.EXPLANATION_OF_BENEFIT__ADD_ITEM:
return addItem != null && !addItem.isEmpty();
case FhirPackage.EXPLANATION_OF_BENEFIT__CLAIM_TOTAL:
return claimTotal != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__MISSING_TEETH:
return missingTeeth != null && !missingTeeth.isEmpty();
case FhirPackage.EXPLANATION_OF_BENEFIT__UNALLOC_DEDUCTABLE:
return unallocDeductable != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__TOTAL_BENEFIT:
return totalBenefit != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT:
return paymentAdjustment != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_ADJUSTMENT_REASON:
return paymentAdjustmentReason != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_DATE:
return paymentDate != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_AMOUNT:
return paymentAmount != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__PAYMENT_REF:
return paymentRef != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__RESERVED:
return reserved != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__FORM:
return form != null;
case FhirPackage.EXPLANATION_OF_BENEFIT__NOTE:
return note != null && !note.isEmpty();
case FhirPackage.EXPLANATION_OF_BENEFIT__BENEFIT_BALANCE:
return benefitBalance != null && !benefitBalance.isEmpty();
}
return super.eIsSet(featureID);
}
} //ExplanationOfBenefitImpl