/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static Instructions getInstructions(ImmunizationActivity immunizationActivity) { if (GET_INSTRUCTIONS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.IMMUNIZATION_ACTIVITY, ConsolPackage.Literals.IMMUNIZATION_ACTIVITY.getEAllOperations().get(89)); try { GET_INSTRUCTIONS__EOCL_QRY = helper.createQuery(GET_INSTRUCTIONS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_INSTRUCTIONS__EOCL_QRY); return (Instructions) query.evaluate(immunizationActivity); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static ImmunizationRefusalReason getImmunizationRefusalReason(ImmunizationActivity immunizationActivity) { if (GET_IMMUNIZATION_REFUSAL_REASON__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.IMMUNIZATION_ACTIVITY, ConsolPackage.Literals.IMMUNIZATION_ACTIVITY.getEAllOperations().get(92)); try { GET_IMMUNIZATION_REFUSAL_REASON__EOCL_QRY = helper.createQuery(GET_IMMUNIZATION_REFUSAL_REASON__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_IMMUNIZATION_REFUSAL_REASON__EOCL_QRY); return (ImmunizationRefusalReason) query.evaluate(immunizationActivity); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static ResultsSectionEntriesOptional getResultsSectionEntriesOptional(ConsultationNote consultationNote) { if (GET_RESULTS_SECTION_ENTRIES_OPTIONAL__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.CONSULTATION_NOTE, ConsolPackage.Literals.CONSULTATION_NOTE.getEAllOperations().get(348)); try { GET_RESULTS_SECTION_ENTRIES_OPTIONAL__EOCL_QRY = helper.createQuery(GET_RESULTS_SECTION_ENTRIES_OPTIONAL__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_RESULTS_SECTION_ENTRIES_OPTIONAL__EOCL_QRY); return (ResultsSectionEntriesOptional) query.evaluate(consultationNote); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static ProceduresSectionEntriesOptional getProceduresSectionEntriesOptional(ConsultationNote consultationNote) { if (GET_PROCEDURES_SECTION_ENTRIES_OPTIONAL__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.CONSULTATION_NOTE, ConsolPackage.Literals.CONSULTATION_NOTE.getEAllOperations().get(347)); try { GET_PROCEDURES_SECTION_ENTRIES_OPTIONAL__EOCL_QRY = helper.createQuery(GET_PROCEDURES_SECTION_ENTRIES_OPTIONAL__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_PROCEDURES_SECTION_ENTRIES_OPTIONAL__EOCL_QRY); return (ProceduresSectionEntriesOptional) query.evaluate(consultationNote); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static FamilyHistorySection getFamilyHistorySection(ConsultationNote consultationNote) { if (GET_FAMILY_HISTORY_SECTION__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.CONSULTATION_NOTE, ConsolPackage.Literals.CONSULTATION_NOTE.getEAllOperations().get(341)); try { GET_FAMILY_HISTORY_SECTION__EOCL_QRY = helper.createQuery(GET_FAMILY_HISTORY_SECTION__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_FAMILY_HISTORY_SECTION__EOCL_QRY); return (FamilyHistorySection) query.evaluate(consultationNote); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static ReasonForVisitSection getReasonForVisitSection(ConsultationNote consultationNote) { if (GET_REASON_FOR_VISIT_SECTION__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.CONSULTATION_NOTE, ConsolPackage.Literals.CONSULTATION_NOTE.getEAllOperations().get(337)); try { GET_REASON_FOR_VISIT_SECTION__EOCL_QRY = helper.createQuery(GET_REASON_FOR_VISIT_SECTION__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_REASON_FOR_VISIT_SECTION__EOCL_QRY); return (ReasonForVisitSection) query.evaluate(consultationNote); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static ProblemEntry getProblemEntry(EarsNoseMouthThroatSection earsNoseMouthThroatSection) { if (GET_PROBLEM_ENTRY__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( IHEPackage.Literals.EARS_NOSE_MOUTH_THROAT_SECTION, IHEPackage.Literals.EARS_NOSE_MOUTH_THROAT_SECTION.getEAllOperations().get(58)); try { GET_PROBLEM_ENTRY__EOCL_QRY = helper.createQuery(GET_PROBLEM_ENTRY__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_PROBLEM_ENTRY__EOCL_QRY); return (ProblemEntry) query.evaluate(earsNoseMouthThroatSection); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static ProblemSection getProblemSection(ContinuityOfCareDocument continuityOfCareDocument) { if (GET_PROBLEM_SECTION__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.CONTINUITY_OF_CARE_DOCUMENT, ConsolPackage.Literals.CONTINUITY_OF_CARE_DOCUMENT.getEAllOperations().get(326)); try { GET_PROBLEM_SECTION__EOCL_QRY = helper.createQuery(GET_PROBLEM_SECTION__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_PROBLEM_SECTION__EOCL_QRY); return (ProblemSection) query.evaluate(continuityOfCareDocument); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static FamilyHistorySection getFamilyHistorySection(ContinuityOfCareDocument continuityOfCareDocument) { if (GET_FAMILY_HISTORY_SECTION__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.CONTINUITY_OF_CARE_DOCUMENT, ConsolPackage.Literals.CONTINUITY_OF_CARE_DOCUMENT.getEAllOperations().get(331)); try { GET_FAMILY_HISTORY_SECTION__EOCL_QRY = helper.createQuery(GET_FAMILY_HISTORY_SECTION__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_FAMILY_HISTORY_SECTION__EOCL_QRY); return (FamilyHistorySection) query.evaluate(continuityOfCareDocument); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static MedicationsSection getMedicationsSection(ContinuityOfCareDocument continuityOfCareDocument) { if (GET_MEDICATIONS_SECTION__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.CONTINUITY_OF_CARE_DOCUMENT, ConsolPackage.Literals.CONTINUITY_OF_CARE_DOCUMENT.getEAllOperations().get(325)); try { GET_MEDICATIONS_SECTION__EOCL_QRY = helper.createQuery(GET_MEDICATIONS_SECTION__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_MEDICATIONS_SECTION__EOCL_QRY); return (MedicationsSection) query.evaluate(continuityOfCareDocument); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static FamilyHistorySection getFamilyHistorySection(ConsultationNote consultationNote) { if (GET_FAMILY_HISTORY_SECTION__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( CDTPackage.Literals.CONSULTATION_NOTE, CDTPackage.Literals.CONSULTATION_NOTE.getEAllOperations().get(93)); try { GET_FAMILY_HISTORY_SECTION__EOCL_QRY = helper.createQuery(GET_FAMILY_HISTORY_SECTION__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_FAMILY_HISTORY_SECTION__EOCL_QRY); return (FamilyHistorySection) query.evaluate(consultationNote); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static SocialHistorySection getSocialHistorySection(ConsultationNote consultationNote) { if (GET_SOCIAL_HISTORY_SECTION__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( CDTPackage.Literals.CONSULTATION_NOTE, CDTPackage.Literals.CONSULTATION_NOTE.getEAllOperations().get(92)); try { GET_SOCIAL_HISTORY_SECTION__EOCL_QRY = helper.createQuery(GET_SOCIAL_HISTORY_SECTION__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_SOCIAL_HISTORY_SECTION__EOCL_QRY); return (SocialHistorySection) query.evaluate(consultationNote); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static ReasonForVisitSection getReasonForVisitSection(DischargeSummary dischargeSummary) { if (GET_REASON_FOR_VISIT_SECTION__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.DISCHARGE_SUMMARY, ConsolPackage.Literals.DISCHARGE_SUMMARY.getEAllOperations().get(350)); try { GET_REASON_FOR_VISIT_SECTION__EOCL_QRY = helper.createQuery(GET_REASON_FOR_VISIT_SECTION__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_REASON_FOR_VISIT_SECTION__EOCL_QRY); return (ReasonForVisitSection) query.evaluate(dischargeSummary); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static ProblemSectionEntriesOptional getProblemSectionEntriesOptional(DischargeSummary dischargeSummary) { if (GET_PROBLEM_SECTION_ENTRIES_OPTIONAL__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.DISCHARGE_SUMMARY, ConsolPackage.Literals.DISCHARGE_SUMMARY.getEAllOperations().get(348)); try { GET_PROBLEM_SECTION_ENTRIES_OPTIONAL__EOCL_QRY = helper.createQuery(GET_PROBLEM_SECTION_ENTRIES_OPTIONAL__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_PROBLEM_SECTION_ENTRIES_OPTIONAL__EOCL_QRY); return (ProblemSectionEntriesOptional) query.evaluate(dischargeSummary); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static HospitalDischargePhysicalSection getHospitalDischargePhysicalSection(DischargeSummary dischargeSummary) { if (GET_HOSPITAL_DISCHARGE_PHYSICAL_SECTION__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.DISCHARGE_SUMMARY, ConsolPackage.Literals.DISCHARGE_SUMMARY.getEAllOperations().get(345)); try { GET_HOSPITAL_DISCHARGE_PHYSICAL_SECTION__EOCL_QRY = helper.createQuery(GET_HOSPITAL_DISCHARGE_PHYSICAL_SECTION__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_HOSPITAL_DISCHARGE_PHYSICAL_SECTION__EOCL_QRY); return (HospitalDischargePhysicalSection) query.evaluate(dischargeSummary); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static ReviewOfSystemsSection getReviewOfSystemsSection(DischargeSummary dischargeSummary) { if (GET_REVIEW_OF_SYSTEMS_SECTION__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.DISCHARGE_SUMMARY, ConsolPackage.Literals.DISCHARGE_SUMMARY.getEAllOperations().get(351)); try { GET_REVIEW_OF_SYSTEMS_SECTION__EOCL_QRY = helper.createQuery(GET_REVIEW_OF_SYSTEMS_SECTION__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_REVIEW_OF_SYSTEMS_SECTION__EOCL_QRY); return (ReviewOfSystemsSection) query.evaluate(dischargeSummary); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static PlanOfCareSection getPlanOfCareSection(DischargeSummary dischargeSummary) { if (GET_PLAN_OF_CARE_SECTION__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.DISCHARGE_SUMMARY, ConsolPackage.Literals.DISCHARGE_SUMMARY.getEAllOperations().get(338)); try { GET_PLAN_OF_CARE_SECTION__EOCL_QRY = helper.createQuery(GET_PLAN_OF_CARE_SECTION__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_PLAN_OF_CARE_SECTION__EOCL_QRY); return (PlanOfCareSection) query.evaluate(dischargeSummary); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static HospitalCourseSection getHospitalCourseSection(DischargeSummary dischargeSummary) { if (GET_HOSPITAL_COURSE_SECTION__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.DISCHARGE_SUMMARY, ConsolPackage.Literals.DISCHARGE_SUMMARY.getEAllOperations().get(337)); try { GET_HOSPITAL_COURSE_SECTION__EOCL_QRY = helper.createQuery(GET_HOSPITAL_COURSE_SECTION__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_HOSPITAL_COURSE_SECTION__EOCL_QRY); return (HospitalCourseSection) query.evaluate(dischargeSummary); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static HistoryOfPresentIllnessSection getHistoryOfPresentIllnessSection(DischargeSummary dischargeSummary) { if (GET_HISTORY_OF_PRESENT_ILLNESS_SECTION__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.DISCHARGE_SUMMARY, ConsolPackage.Literals.DISCHARGE_SUMMARY.getEAllOperations().get(336)); try { GET_HISTORY_OF_PRESENT_ILLNESS_SECTION__EOCL_QRY = helper.createQuery(GET_HISTORY_OF_PRESENT_ILLNESS_SECTION__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_HISTORY_OF_PRESENT_ILLNESS_SECTION__EOCL_QRY); return (HistoryOfPresentIllnessSection) query.evaluate(dischargeSummary); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static FunctionalStatusSection getFunctionalStatusSection(DischargeSummary dischargeSummary) { if (GET_FUNCTIONAL_STATUS_SECTION__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.DISCHARGE_SUMMARY, ConsolPackage.Literals.DISCHARGE_SUMMARY.getEAllOperations().get(335)); try { GET_FUNCTIONAL_STATUS_SECTION__EOCL_QRY = helper.createQuery(GET_FUNCTIONAL_STATUS_SECTION__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_FUNCTIONAL_STATUS_SECTION__EOCL_QRY); return (FunctionalStatusSection) query.evaluate(dischargeSummary); }