| /******************************************************************************* |
| * Copyright (c) 2016 David Carlson and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * David Carlson (Clinical Cloud Solutions, LLC) - initial API and implementation |
| *******************************************************************************/ |
| /** |
| */ |
| package org.eclipse.mdht.uml.fhir.core.resource.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.EObjectResolvingEList; |
| import org.eclipse.emf.ecore.util.InternalEList; |
| |
| import org.eclipse.mdht.uml.fhir.core.datatype.Code; |
| import org.eclipse.mdht.uml.fhir.core.datatype.CodeableConcept; |
| import org.eclipse.mdht.uml.fhir.core.datatype.DateTime; |
| import org.eclipse.mdht.uml.fhir.core.datatype.Identifier; |
| import org.eclipse.mdht.uml.fhir.core.datatype.Uri; |
| |
| import org.eclipse.mdht.uml.fhir.core.resource.DetectedIssue; |
| import org.eclipse.mdht.uml.fhir.core.resource.DetectedIssueMitigation; |
| import org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage; |
| import org.eclipse.mdht.uml.fhir.core.resource.Patient; |
| import org.eclipse.mdht.uml.fhir.core.resource.Resource; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * An implementation of the model object '<em><b>Detected Issue</b></em>'. |
| * <!-- end-user-doc --> |
| * <p> |
| * The following features are implemented: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.impl.DetectedIssueImpl#getPatient <em>Patient</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.impl.DetectedIssueImpl#getCategory <em>Category</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.impl.DetectedIssueImpl#getSeverity <em>Severity</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.impl.DetectedIssueImpl#getImplicateds <em>Implicated</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.impl.DetectedIssueImpl#getDetail <em>Detail</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.impl.DetectedIssueImpl#getDate <em>Date</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.impl.DetectedIssueImpl#getAuthor <em>Author</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.impl.DetectedIssueImpl#getIdentifier <em>Identifier</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.impl.DetectedIssueImpl#getReference <em>Reference</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.impl.DetectedIssueImpl#getMitigations <em>Mitigation</em>}</li> |
| * </ul> |
| * |
| * @generated |
| */ |
| public class DetectedIssueImpl extends DomainResourceImpl implements DetectedIssue { |
| /** |
| * The cached value of the '{@link #getPatient() <em>Patient</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getPatient() |
| * @generated |
| * @ordered |
| */ |
| protected Patient patient; |
| |
| /** |
| * The cached value of the '{@link #getCategory() <em>Category</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getCategory() |
| * @generated |
| * @ordered |
| */ |
| protected CodeableConcept category; |
| |
| /** |
| * The cached value of the '{@link #getSeverity() <em>Severity</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getSeverity() |
| * @generated |
| * @ordered |
| */ |
| protected Code severity; |
| |
| /** |
| * The cached value of the '{@link #getImplicateds() <em>Implicated</em>}' reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getImplicateds() |
| * @generated |
| * @ordered |
| */ |
| protected EList<Resource> implicateds; |
| |
| /** |
| * The cached value of the '{@link #getDetail() <em>Detail</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getDetail() |
| * @generated |
| * @ordered |
| */ |
| protected org.eclipse.mdht.uml.fhir.core.datatype.String detail; |
| |
| /** |
| * The cached value of the '{@link #getDate() <em>Date</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getDate() |
| * @generated |
| * @ordered |
| */ |
| protected DateTime date; |
| |
| /** |
| * The cached value of the '{@link #getAuthor() <em>Author</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getAuthor() |
| * @generated |
| * @ordered |
| */ |
| protected Resource author; |
| |
| /** |
| * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getIdentifier() |
| * @generated |
| * @ordered |
| */ |
| protected Identifier identifier; |
| |
| /** |
| * The cached value of the '{@link #getReference() <em>Reference</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getReference() |
| * @generated |
| * @ordered |
| */ |
| protected Uri reference; |
| |
| /** |
| * The cached value of the '{@link #getMitigations() <em>Mitigation</em>}' containment reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getMitigations() |
| * @generated |
| * @ordered |
| */ |
| protected EList<DetectedIssueMitigation> mitigations; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected DetectedIssueImpl() { |
| super(); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| protected EClass eStaticClass() { |
| return FhirResourcePackage.eINSTANCE.getDetectedIssue(); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public Patient getPatient() { |
| if (patient != null && patient.eIsProxy()) { |
| InternalEObject oldPatient = (InternalEObject)patient; |
| patient = (Patient)eResolveProxy(oldPatient); |
| if (patient != oldPatient) { |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.RESOLVE, FhirResourcePackage.DETECTED_ISSUE__PATIENT, oldPatient, patient)); |
| } |
| } |
| return patient; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public Patient basicGetPatient() { |
| return patient; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setPatient(Patient newPatient) { |
| Patient oldPatient = patient; |
| patient = newPatient; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, FhirResourcePackage.DETECTED_ISSUE__PATIENT, oldPatient, patient)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public CodeableConcept getCategory() { |
| if (category != null && category.eIsProxy()) { |
| InternalEObject oldCategory = (InternalEObject)category; |
| category = (CodeableConcept)eResolveProxy(oldCategory); |
| if (category != oldCategory) { |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.RESOLVE, FhirResourcePackage.DETECTED_ISSUE__CATEGORY, oldCategory, category)); |
| } |
| } |
| return category; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public CodeableConcept basicGetCategory() { |
| return category; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setCategory(CodeableConcept newCategory) { |
| CodeableConcept oldCategory = category; |
| category = newCategory; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, FhirResourcePackage.DETECTED_ISSUE__CATEGORY, oldCategory, category)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public Code getSeverity() { |
| if (severity != null && severity.eIsProxy()) { |
| InternalEObject oldSeverity = (InternalEObject)severity; |
| severity = (Code)eResolveProxy(oldSeverity); |
| if (severity != oldSeverity) { |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.RESOLVE, FhirResourcePackage.DETECTED_ISSUE__SEVERITY, oldSeverity, severity)); |
| } |
| } |
| return severity; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public Code basicGetSeverity() { |
| return severity; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setSeverity(Code newSeverity) { |
| Code oldSeverity = severity; |
| severity = newSeverity; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, FhirResourcePackage.DETECTED_ISSUE__SEVERITY, oldSeverity, severity)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EList<Resource> getImplicateds() { |
| if (implicateds == null) { |
| implicateds = new EObjectResolvingEList<Resource>(Resource.class, this, FhirResourcePackage.DETECTED_ISSUE__IMPLICATED); |
| } |
| return implicateds; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public org.eclipse.mdht.uml.fhir.core.datatype.String getDetail() { |
| if (detail != null && detail.eIsProxy()) { |
| InternalEObject oldDetail = (InternalEObject)detail; |
| detail = (org.eclipse.mdht.uml.fhir.core.datatype.String)eResolveProxy(oldDetail); |
| if (detail != oldDetail) { |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.RESOLVE, FhirResourcePackage.DETECTED_ISSUE__DETAIL, oldDetail, detail)); |
| } |
| } |
| return detail; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public org.eclipse.mdht.uml.fhir.core.datatype.String basicGetDetail() { |
| return detail; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setDetail(org.eclipse.mdht.uml.fhir.core.datatype.String newDetail) { |
| org.eclipse.mdht.uml.fhir.core.datatype.String oldDetail = detail; |
| detail = newDetail; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, FhirResourcePackage.DETECTED_ISSUE__DETAIL, oldDetail, detail)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public DateTime getDate() { |
| if (date != null && date.eIsProxy()) { |
| InternalEObject oldDate = (InternalEObject)date; |
| date = (DateTime)eResolveProxy(oldDate); |
| if (date != oldDate) { |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.RESOLVE, FhirResourcePackage.DETECTED_ISSUE__DATE, oldDate, date)); |
| } |
| } |
| return date; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public DateTime basicGetDate() { |
| return date; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setDate(DateTime newDate) { |
| DateTime oldDate = date; |
| date = newDate; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, FhirResourcePackage.DETECTED_ISSUE__DATE, oldDate, date)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public Resource getAuthor() { |
| if (author != null && author.eIsProxy()) { |
| InternalEObject oldAuthor = (InternalEObject)author; |
| author = (Resource)eResolveProxy(oldAuthor); |
| if (author != oldAuthor) { |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.RESOLVE, FhirResourcePackage.DETECTED_ISSUE__AUTHOR, oldAuthor, author)); |
| } |
| } |
| return author; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public Resource basicGetAuthor() { |
| return author; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setAuthor(Resource newAuthor) { |
| Resource oldAuthor = author; |
| author = newAuthor; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, FhirResourcePackage.DETECTED_ISSUE__AUTHOR, oldAuthor, author)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public Identifier getIdentifier() { |
| if (identifier != null && identifier.eIsProxy()) { |
| InternalEObject oldIdentifier = (InternalEObject)identifier; |
| identifier = (Identifier)eResolveProxy(oldIdentifier); |
| if (identifier != oldIdentifier) { |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.RESOLVE, FhirResourcePackage.DETECTED_ISSUE__IDENTIFIER, oldIdentifier, identifier)); |
| } |
| } |
| return identifier; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public Identifier basicGetIdentifier() { |
| return identifier; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setIdentifier(Identifier newIdentifier) { |
| Identifier oldIdentifier = identifier; |
| identifier = newIdentifier; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, FhirResourcePackage.DETECTED_ISSUE__IDENTIFIER, oldIdentifier, identifier)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public Uri getReference() { |
| if (reference != null && reference.eIsProxy()) { |
| InternalEObject oldReference = (InternalEObject)reference; |
| reference = (Uri)eResolveProxy(oldReference); |
| if (reference != oldReference) { |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.RESOLVE, FhirResourcePackage.DETECTED_ISSUE__REFERENCE, oldReference, reference)); |
| } |
| } |
| return reference; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public Uri basicGetReference() { |
| return reference; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setReference(Uri newReference) { |
| Uri oldReference = reference; |
| reference = newReference; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, FhirResourcePackage.DETECTED_ISSUE__REFERENCE, oldReference, reference)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EList<DetectedIssueMitigation> getMitigations() { |
| if (mitigations == null) { |
| mitigations = new EObjectContainmentEList<DetectedIssueMitigation>(DetectedIssueMitigation.class, this, FhirResourcePackage.DETECTED_ISSUE__MITIGATION); |
| } |
| return mitigations; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { |
| switch (featureID) { |
| case FhirResourcePackage.DETECTED_ISSUE__MITIGATION: |
| return ((InternalEList<?>)getMitigations()).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 FhirResourcePackage.DETECTED_ISSUE__PATIENT: |
| if (resolve) return getPatient(); |
| return basicGetPatient(); |
| case FhirResourcePackage.DETECTED_ISSUE__CATEGORY: |
| if (resolve) return getCategory(); |
| return basicGetCategory(); |
| case FhirResourcePackage.DETECTED_ISSUE__SEVERITY: |
| if (resolve) return getSeverity(); |
| return basicGetSeverity(); |
| case FhirResourcePackage.DETECTED_ISSUE__IMPLICATED: |
| return getImplicateds(); |
| case FhirResourcePackage.DETECTED_ISSUE__DETAIL: |
| if (resolve) return getDetail(); |
| return basicGetDetail(); |
| case FhirResourcePackage.DETECTED_ISSUE__DATE: |
| if (resolve) return getDate(); |
| return basicGetDate(); |
| case FhirResourcePackage.DETECTED_ISSUE__AUTHOR: |
| if (resolve) return getAuthor(); |
| return basicGetAuthor(); |
| case FhirResourcePackage.DETECTED_ISSUE__IDENTIFIER: |
| if (resolve) return getIdentifier(); |
| return basicGetIdentifier(); |
| case FhirResourcePackage.DETECTED_ISSUE__REFERENCE: |
| if (resolve) return getReference(); |
| return basicGetReference(); |
| case FhirResourcePackage.DETECTED_ISSUE__MITIGATION: |
| return getMitigations(); |
| } |
| 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 FhirResourcePackage.DETECTED_ISSUE__PATIENT: |
| setPatient((Patient)newValue); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__CATEGORY: |
| setCategory((CodeableConcept)newValue); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__SEVERITY: |
| setSeverity((Code)newValue); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__IMPLICATED: |
| getImplicateds().clear(); |
| getImplicateds().addAll((Collection<? extends Resource>)newValue); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__DETAIL: |
| setDetail((org.eclipse.mdht.uml.fhir.core.datatype.String)newValue); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__DATE: |
| setDate((DateTime)newValue); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__AUTHOR: |
| setAuthor((Resource)newValue); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__IDENTIFIER: |
| setIdentifier((Identifier)newValue); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__REFERENCE: |
| setReference((Uri)newValue); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__MITIGATION: |
| getMitigations().clear(); |
| getMitigations().addAll((Collection<? extends DetectedIssueMitigation>)newValue); |
| return; |
| } |
| super.eSet(featureID, newValue); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public void eUnset(int featureID) { |
| switch (featureID) { |
| case FhirResourcePackage.DETECTED_ISSUE__PATIENT: |
| setPatient((Patient)null); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__CATEGORY: |
| setCategory((CodeableConcept)null); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__SEVERITY: |
| setSeverity((Code)null); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__IMPLICATED: |
| getImplicateds().clear(); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__DETAIL: |
| setDetail((org.eclipse.mdht.uml.fhir.core.datatype.String)null); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__DATE: |
| setDate((DateTime)null); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__AUTHOR: |
| setAuthor((Resource)null); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__IDENTIFIER: |
| setIdentifier((Identifier)null); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__REFERENCE: |
| setReference((Uri)null); |
| return; |
| case FhirResourcePackage.DETECTED_ISSUE__MITIGATION: |
| getMitigations().clear(); |
| return; |
| } |
| super.eUnset(featureID); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public boolean eIsSet(int featureID) { |
| switch (featureID) { |
| case FhirResourcePackage.DETECTED_ISSUE__PATIENT: |
| return patient != null; |
| case FhirResourcePackage.DETECTED_ISSUE__CATEGORY: |
| return category != null; |
| case FhirResourcePackage.DETECTED_ISSUE__SEVERITY: |
| return severity != null; |
| case FhirResourcePackage.DETECTED_ISSUE__IMPLICATED: |
| return implicateds != null && !implicateds.isEmpty(); |
| case FhirResourcePackage.DETECTED_ISSUE__DETAIL: |
| return detail != null; |
| case FhirResourcePackage.DETECTED_ISSUE__DATE: |
| return date != null; |
| case FhirResourcePackage.DETECTED_ISSUE__AUTHOR: |
| return author != null; |
| case FhirResourcePackage.DETECTED_ISSUE__IDENTIFIER: |
| return identifier != null; |
| case FhirResourcePackage.DETECTED_ISSUE__REFERENCE: |
| return reference != null; |
| case FhirResourcePackage.DETECTED_ISSUE__MITIGATION: |
| return mitigations != null && !mitigations.isEmpty(); |
| } |
| return super.eIsSet(featureID); |
| } |
| |
| } //DetectedIssueImpl |