/**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  * <!-- begin-model-doc -->
  * self.getObservations()->select(observation : cda::Observation | not
  * observation.oclIsUndefined() and
  * observation.oclIsKindOf(cocci::CoccidioidesImmunosuppressedMedicalConditionHistoryObservation)).oclAsType(cocci::CoccidioidesImmunosuppressedMedicalConditionHistoryObservation)
  *
  * @param coccidioidesPHCRClinicalInformationSection The receiving '<em><b>Coccidioides PHCR
  *     Clinical Information Section</b></em>' model object.
  *     <!-- end-model-doc -->
  * @generated
  */
 public static EList<CoccidioidesImmunosuppressedMedicalConditionHistoryObservation>
     getCoccidioidesImmunosuppressedMedicalConditionHistoryObservations(
         CoccidioidesPHCRClinicalInformationSection coccidioidesPHCRClinicalInformationSection) {
   if (GET_COCCIDIOIDES_IMMUNOSUPPRESSED_MEDICAL_CONDITION_HISTORY_OBSERVATIONS__EOCL_QRY
       == null) {
     OCL.Helper helper = EOCL_ENV.createOCLHelper();
     helper.setOperationContext(
         CocciPackage.Literals.COCCIDIOIDES_PHCR_CLINICAL_INFORMATION_SECTION,
         CocciPackage.Literals.COCCIDIOIDES_PHCR_CLINICAL_INFORMATION_SECTION
             .getEAllOperations()
             .get(72));
     try {
       GET_COCCIDIOIDES_IMMUNOSUPPRESSED_MEDICAL_CONDITION_HISTORY_OBSERVATIONS__EOCL_QRY =
           helper.createQuery(
               GET_COCCIDIOIDES_IMMUNOSUPPRESSED_MEDICAL_CONDITION_HISTORY_OBSERVATIONS__EOCL_EXP);
     } catch (ParserException pe) {
       throw new UnsupportedOperationException(pe.getLocalizedMessage());
     }
   }
   OCL.Query query =
       EOCL_ENV.createQuery(
           GET_COCCIDIOIDES_IMMUNOSUPPRESSED_MEDICAL_CONDITION_HISTORY_OBSERVATIONS__EOCL_QRY);
   @SuppressWarnings("unchecked")
   Collection<CoccidioidesImmunosuppressedMedicalConditionHistoryObservation> result =
       (Collection<CoccidioidesImmunosuppressedMedicalConditionHistoryObservation>)
           query.evaluate(coccidioidesPHCRClinicalInformationSection);
   return new BasicEList.UnmodifiableEList<
       CoccidioidesImmunosuppressedMedicalConditionHistoryObservation>(
       result.size(), result.toArray());
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  * <!-- begin-model-doc -->
  * self.getObservations()->select(observation : cda::Observation | not
  * observation.oclIsUndefined() and
  * observation.oclIsKindOf(cocci::CoccidioidesCaseObservation))->asSequence()->any(true).oclAsType(cocci::CoccidioidesCaseObservation)
  *
  * @param coccidioidesPHCRClinicalInformationSection The receiving '<em><b>Coccidioides PHCR
  *     Clinical Information Section</b></em>' model object.
  *     <!-- end-model-doc -->
  * @generated
  */
 public static CoccidioidesCaseObservation getCoccidioidesCaseObservation(
     CoccidioidesPHCRClinicalInformationSection coccidioidesPHCRClinicalInformationSection) {
   if (GET_COCCIDIOIDES_CASE_OBSERVATION__EOCL_QRY == null) {
     OCL.Helper helper = EOCL_ENV.createOCLHelper();
     helper.setOperationContext(
         CocciPackage.Literals.COCCIDIOIDES_PHCR_CLINICAL_INFORMATION_SECTION,
         CocciPackage.Literals.COCCIDIOIDES_PHCR_CLINICAL_INFORMATION_SECTION
             .getEAllOperations()
             .get(71));
     try {
       GET_COCCIDIOIDES_CASE_OBSERVATION__EOCL_QRY =
           helper.createQuery(GET_COCCIDIOIDES_CASE_OBSERVATION__EOCL_EXP);
     } catch (ParserException pe) {
       throw new UnsupportedOperationException(pe.getLocalizedMessage());
     }
   }
   OCL.Query query = EOCL_ENV.createQuery(GET_COCCIDIOIDES_CASE_OBSERVATION__EOCL_QRY);
   return (CoccidioidesCaseObservation) query.evaluate(coccidioidesPHCRClinicalInformationSection);
 }