/**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case FhirPackage.NUTRITION_ORDER_ORAL_DIET__TYPE:
       getType().clear();
       getType().addAll((Collection<? extends CodeableConcept>) newValue);
       return;
     case FhirPackage.NUTRITION_ORDER_ORAL_DIET__SCHEDULE:
       getSchedule().clear();
       getSchedule().addAll((Collection<? extends Timing>) newValue);
       return;
     case FhirPackage.NUTRITION_ORDER_ORAL_DIET__NUTRIENT:
       getNutrient().clear();
       getNutrient().addAll((Collection<? extends NutritionOrderNutrient>) newValue);
       return;
     case FhirPackage.NUTRITION_ORDER_ORAL_DIET__TEXTURE:
       getTexture().clear();
       getTexture().addAll((Collection<? extends NutritionOrderTexture>) newValue);
       return;
     case FhirPackage.NUTRITION_ORDER_ORAL_DIET__FLUID_CONSISTENCY_TYPE:
       getFluidConsistencyType().clear();
       getFluidConsistencyType().addAll((Collection<? extends CodeableConcept>) newValue);
       return;
     case FhirPackage.NUTRITION_ORDER_ORAL_DIET__INSTRUCTION:
       setInstruction((org.hl7.fhir.String) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case FhirPackage.VALUE_SET_CONCEPT__CODE:
       setCode((Code) newValue);
       return;
     case FhirPackage.VALUE_SET_CONCEPT__ABSTRACT:
       setAbstract((org.hl7.fhir.Boolean) newValue);
       return;
     case FhirPackage.VALUE_SET_CONCEPT__DISPLAY:
       setDisplay((org.hl7.fhir.String) newValue);
       return;
     case FhirPackage.VALUE_SET_CONCEPT__DEFINITION:
       setDefinition((org.hl7.fhir.String) newValue);
       return;
     case FhirPackage.VALUE_SET_CONCEPT__DESIGNATION:
       getDesignation().clear();
       getDesignation().addAll((Collection<? extends ValueSetDesignation>) newValue);
       return;
     case FhirPackage.VALUE_SET_CONCEPT__CONCEPT:
       getConcept().clear();
       getConcept().addAll((Collection<? extends ValueSetConcept>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case FhirPackage.CONTRACT_ACTOR__ENTITY:
       setEntity((Reference) null);
       return;
     case FhirPackage.CONTRACT_ACTOR__ROLE:
       getRole().clear();
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case FhirPackage.CLAIM_RESPONSE_SUB_DETAIL__SEQUENCE_LINK_ID:
       setSequenceLinkId((PositiveInt) null);
       return;
     case FhirPackage.CLAIM_RESPONSE_SUB_DETAIL__ADJUDICATION:
       getAdjudication().clear();
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case FhirPackage.CLAIM_RESPONSE_SUB_DETAIL__SEQUENCE_LINK_ID:
       setSequenceLinkId((PositiveInt) newValue);
       return;
     case FhirPackage.CLAIM_RESPONSE_SUB_DETAIL__ADJUDICATION:
       getAdjudication().clear();
       getAdjudication().addAll((Collection<? extends ClaimResponseAdjudication2>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case FhirPackage.CONTRACT_ACTOR__ENTITY:
       setEntity((Reference) newValue);
       return;
     case FhirPackage.CONTRACT_ACTOR__ROLE:
       getRole().clear();
       getRole().addAll((Collection<? extends CodeableConcept>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case FhirPackage.TEST_SCRIPT_OPERATION__TYPE:
       setType((Coding) newValue);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__RESOURCE:
       setResource((Code) newValue);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__LABEL:
       setLabel((org.hl7.fhir.String) newValue);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__DESCRIPTION:
       setDescription((org.hl7.fhir.String) newValue);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__ACCEPT:
       setAccept((ContentType) newValue);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__CONTENT_TYPE:
       setContentType((ContentType) newValue);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__DESTINATION:
       setDestination((org.hl7.fhir.Integer) newValue);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__ENCODE_REQUEST_URL:
       setEncodeRequestUrl((org.hl7.fhir.Boolean) newValue);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__PARAMS:
       setParams((org.hl7.fhir.String) newValue);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__REQUEST_HEADER:
       getRequestHeader().clear();
       getRequestHeader().addAll((Collection<? extends TestScriptRequestHeader>) newValue);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__RESPONSE_ID:
       setResponseId((Id) newValue);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__SOURCE_ID:
       setSourceId((Id) newValue);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__TARGET_ID:
       setTargetId((Id) newValue);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__URL:
       setUrl((org.hl7.fhir.String) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case FhirPackage.CLAIM_RESPONSE_ADJUDICATION3__CODE:
       setCode((Coding) null);
       return;
     case FhirPackage.CLAIM_RESPONSE_ADJUDICATION3__AMOUNT:
       setAmount((Money) null);
       return;
     case FhirPackage.CLAIM_RESPONSE_ADJUDICATION3__VALUE:
       setValue((Decimal) null);
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case FhirPackage.CLAIM_RESPONSE_NOTE__NUMBER:
       setNumber((PositiveInt) null);
       return;
     case FhirPackage.CLAIM_RESPONSE_NOTE__TYPE:
       setType((Coding) null);
       return;
     case FhirPackage.CLAIM_RESPONSE_NOTE__TEXT:
       setText((org.hl7.fhir.String) null);
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case FhirPackage.EPISODE_OF_CARE_CARE_TEAM__ROLE:
       getRole().clear();
       return;
     case FhirPackage.EPISODE_OF_CARE_CARE_TEAM__PERIOD:
       setPeriod((Period) null);
       return;
     case FhirPackage.EPISODE_OF_CARE_CARE_TEAM__MEMBER:
       setMember((Reference) null);
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case FhirPackage.TEST_SCRIPT_OPERATION__TYPE:
       setType((Coding) null);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__RESOURCE:
       setResource((Code) null);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__LABEL:
       setLabel((org.hl7.fhir.String) null);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__DESCRIPTION:
       setDescription((org.hl7.fhir.String) null);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__ACCEPT:
       setAccept((ContentType) null);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__CONTENT_TYPE:
       setContentType((ContentType) null);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__DESTINATION:
       setDestination((org.hl7.fhir.Integer) null);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__ENCODE_REQUEST_URL:
       setEncodeRequestUrl((org.hl7.fhir.Boolean) null);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__PARAMS:
       setParams((org.hl7.fhir.String) null);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__REQUEST_HEADER:
       getRequestHeader().clear();
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__RESPONSE_ID:
       setResponseId((Id) null);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__SOURCE_ID:
       setSourceId((Id) null);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__TARGET_ID:
       setTargetId((Id) null);
       return;
     case FhirPackage.TEST_SCRIPT_OPERATION__URL:
       setUrl((org.hl7.fhir.String) null);
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case FhirPackage.EPISODE_OF_CARE_CARE_TEAM__ROLE:
       getRole().clear();
       getRole().addAll((Collection<? extends CodeableConcept>) newValue);
       return;
     case FhirPackage.EPISODE_OF_CARE_CARE_TEAM__PERIOD:
       setPeriod((Period) newValue);
       return;
     case FhirPackage.EPISODE_OF_CARE_CARE_TEAM__MEMBER:
       setMember((Reference) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case FhirPackage.VALUE_SET_CODE_SYSTEM__SYSTEM:
       setSystem((Uri) null);
       return;
     case FhirPackage.VALUE_SET_CODE_SYSTEM__VERSION:
       setVersion((org.hl7.fhir.String) null);
       return;
     case FhirPackage.VALUE_SET_CODE_SYSTEM__CASE_SENSITIVE:
       setCaseSensitive((org.hl7.fhir.Boolean) null);
       return;
     case FhirPackage.VALUE_SET_CODE_SYSTEM__CONCEPT:
       getConcept().clear();
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__ROLE:
       getRole().clear();
       getRole().addAll((Collection<? extends CodeableConcept>) newValue);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__REFERENCE:
       setReference((Reference) newValue);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__USER_ID:
       setUserId((Identifier) newValue);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__ALT_ID:
       setAltId((org.hl7.fhir.String) newValue);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__NAME:
       setName((org.hl7.fhir.String) newValue);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__REQUESTOR:
       setRequestor((org.hl7.fhir.Boolean) newValue);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__LOCATION:
       setLocation((Reference) newValue);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__POLICY:
       getPolicy().clear();
       getPolicy().addAll((Collection<? extends Uri>) newValue);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__MEDIA:
       setMedia((Coding) newValue);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__NETWORK:
       setNetwork((AuditEventNetwork) newValue);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__PURPOSE_OF_USE:
       getPurposeOfUse().clear();
       getPurposeOfUse().addAll((Collection<? extends Coding>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case FhirPackage.VALUE_SET_CODE_SYSTEM__SYSTEM:
       setSystem((Uri) newValue);
       return;
     case FhirPackage.VALUE_SET_CODE_SYSTEM__VERSION:
       setVersion((org.hl7.fhir.String) newValue);
       return;
     case FhirPackage.VALUE_SET_CODE_SYSTEM__CASE_SENSITIVE:
       setCaseSensitive((org.hl7.fhir.Boolean) newValue);
       return;
     case FhirPackage.VALUE_SET_CODE_SYSTEM__CONCEPT:
       getConcept().clear();
       getConcept().addAll((Collection<? extends ValueSetConcept>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case FhirPackage.NUTRITION_ORDER_SUPPLEMENT__TYPE:
       setType((CodeableConcept) null);
       return;
     case FhirPackage.NUTRITION_ORDER_SUPPLEMENT__PRODUCT_NAME:
       setProductName((org.hl7.fhir.String) null);
       return;
     case FhirPackage.NUTRITION_ORDER_SUPPLEMENT__SCHEDULE:
       getSchedule().clear();
       return;
     case FhirPackage.NUTRITION_ORDER_SUPPLEMENT__QUANTITY:
       setQuantity((SimpleQuantity) null);
       return;
     case FhirPackage.NUTRITION_ORDER_SUPPLEMENT__INSTRUCTION:
       setInstruction((org.hl7.fhir.String) null);
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__ROLE:
       getRole().clear();
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__REFERENCE:
       setReference((Reference) null);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__USER_ID:
       setUserId((Identifier) null);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__ALT_ID:
       setAltId((org.hl7.fhir.String) null);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__NAME:
       setName((org.hl7.fhir.String) null);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__REQUESTOR:
       setRequestor((org.hl7.fhir.Boolean) null);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__LOCATION:
       setLocation((Reference) null);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__POLICY:
       getPolicy().clear();
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__MEDIA:
       setMedia((Coding) null);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__NETWORK:
       setNetwork((AuditEventNetwork) null);
       return;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__PURPOSE_OF_USE:
       getPurposeOfUse().clear();
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case FhirPackage.NUTRITION_ORDER_SUPPLEMENT__TYPE:
       setType((CodeableConcept) newValue);
       return;
     case FhirPackage.NUTRITION_ORDER_SUPPLEMENT__PRODUCT_NAME:
       setProductName((org.hl7.fhir.String) newValue);
       return;
     case FhirPackage.NUTRITION_ORDER_SUPPLEMENT__SCHEDULE:
       getSchedule().clear();
       getSchedule().addAll((Collection<? extends Timing>) newValue);
       return;
     case FhirPackage.NUTRITION_ORDER_SUPPLEMENT__QUANTITY:
       setQuantity((SimpleQuantity) newValue);
       return;
     case FhirPackage.NUTRITION_ORDER_SUPPLEMENT__INSTRUCTION:
       setInstruction((org.hl7.fhir.String) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case FhirPackage.NUTRITION_ORDER_ORAL_DIET__TYPE:
       getType().clear();
       return;
     case FhirPackage.NUTRITION_ORDER_ORAL_DIET__SCHEDULE:
       getSchedule().clear();
       return;
     case FhirPackage.NUTRITION_ORDER_ORAL_DIET__NUTRIENT:
       getNutrient().clear();
       return;
     case FhirPackage.NUTRITION_ORDER_ORAL_DIET__TEXTURE:
       getTexture().clear();
       return;
     case FhirPackage.NUTRITION_ORDER_ORAL_DIET__FLUID_CONSISTENCY_TYPE:
       getFluidConsistencyType().clear();
       return;
     case FhirPackage.NUTRITION_ORDER_ORAL_DIET__INSTRUCTION:
       setInstruction((org.hl7.fhir.String) null);
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case FhirPackage.VALUE_SET_CONCEPT__CODE:
       setCode((Code) null);
       return;
     case FhirPackage.VALUE_SET_CONCEPT__ABSTRACT:
       setAbstract((org.hl7.fhir.Boolean) null);
       return;
     case FhirPackage.VALUE_SET_CONCEPT__DISPLAY:
       setDisplay((org.hl7.fhir.String) null);
       return;
     case FhirPackage.VALUE_SET_CONCEPT__DEFINITION:
       setDefinition((org.hl7.fhir.String) null);
       return;
     case FhirPackage.VALUE_SET_CONCEPT__DESIGNATION:
       getDesignation().clear();
       return;
     case FhirPackage.VALUE_SET_CONCEPT__CONCEPT:
       getConcept().clear();
       return;
   }
   super.eUnset(featureID);
 }